]> BookStack Code Mirror - bookstack/blobdiff - resources/views/partials/custom-styles.blade.php
Fixes #354, Adds the spellchecker option
[bookstack] / resources / views / partials / custom-styles.blade.php
index bf7dde1d4a34de2344ee1a32d49ba6b5101e166a..62bcc881fc3206f005f3bdad614cdf87e4235aa1 100644 (file)
@@ -1,4 +1,4 @@
-<style>
+<style id="custom-styles" data-color="{{ setting('app-color') }}" data-color-light="{{ setting('app-color-light') }}">
     header, #back-to-top, .primary-background {
         background-color: {{ setting('app-color') }} !important;
     }
@@ -14,7 +14,7 @@
     .nav-tabs a.selected, .nav-tabs .tab-item.selected {
         border-bottom-color: {{ setting('app-color') }};
     }
-    p.primary:hover, p .primary:hover, span.primary:hover, .text-primary:hover, a, a:hover, a:focus, .text-button, .text-button:hover, .text-button:focus {
+    .text-primary, p.primary, p .primary, span.primary:hover, .text-primary:hover, a, a:hover, a:focus, .text-button, .text-button:hover, .text-button:focus {
         color: {{ setting('app-color') }};
     }
 </style>
\ No newline at end of file