Skip to content

feat(ui): apply Claude Design Workspace shell polish#97

Merged
saagpatel merged 1 commit intomasterfrom
codex/feat/claude-design-reskin
Apr 22, 2026
Merged

feat(ui): apply Claude Design Workspace shell polish#97
saagpatel merged 1 commit intomasterfrom
codex/feat/claude-design-reskin

Conversation

@saagpatel
Copy link
Copy Markdown
Owner

Summary

Applies the targeted visual deltas from the Claude Design handoff bundle for the Workspace surface onto the existing revamp shell. Functional code and DraftTab layout are unchanged — this is a scoped visual pass informed by the bundle's README ("read the chat first"), transcript, and AssistSupport Workspace.html + its CSS imports.

The bundle's own tokens were "lifted from src/styles/revamp/tokens.css and theme.css," so the warm-graphite-plus-teal aesthetic was already in the codebase. This PR implements the genuine visual deltas on top.

Changes

  • Accent swap tokens[data-accent="teal|violet|amber"] + [data-density="compact|cozy|comfy"] in tokens.css; introduces --as-glow-1 / --as-glow-2 so shell radial-glow highlights swap with accent.
  • Shell backgroundtheme.css now pipes the two radial gradients through the glow tokens; accent changes propagate automatically.
  • Brand mark — teal→dark-teal linear gradient with inner-shadow + drop-shadow (was a flat accent-surface-1 swatch).
  • Active nav — 2px accent indicator bar via ::before matching the handoff treatment.
  • Topbar title — breadcrumb pattern (AssistSupport / <Tab>) replacing plain title; subtitle preserved.
  • RevampShell root emits data-accent="teal" data-density="cozy" default, giving future Tweaks UI a wire-up hook without structural changes.

What I deliberately did NOT do

  • Did not restructure DraftTab — existing WorkspaceWorkflowStrip, TicketWorkspaceRail, DraftResponsePanel already cover the ticket card / stage strip / panel / sources / alternatives / gauge patterns the bundle mocks.
  • Did not add a visible Tweaks switcher UI — plumbing is in; the interactive control is a follow-up.
  • Did not change the accent color — bundle kept teal; so did this PR.

Test plan

  • pnpm ui:typecheck — clean
  • pnpm test — 67/67 files, 262/262 tests passing
  • All pre-commit guards green (branch name, lint-staged, commitlint, gitleaks)
  • Manual: confirm brand mark gradient, active nav bar, breadcrumb in the Tauri dev window
  • Manual: set data-accent="violet" on .as-shell in devtools, verify glow + accent swap

🤖 Generated with Claude Code

Implement the targeted visual deltas from the Claude Design handoff
bundle (assistsupport/project/AssistSupport Workspace.html) against the
existing revamp shell. Functional code and DraftTab layout unchanged;
this is a scoped visual pass.

Changes:
- Add [data-accent] + [data-density] token variants (teal/violet/amber)
  and --as-glow-1 / --as-glow-2 so the shell background glows swap
  with the accent tweak.
- Wire the shell main background gradient in theme.css through the new
  glow tokens so accent swaps propagate to radial highlights.
- Brand mark: teal gradient fill with inner-shadow + drop-shadow,
  replacing the flat accent-surface-1 swatch.
- Active nav item: add the 2px accent indicator bar matching the
  handoff bundle ::before treatment.
- Topbar page title: breadcrumb pattern (AssistSupport / <Tab>)
  replacing the plain title, preserving the existing subtitle.
- RevampShell root emits data-accent=teal data-density=cozy as the
  default, giving future tweaks a hook without structural changes.

Verified: pnpm ui:typecheck clean; pnpm test passes (262/262).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@saagpatel saagpatel merged commit 739ee4b into master Apr 22, 2026
19 of 23 checks passed
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.

2 participants