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
@@ -3,8 +3,8 @@
Numbered section heading with optional subtitle and pulse dot.
-->
<script lang="ts">
import { cn } from '$shared/lib';
import { Label } from '$shared/ui';
import clsx from 'clsx';
interface Props {
/**
@@ -41,7 +41,7 @@ let {
const indexStr = $derived(String(index).padStart(2, '0'));
</script>
<div class={clsx('flex items-center gap-3 md:gap-4 mb-2', className)}>
<div class={cn('flex items-center gap-3 md:gap-4 mb-2', className)}>
<div class="flex items-center gap-2">
{#if pulse}
<span class="w-1.5 h-1.5 bg-brand rounded-full animate-pulse"></span>