feat(design-system): apply Max_Design_System tokens to all components
Add docs/Max_Design_System.md as the mandatory source of truth for every Max Avatar component (existing and future): CSS custom properties (tokens.css), the documented component library for the upcoming coach pipeline UI (chat bubble, module panel, exercise card, stepper, input bar, badge, code block — components.css), and bespoke app-level components that follow the same tokens where the doc has no direct equivalent (thinking indicator, banners, login panel — app.css). Rewrite LoginView, ThinkingIndicator, UpdateBanner and VoiceErrorBanner to use these classes instead of ad-hoc inline styles with hardcoded hex colors. Self-host Inter and JetBrains Mono via @fontsource (the only two fonts the design system allows) since the renderer's CSP has no external font-src. Drop base.css's unused electron-vite boilerplate palette (--ev-c-*) in favor of the design tokens. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
253c65b00a
commit
d46a1ca69f
@@ -44,6 +44,8 @@
|
||||
"dependencies": {
|
||||
"@electron-toolkit/preload": "^3.0.2",
|
||||
"@electron-toolkit/utils": "^4.0.0",
|
||||
"@fontsource/inter": "^5.3.0",
|
||||
"@fontsource/jetbrains-mono": "^5.3.0",
|
||||
"dotenv": "^18.0.8",
|
||||
"electron-updater": "^6.8.11",
|
||||
"pdf-lib": "^1.17.1",
|
||||
|
||||
Reference in New Issue
Block a user