refactor: replace px text sizes in Button, Loader, Footnote with named tokens

This commit is contained in:
Ilia Mashkov
2026-04-17 09:41:14 +03:00
parent 64b4a65e7b
commit 0737db69a9
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -27,14 +27,14 @@ const { children, class: className, render }: Props = $props();
{#if render}
{@render render({
class: cn(
'font-mono text-[0.5625rem] sm:text-[0.625rem] lowercase tracking-[0.2em] text-text-soft',
'font-mono text-3xs sm:text-2xs lowercase tracking-wider-mono text-text-soft',
className,
),
})}
{:else if children}
<span
class={cn(
'font-mono text-[0.5625rem] sm:text-[0.625rem] lowercase tracking-[0.2em] text-text-soft',
'font-mono text-3xs sm:text-2xs lowercase tracking-wider-mono text-text-soft',
className,
)}
>