One click per tab
Click the toolbar icon and the tab switches between light and dark, always starting from the design you are currently looking at.
Light or dark per tab – in the website’s real design.
Chrome extension for light and dark mode
Any tab light or dark with one click – in the website’s real design
Light/Dark Switch switches a tab to light or dark with one click. The result is the same as changing the appearance in your operating system or browser – but only for this one tab.
The extension does not invert colours or lay a filter over the page. It shows the light or dark design the website itself provides, with the colours, images and logos its designers intended.
Many “dark mode” extensions invert a page’s colours or recalculate them. That is quick, but it causes typical problems.
Photos and background images look like negatives, logos and brand colours no longer match, contrast looks dull or restless – because the page was never designed for those colours.
Modern websites do not need that. They often already have two fully designed variants, a light one and a dark one. Which one is shown is decided by the browser setting “prefers-color-scheme”, which usually follows the operating system. Light/Dark Switch changes exactly this setting for the selected tab. If the site has a different background image for dark mode, say a night sky instead of a daytime picture, that image appears – not an inverted daytime picture.
One-click operation – and support for all common techniques websites use to switch between light and dark.
Click the toolbar icon and the tab switches between light and dark, always starting from the design you are currently looking at.
Open a page light in one tab and dark in another, for example to compare both variants. Your choice survives reloads and further browsing.
Use the system setting, force light or force dark. The icon shows the state: half light and half dark, sun or moon.
Alt+Shift+D toggles. You can change it under chrome://extensions/shortcuts.
@media (prefers-color-scheme) is switched, also nested in @supports, @layer, @container or loaded via @import – and in stylesheets from other domains.
<picture> elements with sources for light and dark load the image the website provides for it.
Form fields, scrollbars and browser default colours adapt, as long as the website supports both schemes.
Sites that switch via window.matchMedia receive the chosen mode and are notified immediately when you switch.
iframes in the same tab are switched as well.
On a website without a dark mode of its own, nothing happens – on purpose.
Light/Dark Switch does not invent a design. The extension only changes the “prefers-color-scheme” setting for the tab, the same setting your operating system usually provides. If a website has no dark design, it has nothing to answer to that setting and stays as it is.
That is the difference from extensions that invert or recalculate colours: there every page turns dark, but photos look like negatives, logos no longer match and contrast becomes dull. With Light/Dark Switch there are no discoloured pages and no broken images. So you are not left guessing, a note in the icon’s tooltip tells you when a page has no dark mode.
If a website has its own light/dark switch and a choice is stored there, that choice takes priority.
Many websites follow the system setting at first and offer a switch of their own on top. Whoever uses it makes a deliberate choice for exactly that website, and the website remembers it. Light/Dark Switch respects that: the extension behaves like a changed system setting, and the website’s stored choice would take priority over the system setting as well.
If you want to switch again in such a case, use the website’s own switch or reset your choice there. After that, the page follows the setting Light/Dark Switch provides for the tab again.
Yes, your choice is kept for as long as the tab is open.
It applies on reload and while you browse on, including other websites in the same tab. Every tab is independent: you can open the same page light in one tab and dark in a second one and compare both variants side by side. Switching always starts from the design you are currently looking at.
When the tab is closed, the setting is deleted automatically, and the next tab starts from the system setting again. If you prefer something fixed, right-click the icon and choose “Force light for this tab”, “Force dark for this tab” or “Use the system setting for this tab”.
Light/Dark Switch stores a single piece of information: whether a tab should be shown light or dark.
It is kept locally in your browser’s session storage and deleted when the tab or the browser is closed. There is no data collection, no tracking, no advertising and no analytics. No data is sent to us or to third parties, and no code is loaded later – everything the extension runs is part of the reviewed package.
One detail for completeness: stylesheets from other domains, such as a CDN, are fetched again without cookies when necessary, so that their light/dark rules can be switched too. It is the same file your browser loads for the page anyway.
The “on all websites” permission is needed so the switch works on every website – from the very first moment the page loads.
A website asks very early whether the visitor prefers light or dark, often before the first stylesheet has loaded. If the extension is not active at that moment, the page sees the wrong setting, and you get a brief flash in the wrong design or a half-switched page. That is why Light/Dark Switch has to be present on every page from the start.
The extension does not read any content and stores nothing. It only adjusts the light/dark setting the website itself asks for.
The switch does not work on internal Chrome pages, in the Chrome Web Store and in a few very special cases.
On pages such as chrome://… and in the Chrome Web Store, extensions are not allowed to run at all – that is a rule of Chrome, not of Light/Dark Switch. Colour rules inside the shadow DOM of individual web components and media queries inside external SVG files are not switched either.
Tabs that were already open before the installation are included automatically on the first click, so you do not have to reload them. And websites without a dark mode of their own stay unchanged, because the extension does not invent a design.
Light/Dark Switch shows what a website brings with it. If the dark design is missing, we will create it for you – with images of its own instead of inverted colours, just like on this website.