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.
Arsalan Shah
Replied 12 months ago
Can you test it on OSSN 8.1 please? it would be appreciated if you update your OSSN please
Dominik L
Replied 2 years ago
I tested with Awesome version 8.0 (newest version) and it is not working
Rafael [redcrested.net]
Replied 2 years ago
New version released right now. Tested on OSSN 7.5 premium version. Soon I'll test on 7.6
Version 7.7 of Awesome Theme is working, Version 7.9 isn't, I just keep 7.7 for the moment
I fixed the Awesome errors. Let me know if doesn't work.
Dominik L
Replied 2 years ago
Version 7.7 of Awesome Theme is working, Version 7.9 isn't, I just keep 7.7 for the moment
Arsalan Shah
Replied 2 years ago
7.2 and 7.3/7.5 have no breaking changes. Maybe issue with your site. But ony Rafael can confirm
Dominik L
Replied 2 years ago
Maybe try restoring a previous version of your theme, that could work -> it worked for me and darkmode is working again using the previous version
Dominik L
Replied 2 years ago
If you use Darkmode, don't update to 7.5 of OSSN, it's not working with darkmode!!!
Rafael [redcrested.net]
Replied 2 years ago
@Ivailo
The last version works on the last version of OSSN
Ivailo Mladenov
Replied 2 years ago
is this commponen work with latest version?
Rafael [redcrested.net]
Replied 2 years ago
The problem was fixed in version 1.6