https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31327
David Cook <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from David Cook <[email protected]> --- I don't know the best way to do this from the CSS point of view for Koha (especially with the new staff interface), but I have some thoughts from the system point of view. Do we want dark mode to be available to all users or only authenticated users? I think apps like Github only allow you to customize the app's appearance if you're logged in. Then you can go to an "Appearance" option in your account to choose "dark mode". If it's only for authenticated users, we could save that option, and present that through something like the "userenv". In the templates, I imagine that we'd probably set a class or attribute at a high level. (Looking at Github, it seems that the "data-color-mode" attribute on the "html" root element lets them toggle between "dark" and "light". Obviously there's more that goes into it than that, but that's the initial hook.) -- The problem with a "dark" mode is that we already allow so much customization to Koha, so I wonder how many libraries would be able to actually customize and test a "light" and "dark" mode. We'd definitely want system preferences to control this feature. But it would be a great feature to have out of the box. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
