1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 03:42:32 +01:00
BookStack/resources/sass/_html.scss
Dan Brown b0f4500c34 Added env option for setting dark mode default
Also allowed config-centralised default user settings for this change
and bought existing user-level view options into that default settings
system to be cleaner in code usage.

For #2081
2021-02-07 23:12:05 +00:00

32 lines
487 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;
height: 100%;
display: flex;
flex-direction: column;
}