Skip to content

docs: add pixel sun/moon toggle and full Storybook card coverage - #123

Merged
wangtai merged 4 commits into
mainfrom
docs/storybook-cards-and-sun-moon
Nov 17, 2026
Merged

wangtai merged 4 commits into
mainfrom
docs/storybook-cards-and-sun-moon

Conversation

@wangtai

@wangtai wangtai commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Adds the interactive pixel Sun/Moon dark-mode toggle to the homepage hero and brings Storybook up to date with:

  • Stories for all 14 @steerable/agent-ui/cards renderers
  • A dedicated Design Tokens reference page (--agent-* CSS variables and Tailwind v3/v4 preset setup)
  • Refreshed Introduction.mdx covering all 7 core components, 14 cards, state/transport helpers, and 3 hooks (with internal references removed)
  • WCAG AA contrast adjustments (-700 light-mode status/accent text) on card components
  • Matching ubuntu-22.04 Linux VRT baselines

Clicking the pixel sun in the hero toggles Material's slate dark theme, swaps to a pixel crescent moon with stars, and stays synchronized with the header palette toggle.

Signed-off-by: Wang Tai <i@wangtai.me>
…book

Refresh Introduction.mdx to cover all 7 components, 14 @steerable/agent-ui/cards renderers, state helpers, and hooks without internal product references. Add DesignTokens.mdx and stories for all 14 cards, and darken light-mode card status colors from -500/-600 to -700 for WCAG AA contrast.

Signed-off-by: Wang Tai <i@wangtai.me>
Generated via vrt-baselines.yml on ubuntu-22.04 so Storybook visual regression passes on CI.

Signed-off-by: Wang Tai <i@wangtai.me>
Use #4b5563 instead of #6b7280/#9ca3af for card muted-foreground fallbacks and -800 for tinted ResearchPlanCard status badges so every card passes axe color-contrast checks on light and muted surfaces.

Signed-off-by: Wang Tai <i@wangtai.me>
@wangtai
wangtai merged commit 2a336cd into main Nov 17, 2026
36 of 41 checks passed
@wangtai
wangtai deleted the docs/storybook-cards-and-sun-moon branch November 17, 2026 10:57
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