Skip to content

Site: tapping back to the system theme follows the system again - #28

Merged
triptu merged 1 commit into
mainfrom
site/theme-follow-os
Nov 1, 2026
Merged

triptu merged 1 commit into
mainfrom
site/theme-follow-os

Conversation

@triptu

@triptu triptu commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Before, any tap on the theme toggle saved a choice for good. Tapping light → dark → light on a light phone still saved "light", so the page ignored the phone switching to dark later. Now the site only remembers a choice that differs from the system's theme. Picking the system's own theme again forgets it.

Checked in Chrome: start light → tap (dark, saved) → tap (light, forgotten) → system to dark (page goes dark) → reload (still dark) → tap to light (saved, survives reload). No console errors.

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vikalp Ready Ready Preview Nov 1, 2026 5:46pm UTC

@triptu
triptu merged commit 8047d98 into main Nov 1, 2026
4 checks passed
@triptu
triptu deleted the site/theme-follow-os branch November 1, 2026 17:47

This branch was successfully deployed

1 active deployment
Preview — 0ff942a1 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant