]> 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 de48c8ed1bbe8eac685067c399c583faafe0abdc..edaff0810456dafe5c8f0d8bf3afa67e4e44fc43 100644 (file)
@@ -1,6 +1,10 @@
+@use "mixins";
+@use "vars";
+
 * {
   box-sizing: border-box;
-  outline-color: #444444;
+  outline-color: var(--color-primary);
+  outline-width: 1px;
 }
 
 *:focus {
@@ -14,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;
+}