Files
NomadArch/tasks/done/042-style-token-scaffolding.md
Gemini AI 1d427f4cf5
Some checks failed
Release Binaries / release (push) Has been cancelled
v0.5.0: NomadArch - Binary-Free Mode Release
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)
2025-12-26 11:27:03 +04:00

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.css exists with section headings for light and dark palettes plus TODO comments for future tokens.
  • src/index.css imports src/styles/tokens.css near the top of the file.
  • No CSS variables are defined yet (only structure and comments).
  • App compiles and renders as before.

Steps

  1. Create src/styles/ if missing and add tokens.css with placeholders:
    :root {
      /* TODO: surface, text, accent, status tokens */
    }
    
    [data-theme="dark"] {
      /* TODO: dark-mode overrides */
    }
    
  2. Import ./styles/tokens.css from src/index.css after the Tailwind directives.
  3. Ensure no existing CSS variables are removed yet.

Testing Checklist

  • Run npm run dev and 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.