shiori icon indicating copy to clipboard operation
shiori copied to clipboard

Dark theme toggle non-functional

Open IronPiston opened this issue 4 years ago • 3 comments

Upon installation, the webpage has the dark theme by default. Under settings, the dark theme toggle is unchecked. Toggling it and refreshing the webpage doesn't seem to enable the light theme.

IronPiston avatar May 24 '20 08:05 IronPiston

Are you on firefox by chance? this is the behavior for me as well. It might be the browser sending it's general dark theme preferences

evanrichter avatar Jun 03 '20 00:06 evanrichter

Both Firefox and my Chromium based browser on Android 10 only display the dark mode regardless of system-wide or browser dark theme toggles.

IronPiston avatar Jun 19 '20 04:06 IronPiston

The "Use dark theme" setting only forces dark mode, AFAIK. If unchecked, Shiori will do what the browser tells it to.

I don't have an Android device to test this. How do other sites that support dark mode behave in the affected browsers?

deanishe avatar Aug 06 '20 21:08 deanishe

A quick fix would be to remove all prefers-color-scheme from the CSS, and use the toggle just as a Dark/Light theme If you want to keep the possibility to follow the computer preffered scheme, you could add a dropwodn, dark/light/system and change the css accordingly.

ragekit avatar May 03 '24 00:05 ragekit