forked from molecule-ai/molecule-core
Major correction from Core-FE review: - Canvas has THREE themes: System/Light/Dark, not dark-only - Warm paper tones for light, zinc-adjacent dark for dark mode - ThemeProvider handles switching, persisted in mol_theme cookie - Use semantic tokens: bg-surface, bg-surface-card, border-line, text-ink - NEVER use raw zinc for surfaces — only for borders/disabled/code Updated: - Section 1: Three-mode theme palette with exact hex values - Section 4: Component patterns now use semantic tokens - Added Section 4.6: ThemeProvider + useTheme() usage - Section 7: Enforcement checklist now includes token rules Co-Authored-By: Core-FE <core-fe@moleculesai.app> Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| canvas-audit-items.md | ||
| canvas-design-system-v1.md | ||