Add dark mode overrides for Bootstrap table variants

This commit is contained in:
Anton Khorev 2024-04-14 17:47:44 +03:00
parent 183dd443b2
commit f7b76df473

View file

@ -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 {