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
@@ -6,8 +6,8 @@
import { themeManager } from '$features/ChangeAppTheme';
import G from '$shared/assets/G.svg';
import { ResponsiveProvider } from '$shared/lib';
import { cn } from '$shared/lib';
import { Footer } from '$widgets/Footer';
import clsx from 'clsx';
import {
type Snippet,
@@ -73,7 +73,7 @@ onDestroy(() => themeManager.destroy());
<ResponsiveProvider>
<div
id="app-root"
class={clsx(
class={cn(
'min-h-screen w-auto flex flex-col bg-surface dark:bg-dark-bg relative',
theme === 'dark' ? 'dark' : '',
)}