Skip to content

feat(preview): redesign playground toolbar chrome + tidy sidebar headers#6

Merged
fmw666 merged 1 commit into
mainfrom
redesign-playground-chrome
Jun 4, 2026
Merged

feat(preview): redesign playground toolbar chrome + tidy sidebar headers#6
fmw666 merged 1 commit into
mainfrom
redesign-playground-chrome

Conversation

@fmw666

@fmw666 fmw666 commented Jun 4, 2026

Copy link
Copy Markdown
Owner

What

Redesign the playground's outer-shell chrome into one cohesive "control" visual language, matching the slate/ink brand system. The device mirror itself (the macOS/browser window + component gallery) is untouched — only the surrounding controls change.

Changes

  • playground.css — new eikon-tb-* toolbar vocabulary: pill buttons, segmented Size control, grouped route-navigator tray, spin-on-click Reload. All carry silk hover-lift, brand-accent active states, keyboard focus rings, and prefers-reduced-motion fallbacks.
  • Toolbar.tsx — replace ad-hoc inline styles (which had no hover/active/focus feedback) with the new classes. Files gains a folder icon + pressed state; Reload spins on click.
  • PanelContent.tsx — drop the sliders icon next to the Controls label; add a subtle header gradient + pulsing live dot.
  • PlaygroundPage.tsx — hide the Target section's title-row icon so it matches the params/prompt headings (text-only).

Verification

  • tsc -b --noEmit clean
  • eslint src --max-warnings 0 clean
  • Verified in the live preview (:3100): Controls/Target headings render icon-free; toolbar controls render with the new classes.

🤖 Generated with Claude Code

Unify the playground's outer-shell controls into one "control" visual
language (the device mirror itself is untouched):

- playground.css: add the eikon-tb-* toolbar vocabulary — pill buttons,
  segmented Size control, grouped route navigator tray, and a
  spin-on-click Reload, all with silk hover-lift, brand-accent active
  states, focus rings, and reduced-motion fallbacks.
- Toolbar.tsx: replace the ad-hoc inline styles (which had no hover /
  active / focus feedback) with the new classes; Files gains a folder
  icon + pressed state, Reload spins on click.
- PanelContent.tsx: drop the sliders icon next to the "Controls" label,
  add a subtle header gradient + pulsing live dot.
- PlaygroundPage.tsx: hide the Target section's title-row icon so it
  matches the params/prompt headings (text-only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fmw666 fmw666 merged commit 464f607 into main Jun 4, 2026
3 checks passed
@fmw666 fmw666 deleted the redesign-playground-chrome branch June 4, 2026 05:21
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