refactor: replace hardcoded hex values with Tailwind semantic tokens

3,200+ hardcoded color values replaced with CSS variable-backed
Tailwind classes (bg-card, text-foreground, border-border, etc.).
Enables light mode via CSS variable swap. Only syntax highlighting
colors and intentional one-offs remain hardcoded (~15 values).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michael Chihlas
2026-03-22 04:34:35 -04:00
parent 123fc50af9
commit 303a558432
251 changed files with 3310 additions and 3310 deletions

View File

@@ -131,8 +131,8 @@ export default function ScriptBuilderPage() {
<Terminal size={18} className="text-fuchsia-400" />
</span>
<div>
<h1 className="text-base font-heading font-bold text-[#e2e5eb]">Script Builder</h1>
<p className="text-xs text-[#848b9b]">Describe what you need, AI generates the script</p>
<h1 className="text-base font-heading font-bold text-foreground">Script Builder</h1>
<p className="text-xs text-muted-foreground">Describe what you need, AI generates the script</p>
</div>
</div>
@@ -146,10 +146,10 @@ export default function ScriptBuilderPage() {
className={cn(
"px-3 py-1.5 rounded-md text-xs font-sans text-xs font-medium transition-all",
language === lang.value
? "bg-[#22d3ee] text-white"
? "bg-primary text-white"
: hasMessages
? "text-[#5a6170] cursor-not-allowed"
: "text-[#848b9b] hover:text-[#e2e5eb] hover:bg-[rgba(255,255,255,0.04)]"
? "text-text-muted cursor-not-allowed"
: "text-muted-foreground hover:text-foreground hover:bg-[rgba(255,255,255,0.04)]"
)}
>
{lang.label}