]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_variables.scss
Added examples, updated docs for image gallery api endpoints
[bookstack] / resources / sass / _variables.scss
index 3cb2dd4eddc5eda6ce1437fbd86ef96dc7c2ef5c..aac9223f9ff4e268155a1c9106758b4ae0524a82 100644 (file)
@@ -39,6 +39,7 @@ $fs-s: 12px;
 :root {
   --color-primary: #206ea7;
   --color-primary-light: rgba(32,110,167,0.15);
+  --color-link: #206ea7;
 
   --color-page: #206ea7;
   --color-page-draft: #7e50b1;
@@ -51,6 +52,10 @@ $fs-s: 12px;
 
 :root.dark-mode {
   --bg-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='19' height='19' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(143)'%3E%3Crect width='100%25' height='100%25' fill='rgba(42, 67, 101,0)'/%3E%3Cpath d='M-10 30h60v20h-60zM-10-10h60v20h-60' fill='rgba(26, 32, 44,0)'/%3E%3Cpath d='M-10 10h60v20h-60zM-10-30h60v20h-60z' fill='rgba(255, 255, 255,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E");
+  color-scheme: only dark;
+}
+:root:not(.dark-mode) {
+  color-scheme: only light;
 }
 
 $positive: #0f7d15;