Some checks failed
Release Binaries / release (push) Has been cancelled
Features: - Binary-Free Mode: No OpenCode binary required - NomadArch Native mode with free Zen models - Native session management - Provider routing (Zen, Qwen, Z.AI) - Fixed MCP connection with explicit connectAll() - Updated installers and launchers for all platforms - UI binary selector with Native option Free Models Available: - GPT-5 Nano (400K context) - Grok Code Fast 1 (256K context) - GLM-4.7 (205K context) - Doubao Seed Code (256K context) - Big Pickle (200K context)
1.4 KiB
1.4 KiB
Task 042 - Style Token Scaffolding
Goal
Create the shared token stylesheet placeholder and wire it into the app without defining actual variables yet.
Prerequisites
- Task 041 complete (Tailwind theme hooks ready).
- Local dev server can be run (
npm run dev).
Acceptance Criteria
- New file
src/styles/tokens.cssexists with section headings for light and dark palettes plus TODO comments for future tokens. src/index.cssimportssrc/styles/tokens.cssnear the top of the file.- No CSS variables are defined yet (only structure and comments).
- App compiles and renders as before.
Steps
- Create
src/styles/if missing and addtokens.csswith placeholders::root { /* TODO: surface, text, accent, status tokens */ } [data-theme="dark"] { /* TODO: dark-mode overrides */ } - Import
./styles/tokens.cssfromsrc/index.cssafter the Tailwind directives. - Ensure no existing CSS variables are removed yet.
Testing Checklist
- Run
npm run devand confirm the renderer starts without warnings. - Visually spot-check a session view in light and dark mode for unchanged styling.
Dependencies
- Blocks Task 043 (color variable migration).
Estimated Time
0.25 hours
Notes
- Branch name suggestion:
feature/task-042-style-token-scaffolding. - Keep the file ASCII-only and avoid trailing spaces.