Roundcube Community Forum

 

Elastic skin defaults to 'dark' mode

Started by booshlinux, January 02, 2025, 03:05:53 PM

Previous topic - Next topic

booshlinux

Hello,

I'm using Roundcube 1.5.9 LTS, and I noticed that the Elastic skin defaults to the dark mode on initial login. I haven't found anywhere to change this to default to 'light', so I wrote a plugin so set a cookie "colorMode => 'light'" if it does not exist. This seems to work just fine, however I'm curious if I'm missing something else. Is this option configurable on this LTS version? If so, how do I configure it?

Thanks.

SKaero

The default color mode is set by the browsers "prefers-color-scheme" value. The "prefers-color-scheme" can typically be set in the browser or in OS. The idea is if the user has selected that they want dark mode on the computer or browser Roundcube will respect that and show that version.

booshlinux

SKaero,

Thanks for the response. This makes much more sense now.