BookStack/resources/sass/_html.scss
Dan Brown 1ba5a1274c
Started work on supporting a dark-mode
- Most elements done, but still need to do editors, tables and final
pass.
- Toggled only by quick js check at the moment, checking via css media
query. Need to make into user-preference toggle.

For #1234
2020-04-10 22:38:29 +01:00

28 lines
427 B
SCSS

* {
box-sizing: border-box;
outline-color: var(--color-primary);
outline-width: 1px;
}
*:focus {
outline-style: dotted;
}
html {
height: 100%;
overflow-y: scroll;
background-color: #F2F2F2;
&.flexbox {
overflow-y: hidden;
}
&.dark-mode {
background-color: #111;
}
}
body {
font-size: $fs-m;
line-height: 1.6;
@include lightDark(color, #444, #AAA);
-webkit-font-smoothing: antialiased;
}