1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-28 05:54:53 +04:00
Files
tabler/scss/_dark.scss
T
2019-06-17 23:36:53 +02:00

42 lines
621 B
SCSS

// stylelint-disable declaration-no-important
@mixin dark-mode {
color: #afbdd1;
background: $dark;
.card,
.header,
.sidebar,
.sidenav,
.topnav,
.navbar,
.dropdown-menu,
.form-control,
.selectgroup-button {
background: rgba(0, 0, 0, .1);
color: inherit;
}
.text-default {
color: #afbdd1 !important;
}
.avatar-list-stacked .avatar {
box-shadow: 0 0 0 2px #2b3648;
}
.navbar-brand-logo {
filter: brightness(0) invert(1);
}
}
body.theme-dark {
@include dark-mode;
}
@media (prefers-color-scheme: dark) {
body.auto-theme-dark {
@include dark-mode;
}
}