No. 84 of 106
A light / dark switch that remembers the reader’s choice.
Day & night skystars, clouds, sun → moon
Classic switchicons inside the track
Sun ↔ moon iconthe sun morphs into a moon
Eclipsethe moon slides over the sun
Light · Dark · AutoAuto follows the device
Pill with texticon and words swap
Icon with a menuLight, Dark or Auto
The default mode. Switch any toggle above — or the floating moon button in the corner — and watch these cards.

Travel
Smart invert flips the page colors, then flips photos, videos and background pictures back — so they never look like film negatives.
Sections that are already dark — or strongly colored, like your brand buttons — are left exactly as they are.
The visitor’s choice is saved in their browser and applied before the page appears — so the next page opens dark straight away. Reload this page in dark mode to see it.
The floating button (bottom right) controls the same page as the toggles above. This page remembers your choice for this page only.
For sites and apps that already have dark styles. The toggle only adds a class and data-theme="dark" to the section; your CSS variables do the rest.
Tasklane is a fictional app.
The palette mode scans the section once: light backgrounds become your dark background and card colors, dark text becomes light text, light borders get softer. Code blocks that are already dark stay as they are.
Docs / Getting started
Send a request with your test key. You’ll get back a JSON list of your projects. Read more about authentication.
curl https://api.example.com/v1/projects \ -H "Authorization: Bearer test_key_123"
Example documentation page.
Photos look richer on a dark page. Here the eclipse toggle darkens only this gallery section — the photos themselves stay exactly as shot.




Ella Rae Photography is a fictional studio.
Set “Auto” to follow the clock: this section switches to dark from 7 p.m. to 7 a.m. in the reader’s time zone. Readers can still pick Light or Dark themselves.

More than 600 people turned out on Saturday morning.
BUSINESS
Downtown bakery opens a second shopWEATHER
Clear skies all weekendSPORTS
Riverside wins in overtimeThe Evening Ledger and its stories are fictional.
NewsOn