Skip to content

docs: regenerate design preview from final tokens - #125

Merged
coderbuzz merged 1 commit into
mainfrom
docs/design-preview
Oct 16, 2026
Merged

coderbuzz merged 1 commit into
mainfrom
docs/design-preview

Conversation

@coderbuzz

Copy link
Copy Markdown
Owner
  • docs/design/gen.mjs now parses the token tables in docs/DESIGN-SYSTEM.md §3 (indigo/navy/teal) instead of hard-coded S0 values, and fails if a token is missing.
  • Deploy App in the mockup uses the primary button (.btn-brand removed). Titles/notes describe the three Appearance palettes.
  • Regenerated preview-warna.html and kontras.md: 38/38 contrast pairs pass per palette.

Evidence: grep -ci "#14b8a6\|#f26a21\|#f5a524\|#178a8c" docs/design/preview-warna.html = 0. Spot check: brand2 values (#6d28d9, #1e40af, #075985 …) match internal/http/static/app.css.

Docs only; no app code.

🤖 Generated with Claude Code

gen.mjs reads the final token tables instead of the S0 values; Deploy App uses the primary
button. Old brand2 hex (teal/orange/amber, teal chart) gone; contrast 38/38 per palette.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderbuzz
coderbuzz force-pushed the docs/design-preview branch from f521403 to 00b8bee Compare October 16, 2026 00:49
@coderbuzz
coderbuzz merged commit c3aa21e into main Oct 16, 2026
@coderbuzz
coderbuzz deleted the docs/design-preview branch October 16, 2026 00:49
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