feat: replace clsx with cn util

This commit is contained in:
Ilia Mashkov
2026-04-23 09:48:32 +03:00
parent cffebf05e3
commit 54087b7b2a
34 changed files with 91 additions and 92 deletions
+2 -2
View File
@@ -3,11 +3,11 @@
Pill badge with border and optional status dot.
-->
<script lang="ts">
import { cn } from '$shared/lib';
import {
type LabelSize,
labelSizeConfig,
} from '$shared/ui/Label/config';
import clsx from 'clsx';
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
@@ -64,7 +64,7 @@ let {
</script>
<span
class={clsx(
class={cn(
'inline-flex items-center gap-1 px-2 py-0.5 border rounded-full',
'font-mono uppercase tracking-wide',
labelSizeConfig[size],