Skip to content

feat(webui): Tailwind custom colors + shared nav, /work dark theme (#1627)#1631

Merged
nextlevelshit merged 2 commits into
alphafrom
webui/c1-design-system-partials
Apr 30, 2026
Merged

feat(webui): Tailwind custom colors + shared nav, /work dark theme (#1627)#1631
nextlevelshit merged 2 commits into
alphafrom
webui/c1-design-system-partials

Conversation

@nextlevelshit

Copy link
Copy Markdown
Collaborator

Summary

  • Extend tailwind.config.js with custom color tokens (surface, edge, txt, wave, state) mapping to production CSS custom properties from style.css
  • Add shared nav partial (templates/partials/nav_consolidated.html) using Tailwind utilities + production dark theme variables
  • Wire partials into standalone page parsing via parsePartialsInto() — standalone pages can now use {{template}} composition
  • Migrate /work board and /work-item detail from standalone light-theme to production dark theme with shared nav
  • Both pages now load style.css (CSS variables) + tailwind.css (utilities)

Closes

#1627 (C1 of epic #1624)

Test plan

  • go build -tags webui ./internal/webui/ compiles
  • golangci-lint run ./internal/webui/... passes
  • make tailwind-check passes (CSS in sync)
  • wave serve/work renders dark theme with nav bar
  • /work/{id} renders dark theme with nav bar
  • /runs still renders sidebar layout (no regression)
  • /proposals still renders sidebar layout (no regression)

🤖 Generated with Claude Code

… /work to dark theme

Extend tailwind.config.js with custom color tokens (surface, edge, txt,
wave, state) that map to the production CSS custom properties from
style.css. This lets new consolidated pages use Tailwind utilities while
staying in the production dark theme.

Add shared nav partial (templates/partials/nav_consolidated.html) using
Tailwind utilities with production CSS variables. Wire partials into
standalone page parsing via parsePartialsInto() so standalone pages can
use {{template}} composition.

Migrate /work board and /work-item detail from standalone light-theme
Tailwind (bg-slate-50, text-slate-900) to the production dark theme
(bg-surface, text-txt) with the shared nav. Both pages now load
style.css for CSS variables + tailwind.css for utility classes.

Closes #1627
bg-slate-50 was pruned from compiled CSS after /work pages migrated to
custom dark-theme tokens (bg-surface). Update the content-scan guard to
check for bg-surface instead.
@nextlevelshit nextlevelshit merged commit 48de10b into alpha Apr 30, 2026
7 checks passed
@nextlevelshit nextlevelshit deleted the webui/c1-design-system-partials branch April 30, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant