diff --git a/examples/theming.html b/examples/theming.html index 41fa1dd3..4a001b11 100644 --- a/examples/theming.html +++ b/examples/theming.html @@ -55,18 +55,6 @@ --lmcccm-btn-secondary-hover-text: var(--lmcccm-link-hover-text); --lmcccm-btn-secondary-active-text: var(--lmcccm-link-active-text); } - - #darkmode-icon-moon { - display: none; - } - - .c_darkmode #darkmode-icon-moon { - display: inline; - } - - .c_darkmode #darkmode-icon-sun { - display: none; - } @@ -138,8 +126,17 @@

Without Spirit Design System

Head over to README to get the full list of available CSS custom properties.

+
+ +
+ +
+
- Example theme: + Show source
:root {
     --lmcccm-font-family: 'Noto Sans', 'Roboto', 'Open Sans', system-ui, sans-serif;
     --lmcccm-base-font-size: 14px;
@@ -160,28 +157,24 @@ 

Without Spirit Design System

--lmcccm-btn-secondary-active-text: var(--lmcccm-link-active-text); }
-

- -

Dark Mode

- Default dark mode of Cookie Consent Manager is rather a dark version than a real dark mode + The default dark mode of Cookie Consent Manager is rather a dark version than a real dark mode, which is not yet supported by Spirit (if it was, it would apply less contrasting colors). But it's available for you to have more design choices to choose from. You can customize dark mode colors the same way as the default light color scheme.

-

- -

+
+ +
+ +
+