Roundcube Community Forum
Themes & Styling => Theme Releases => Topic started by: caaguado on October 25, 2021, 04:18:59 PM
-
Hi there,
Thanks a lot for the re-work on the Elastic theme to bring to life its "Dark" variant in Roundcube 1.5.0.
However, I've been trying make it default to its "Light" variant, unsuccessfully.
Is there a way to configure it to "Light" by default (although users will obviously able later to switch it to the "Dark" variant?
Thanks!
-
Is your desktop or browser environment set to dark mode? Roundcube will default to light mode unless your browser prefers dark mode.
-
Hi John, actually... yes, it is set to dark mode. Yet, I'd like, if possible, to still be able to default Elastic to "Light", without having to depend on the user's computer.
Is there any way of doing it?
Thank you :)
-
You would need to create a custom skin to change that behaviour.
-
Thanks John, no problem with that, and at the same time it'd be great if I could get some orientation about what and how I'd need to tweak. Any ideas/advice? Thanks :)
-
Have a look at the color_mode_init() function in the Elastic skin's ui.js file
-
Frankly I have a similar issue.
Running Roundcube towards my webhost to check mail when I am not able to invoke my default local mailprogram.
I am a "user", thus I have zero access (that I know of) to my webhosts Roundcube configuration and this is driving me nuts because they don't seem to be able to help me either (i will link this thread to them though).
My desktop and browser is in dark mode, all my desktops are in dark mode, I set the Roundcube Elastic Theme to Light because the Dark is just not very appealing to me, and it endures the session, but whenever getting to it on another browser, another computer or just restarting the browser I am back at Elastic Dark mode. >:(
Please code a persistent setting or I will just have to go back to Squirrelmail or something else... how can you not have it? ???
-
@Rainz I'm not sure what this has to do with the original thread but hey the issue with persistence will be fixed in 1.5.1 see https://github.com/roundcube/roundcubemail/issues/8237
-
Have a look at the color_mode_init() function in the Elastic skin's ui.js file
Thanks a lot John, it was easy to spot ;-)