1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

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
This commit is contained in:
Dan Brown
2020-04-10 22:38:29 +01:00
parent d4df18098f
commit 1ba5a1274c
16 changed files with 149 additions and 56 deletions

View File

@ -15,12 +15,14 @@ html {
&.flexbox {
overflow-y: hidden;
}
&.dark-mode {
background-color: #111;
}
}
body {
font-size: $fs-m;
line-height: 1.6;
color: #444;
@include lightDark(color, #444, #AAA);
-webkit-font-smoothing: antialiased;
background-color: #F2F2F2;
}