]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_html.scss
Tests: Updated comment test to account for new editor usage
[bookstack] / resources / sass / _html.scss
index e4a8c14bb8faf0b75bc3abeb0e1ad0d10320eb46..edaff0810456dafe5c8f0d8bf3afa67e4e44fc43 100644 (file)
@@ -1,3 +1,6 @@
+@use "mixins";
+@use "vars";
+
 * {
   box-sizing: border-box;
   outline-color: var(--color-primary);
@@ -15,12 +18,17 @@ html {
   &.flexbox {
     overflow-y: hidden;
   }
+  &.dark-mode {
+    background-color: #111;
+  }
 }
 
 body {
-  font-size: $fs-m;
+  font-size: vars.$fs-m;
   line-height: 1.6;
-  color: #444;
+  @include mixins.lightDark(color, #444, #AAA);
   -webkit-font-smoothing: antialiased;
-  background-color: #F2F2F2;
-}
\ No newline at end of file
+  height: 100%;
+  display: flex;
+  flex-direction: column;
+}