shiori
shiori copied to clipboard
Dark theme toggle non-functional
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.
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
Both Firefox and my Chromium based browser on Android 10 only display the dark mode regardless of system-wide or browser dark theme toggles.
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?
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.