aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 00:16:14 -0800
committerFuwn <[email protected]>2026-01-20 00:16:14 -0800
commite09fc2af31bf99698d203d0a03e78735b4d5a6b2 (patch)
tree08b2077a70795ad518dc3b785f372190c8251c1f /cmd
parentfeat: Improve theme CSS mappings for comprehensive styling (diff)
downloadkaze-e09fc2af31bf99698d203d0a03e78735b4d5a6b2.tar.xz
kaze-e09fc2af31bf99698d203d0a03e78735b4d5a6b2.zip
refactor: Use CSS variable overrides for proper theme integration
Instead of trying to override individual Tailwind classes (which was fragile and incomplete), now properly override Kaze's root CSS variables (--bg-primary, --status-ok, etc.) to use OpenCode theme values. This works because style.css already maps all Tailwind classes to these CSS variables, so overriding the variables automatically themes everything. The theme flow is now: 1. OpenCode theme defines: --theme-background, --theme-success, etc. 2. Override CSS redefines: --bg-primary = var(--theme-background), etc. 3. style.css classes use: background: var(--bg-primary), etc. This approach is much cleaner and ensures complete, consistent theming.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions