Rafael [redcrested.net]
3 years ago
Give your users the convenience of switching to dark mode with just one click! The dark mode component integrates seamlessly with Awesome and GoBlue themes, adding a stylish switch to the top-right dropdown menu.
If you need to add some selector in your CSS file, duplicate your selector and add [data-theme="dark"] before the name of selector. Here an example:
Light mode
body {
background-color: #ffffff;
}
Dark mode
[data-theme="dark"] body {
background-color: #eaeaea;
}
Awesome theme

GoBlue theme (beta)

On Red Crested OSSN Sandbox it's possible to see the component in action. Use demouser as login and 123456789 as password.
The component was tested in OSSN from 6.4 to 7.2 versions using Awesome and GoBlue themes. Older versions or different components may require adjustments.
I am selling this component for US$29.00 through the Buy me a coffee website. To purchase, visit https://www.buymeacoffee.com/redcrested/e/122267 or click on the button
Send email to [email protected].
Go to Red Crested License to read the last version of our terms.
This component use the Dark Mode Switch under MIT license.
Dominik L
Replied 2 years ago
hello, not working on ossn 7.2 with awesome theme :(
Rafael [redcrested.net]
Replied 3 years ago
I'd like to submit more free components, but spontaneous donations haven't brought the result I expected. Who knows, maybe I'll try again soon.
Melo lobo
Replied 3 years ago
We miss your free components Mr Rafael ;)