Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark mode planned? #449

Open
krabina opened this issue Feb 17, 2025 · 3 comments
Open

Dark mode planned? #449

krabina opened this issue Feb 17, 2025 · 3 comments

Comments

@krabina
Copy link
Contributor

krabina commented Feb 17, 2025

Has anyone ever built a dark mode with chameleon or are there any plans to implement this?

Minerva and Vector skin have this feature and accoring to https://www.mediawiki.org/wiki/Manual:Dark_mode a generic solution has downsides.

@WouterRademaker
Copy link
Contributor

You can load an existing Bootstrap theme from somewhere like Bootswatch and tweak it somewhat.

@krabina
Copy link
Contributor Author

krabina commented Feb 17, 2025

and for the switching you would use https://www.mediawiki.org/wiki/Extension:DarkMode?

@malberts
Copy link
Contributor

If you just want a dark skin then Bootswatch is fine. However, if you want a dark mode toggle, like Vector 2022, then you'll still run into the downsides of a generic solution.

To get a dark mode toggle in Chameleon we will need to:

Bootstrap 5 has a built-in dark mode, and MW 1.43's style changes make it easier to implement a custom dark mode. Those two things would be the minimum requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants