From 9af81c3f176eed032c05a7d874df1c40fc4f9a3c Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Fri, 27 Feb 2026 12:40:09 +0300 Subject: [PATCH] feat(FontSearch): refactor component to align it with new design --- .../ui/FontSearch/FontSearch.svelte | 64 ++++++------------- 1 file changed, 21 insertions(+), 43 deletions(-) diff --git a/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte b/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte index 5adbffc..07e0be6 100644 --- a/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte +++ b/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte @@ -13,6 +13,7 @@ import { import { springySlideFade } from '$shared/lib'; import { cn } from '$shared/shadcn/utils/shadcn-utils'; import { + Button, Footnote, IconButton, SearchBar, @@ -66,62 +67,39 @@ function toggleFilters() { } -
-
+
+
-
-
-
-
- - {#snippet icon()} - - {/snippet} - -
-
-
+
{#if showFilters}
-
-
-
-
- - filter_params - -
- -
- -
- -
- -
+
+
+ +
{/if}