Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 676616

Summary: Suggestion: Dark theme for wiki
Product: Websites Reporter: Jakub Hrbek <werifgx>
Component: Tyrian layoutAssignee: 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
Since using light GUI on huge monitor makes me blind and is painfull i've decided to make a quick userscript for dark theme on Gentoo Wiki:

https://i.imgur.com/sTlQu40.png

Recommends making it into a reallity + i also think that it opens door to more design choices alike "Welcome to the gentoo wiki" on example.
Comment 1 Jakub Hrbek 2019-01-28 00:23:37 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.
Comment 2 Jakub Hrbek 2019-01-28 00:35:31 UTC
Full page screenshot: https://i.imgur.com/SmQptIX.png
Comment 3 D'juan McDonald (domhnall) 2019-07-11 07:13:27 UTC
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'.
Comment 4 Matthew Marchese Gentoo Infrastructure gentoo-dev 2020-11-01 19:21:13 UTC
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
Comment 5 Vitaly Zdanevich 2023-02-19 21:25:04 UTC
Can I help you with this implementation? This is important for me.
Comment 6 Joseph McElroy 2023-08-18 20:41:06 UTC
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.
Comment 7 Vitaly Zdanevich 2024-04-29 06:56:34 UTC
I created a repo for such userstyle, with my fixes - feel free to contribute https://gitlab.com/vitaly-zdanevich-styles/wiki-gentoo-org