Theme change is not saved #1849

Closed
opened 2026-03-22 13:41:25 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @JBMEIZO on GitHub (Feb 16, 2023).

Description

As soon as I change the color scheme from light to dark under the settings for my user, the color scheme changes as desired and the entire frontend is displayed dark.
After I logout and reload the page in my browser the color scheme adjustment is back to the old state. The settings in the profile regarding the color scheme are not saved.

Vikunja Frontend Version

0.20.3

Vikunja API Version

0.20.2

Browser and version

Brave: Version 1.48.164 Chromium: 110.0.5481.100

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @JBMEIZO on GitHub (Feb 16, 2023). ### Description As soon as I change the color scheme from light to dark under the settings for my user, the color scheme changes as desired and the entire frontend is displayed dark. After I logout and reload the page in my browser the color scheme adjustment is back to the old state. The settings in the profile regarding the color scheme are not saved. ### Vikunja Frontend Version 0.20.3 ### Vikunja API Version 0.20.2 ### Browser and version Brave: Version 1.48.164 Chromium: 110.0.5481.100 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Feb 20, 2023):

The color scheme is not persisted on the server. That's a problem we want to solve with a general approach, not only for the color scheme.

See also https://kolaente.dev/vikunja/frontend/issues/2247

@kolaente commented on GitHub (Feb 20, 2023): The color scheme is not persisted on the server. That's a problem we want to solve with a general approach, not only for the color scheme. See also https://kolaente.dev/vikunja/frontend/issues/2247
Author
Owner

@vinaykapadia commented on GitHub (Apr 29, 2023):

At a minimum, just for now, is there a way to have the default be dark mode? Users can change it if they want, just like they can now. But all my users want dark any way.

@vinaykapadia commented on GitHub (Apr 29, 2023): At a minimum, just for now, is there a way to have the default be dark mode? Users can change it if they want, just like they can now. But all my users want dark any way.
Author
Owner

@kolaente commented on GitHub (May 2, 2023):

Right now there's no way to make dark mode a default. The theme settings respects the system's preference for dark mode though, so if your users all want dark mode they should set it in their browser's settings accordingly.

@kolaente commented on GitHub (May 2, 2023): Right now there's no way to make dark mode a default. The theme settings respects the system's preference for dark mode though, so if your users all want dark mode they should set it in their browser's settings accordingly.
Author
Owner

@jamescochran commented on GitHub (Sep 21, 2023):

Sorry to beat a dead horse here but I was trying to figure this out and found this thread. My system (macOS 11) as well as browser (Firefox 117.0.1) are both set to dark mode yet Vikunja switches to light mode all the time. Should I bother making a new issue for that or just wait until Vikunja is updated to store this server side?

@jamescochran commented on GitHub (Sep 21, 2023): Sorry to beat a dead horse here but I was trying to figure this out and found this thread. My system (macOS 11) as well as browser (Firefox 117.0.1) are both set to dark mode yet Vikunja switches to light mode all the time. Should I bother making a new issue for that or just wait until Vikunja is updated to store this server side?
Author
Owner

@kolaente commented on GitHub (Sep 25, 2023):

@jamescochran which version are you using? Can you reproduce this on try?

@kolaente commented on GitHub (Sep 25, 2023): @jamescochran which version are you using? Can you reproduce this on [try](https://try.vikunja.io)?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1849