Skip to content

feat: dark/light toggle on every gallery card and preview, light toke… - #18

Merged
acaspx merged 1 commit into
mainfrom
feat/theme-toggle-enforcement
Aug 1, 2026
Merged

feat: dark/light toggle on every gallery card and preview, light toke…#18
acaspx merged 1 commit into
mainfrom
feat/theme-toggle-enforcement

Conversation

@acaspx

@acaspx acaspx commented Aug 1, 2026

Copy link
Copy Markdown
Owner

…ns, guarantee tests in CI, v0.1.0 changelog

What

Why

Definition of done (components only)

  • Single-file registry component (React + Tailwind + Motion only)
  • Interactive demo showing every state
  • Doc page (intro, when to use, behavior, usage)
  • Registered in lib/nav.ts and scripts/build-registry.mjs
  • Header comment cites the principles applied
  • npm run build passes clean

Principle check

  • State is never communicated by color alone
  • Failures keep their inputs visible
  • Nothing irreversible happens without consent
  • Any confidence display uses bands, not decimals

…ns, guarantee tests in CI, v0.1.0 changelog
@acaspx
acaspx merged commit 5f1d5eb into main Aug 1, 2026
1 check passed
@acaspx
acaspx deleted the feat/theme-toggle-enforcement branch August 1, 2026 03:47
@acaspx
acaspx restored the feat/theme-toggle-enforcement branch August 1, 2026 03:48
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