refactor: migrate page components to Design System v4
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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-foreground">Script Builder</h1>
|
||||
<p className="text-xs text-muted-foreground">Describe what you need, AI generates the script</p>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -144,12 +144,12 @@ export default function ScriptBuilderPage() {
|
||||
onClick={() => !hasMessages && setLanguage(lang.value)}
|
||||
disabled={hasMessages}
|
||||
className={cn(
|
||||
"px-3 py-1.5 rounded-md text-xs font-label font-medium transition-all",
|
||||
"px-3 py-1.5 rounded-md text-xs font-sans text-xs font-medium transition-all",
|
||||
language === lang.value
|
||||
? "bg-gradient-brand text-[#101114]"
|
||||
? "bg-[#22d3ee] text-white"
|
||||
: hasMessages
|
||||
? "text-[#5a6170] cursor-not-allowed"
|
||||
: "text-muted-foreground hover:text-foreground hover:bg-[rgba(255,255,255,0.04)]"
|
||||
: "text-[#848b9b] hover:text-[#e2e5eb] hover:bg-[rgba(255,255,255,0.04)]"
|
||||
)}
|
||||
>
|
||||
{lang.label}
|
||||
|
||||
Reference in New Issue
Block a user