Skip to content

Handle a 3-state dark mode toggle with a simple 2-state control - #11601

Open
westhouseit wants to merge 2 commits into
shadcn-ui:mainfrom
westhouseit:westhouseit-mode-toggle
Open

Handle a 3-state dark mode toggle with a simple 2-state control#11601
westhouseit wants to merge 2 commits into
shadcn-ui:mainfrom
westhouseit:westhouseit-mode-toggle

Conversation

@westhouseit

Copy link
Copy Markdown

Many thanks to @ramonclaudio for his working tri-state toggle which I've been using. From a recent article (https://lea.verou.me/blog/2026/dark-mode-toggles/) I decided to rework the UI to make it a simpler two-state toggle that still processes all 3-states in the background. Did I miss anything?

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

@westhouseit is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

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