refactor: tailwind tier 1 — border-subtle/text-secondary/focus-ring utilities + Input config extraction

This commit is contained in:
Ilia Mashkov
2026-04-16 16:32:41 +03:00
parent aa1379c15b
commit 816d4b89ce
15 changed files with 78 additions and 55 deletions

View File

@@ -71,7 +71,7 @@ $effect(() => {
<div class="flex-1 min-h-0 h-full">
<div class="py-2 relative flex flex-col min-h-0 h-full">
<div class="py-2 mx-6 sticky border-b border-black/5 dark:border-white/10">
<div class="py-2 mx-6 sticky border-b border-subtle">
<Label class="font-primary text-neutral-400" bold variant="default" size="sm" uppercase>
Typeface Selection
</Label>

View File

@@ -53,7 +53,7 @@ const fontBName = $derived(comparisonStore.fontB?.name ?? '');
'flex items-center justify-between',
'px-4 md:px-8 py-4 md:py-6',
'h-16 md:h-20 z-20',
'border-b border-black/5 dark:border-white/10',
'border-b border-subtle',
'bg-surface dark:bg-dark-bg',
className,
)}

View File

@@ -44,7 +44,7 @@ let {
'flex flex-col h-full',
'w-80',
'bg-surface dark:bg-dark-bg',
'border-r border-black/5 dark:border-white/10',
'border-r border-subtle',
'transition-colors duration-500',
className,
)}
@@ -53,7 +53,7 @@ let {
<div
class="
p-6 shrink-0
border-b border-black/5 dark:border-white/10
border-b border-subtle
bg-surface dark:bg-dark-bg
"
>
@@ -100,7 +100,7 @@ let {
class="
shrink-0 p-6
bg-surface dark:bg-dark-bg
border-t border-black/5 dark:border-white/10
border-t border-subtle
z-10
"
>