Add dark mode overrides for Bootstrap table variants
This commit is contained in:
parent
183dd443b2
commit
f7b76df473
1 changed files with 15 additions and 0 deletions
|
@ -66,6 +66,21 @@ time[title] {
|
||||||
color: $blue;
|
color: $blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Bootstrap contextual table classes overrides in dark mode */
|
||||||
|
|
||||||
|
@include color-mode(dark) {
|
||||||
|
.table-primary {
|
||||||
|
--bs-table-bg: rgb(var(--bs-primary-rgb), .25);
|
||||||
|
}
|
||||||
|
.table-secondary {
|
||||||
|
--bs-table-bg: rgb(var(--bs-secondary-rgb), .25);
|
||||||
|
}
|
||||||
|
.table-primary, .table-secondary {
|
||||||
|
--bs-table-color: initial;
|
||||||
|
border-color: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Rules for the header */
|
/* Rules for the header */
|
||||||
|
|
||||||
#menu-icon {
|
#menu-icon {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue