fix: clean up remaining design system v4 stragglers

Remove shadow-primary remnants and fix double text-xs from font-label
replacement in CopilotToggle, ValidationSummary, TemplateDetailModal,
and ParameterSchemaBuilder/ParameterDetectorStepper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michael Chihlas
2026-03-22 02:21:25 -04:00
parent d1a56f0529
commit 367f6f4507
5 changed files with 6 additions and 6 deletions

View File

@@ -127,7 +127,7 @@ export function ParameterDetectorStepper({
{/* Matched line */}
<div className="rounded-lg bg-black/20 px-3 py-2">
<p className="font-sans text-xs text-xs text-amber-400 break-all">
<p className="font-sans text-xs text-amber-400 break-all">
{current.matchedLine}
</p>
<p className="font-sans text-xs text-[0.5rem] text-[#848b9b] mt-1">

View File

@@ -97,7 +97,7 @@ export function ParameterSchemaBuilder({ schema, onChange, disabled }: Props) {
type="button"
onClick={() => mode === 'json' ? switchToVisual() : undefined}
className={cn(
'flex items-center gap-1.5 font-sans text-xs text-xs px-3 py-1.5 rounded-full border transition-all',
'flex items-center gap-1.5 font-sans text-xs px-3 py-1.5 rounded-full border transition-all',
mode === 'visual'
? 'bg-[rgba(34,211,238,0.10)] border-primary/30 text-[#e2e5eb]'
: 'border-[#1e2130] text-[#848b9b] hover:text-[#e2e5eb]'
@@ -109,7 +109,7 @@ export function ParameterSchemaBuilder({ schema, onChange, disabled }: Props) {
type="button"
onClick={() => mode === 'visual' ? switchToJson() : undefined}
className={cn(
'flex items-center gap-1.5 font-sans text-xs text-xs px-3 py-1.5 rounded-full border transition-all',
'flex items-center gap-1.5 font-sans text-xs px-3 py-1.5 rounded-full border transition-all',
mode === 'json'
? 'bg-[rgba(34,211,238,0.10)] border-primary/30 text-[#e2e5eb]'
: 'border-[#1e2130] text-[#848b9b] hover:text-[#e2e5eb]'