UI-04: AppShell premium reskin using shared tokens and primitives#499
UI-04: AppShell premium reskin using shared tokens and primitives#499Chris0Jeky merged 4 commits intomainfrom
Conversation
Replace raw rgba colors, px font sizes, and magic-number spacing with design token references (--td-surface-*, --td-color-*, --td-font-*, --td-border-*, --td-radius-*, --td-shadow-*, --td-transition-*). Add focus-visible rings to toggle button and nav items for accessibility. No behavior changes.
Replace raw rgba border colors, px font sizes, and rem padding values with design token references. Add border-radius, focus-visible ring, and consistent transition to the palette trigger and mode select. No behavior changes.
…lette Replace raw rgba borders and px font sizes with token references. Add border-radius, use --td-glass-blur variable, upgrade shadow to xl. Use transparent border-left for smoother active-item transition. No behavior changes.
Replace raw rgba borders, px font sizes, and px padding in kbd elements with token references. Add border-radius to panel and close button, focus-visible ring on close button, and hover background for close. No behavior changes.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Adversarial Self-ReviewToken coverage auditChecked all four shell component Remaining hardcoded values (intentionally kept):
Potential issues found:
No behavior changes detected:
Accessibility check
|
Adversarial Code Review — PR #499Reviewed all 4 changed files line-by-line against Findings1. [Medium] Sidebar shadow direction changed —
|
Summary
rgba()border colors,pxfont sizes, magic-number spacing, and one-off shadows across the four AppShell components (ShellSidebar,ShellTopbar,ShellCommandPalette,ShellKeyboardHelp) with design token CSS custom properties (--td-border-*,--td-font-*,--td-space-*,--td-shadow-*,--td-radius-*,--td-transition-*,--td-color-*,--td-glass-*)border-radiusto command palette, keyboard help panel, topbar palette trigger, and mode select for consistent rounded-corner treatmentfocus-visiblerings (--td-focus-ring) to sidebar toggle, nav items, topbar palette trigger, and keyboard help close button for improved keyboard accessibilityCloses #246
Test plan
npm run buildpasses (typecheck + vite build)npx vitest --runpasses all 1039 tests across 115 test filesdata-theme="light") and compact density (data-density="compact") still apply correctly