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.3 KiB
1.3 KiB
Task 041 - Tailwind Theme Hooks
Goal
Establish the base Tailwind configuration needed for theming work without changing current visuals.
Prerequisites
- Installed project dependencies (
npm install). - Ability to run the renderer locally (
npm run dev).
Acceptance Criteria
tailwind.config.jsusesdarkMode: ["class", '[data-theme="dark"]'].theme.extendcontains empty objects for upcoming tokens:colors,spacing,fontSize,borderRadius, andboxShadow.- No other configuration changes are introduced.
- App builds and renders exactly as before (no visual diffs expected).
Steps
- Update
tailwind.config.jswith the newdarkModearray value. - Add empty extension objects for
colors,spacing,fontSize,borderRadius, andboxShadowundertheme.extend. - Double-check that all other keys remain untouched.
- Save the file.
Testing Checklist
- Run
npm run devand ensure the renderer starts successfully. - Smoke test the UI in light and dark mode to confirm no visual regressions.
Dependencies
- None.
Estimated Time
0.25 hours
Notes
- Create a branch (e.g.,
feature/task-041-tailwind-theme-hooks). - Commit message suggestion:
chore: prep tailwind for theming. - Include before/after screenshots only if an unexpected visual change occurs.