]> BookStack Code Mirror - bookstack/blobdiff - resources/views/common/custom-styles.blade.php
Fixed OIDC Logout
[bookstack] / resources / views / common / custom-styles.blade.php
index d261110c7064d8a64c7f43ab160ed989960e05e9..bfdcc8512896821335cb0da6c28dc3982973224e 100644 (file)
@@ -1,13 +1,7 @@
-<style id="custom-styles"
-       data-color="{{ setting('app-color') }}"
-       data-color-dark="{{ setting('app-color-dark') }}"
-       data-color-light="{{ setting('app-color-light') }}"
-       data-color-light-dark="{{ setting('app-color-light-dark') }}">
-
-    @php
-        $settingSuffix = setting()->getForCurrentUser('dark-mode-enabled') ? '-dark' : '';
-    @endphp
-
+@php
+    $settingSuffix = setting()->getForCurrentUser('dark-mode-enabled') ? '-dark' : '';
+@endphp
+<style>
     :root {
         --color-primary: {{ setting('app-color' . $settingSuffix) }};
         --color-primary-light: {{ setting('app-color-light' . $settingSuffix) }};