Summary: | Suggestion: Dark theme for wiki | ||
---|---|---|---|
Product: | Websites | Reporter: | Jakub Hrbek <werifgx> |
Component: | Tyrian layout | Assignee: | Gentoo Website Team <www> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | arzano, fturco, gbug.35p6f, maffblaster, mateubruno, matoro_gentoo, ramage.lucas, zdanevich.vitaly |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Quick User Script source |
Description
Jakub Hrbek
2019-01-28 00:22:23 UTC
Created attachment 563044 [details]
Quick User Script source
Sharing source in case you want to try it for yourself.
Tested on Chromium using Stylus extension.
Warning: The script is horrible it's concept.
Full page screenshot: https://i.imgur.com/SmQptIX.png Comment on attachment 563044 [details] Quick User Script source See also: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme OBSD project website also supports the 'dark mode'. As commented on this wiki discussion: https://wiki.gentoo.org/wiki/Gentoo_Wiki:Feedback#cs-comment-269016 How about simply use a browser extension? Something such as: https://addons.mozilla.org/en-US/firefox/addon/darkreader/ Same thing exists for Chrome: https://chrome.google.com/webstore/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh Can I help you with this implementation? This is important for me. I use dark reader for this currently. There is only one area it fails, the notification drop-down box. If a notification is unread, the notification background becomes all white, and I have to either mark it as read or temporarily disable dark reader to be able to see it. Other than that, a wiki-native implementation of what dark reader does would be a great first step. I created a repo for such userstyle, with my fixes - feel free to contribute https://gitlab.com/vitaly-zdanevich-styles/wiki-gentoo-org |