Library · Accessibility
Stack Overflow: dark mode
Dark theme by inverting colors.
stackoverflow.comFrom the Tweak the Web library
What it changes
- Restyles the page with its own look.
It applies as the page loads and keeps working as the page updates. Turn it off any time and the page returns to normal.
Technical details
{
"matches": [
"stackoverflow.com"
],
"actions": [
{
"type": "css",
"css": "html {filter:invert(.92) hue-rotate(180deg)!important;background:#fff!important;} img, picture, video, canvas, svg image, [style*=\"background-image\"] {filter:invert(1) hue-rotate(180deg)!important;}"
}
]
}Using Claude, ChatGPT or another assistant? Ask it: “Add the Stack Overflow: dark mode rule from Tweak the Web.”