Topic on Extension talk:MobileFrontend

80.128.153.197 (talkcontribs)

Is there a way to add a js-button which toggles an alternate skin style? Or an alternate Minerva Style? Do to general readability I didn't changed the default Minerva Skin but some of the users keep asking for a dark mode (and personally I'm also interested if this is possible).

84.147.32.17 (talkcontribs)

You might be able to implement it through custom JavaScript and CSS that adds the class “dark” to <body> when toggled.

Flounder ceo (talkcontribs)

Dark mode would be a great idea. One way to do this right away is to add custom css to MediaWiki:Mobile.css. Use the css from https://gist.github.com/AdamVig/5b1efdb3c71e3e0a0800a82a092503bc

It works somewhat but has some problems including slow load time where the screen flashes white with the default colors before it implements the extra css.


One could go in and monkey with the Minerva neue skin css directly, or create a second skin called Minerva neue dark, but all of this takes time and still leaves a problem where all users are locked into the dark mode even if they don't want it. I'm not sure why Mobilefrontend seems to lock users into one skin choice. ~~~~

Reply to "Dark Mode"