Tweak the Web

Library · Accessibility

WhatsApp Web: dark mode

Dark theme by inverting colors (photos keep their colors).

web.whatsapp.comFrom the Tweak the Web library

What it changes

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": [
    "web.whatsapp.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;}"
    }
  ]
}
More rules

Using Claude, ChatGPT or another assistant? Ask it: “Add the WhatsApp Web: dark mode rule from Tweak the Web.”