feature(ComboControl):
Some checks failed
Lint / Lint Code (push) Failing after 7m14s
Test / Svelte Checks (push) Failing after 7m20s
Build / build (pull_request) Failing after 7m6s
Lint / Lint Code (pull_request) Failing after 7m14s
Test / Svelte Checks (pull_request) Failing after 7m16s

- create ComboControl component for typography settings (font size, font
  weight, line height)
- integrate it to TypographyMenu and integrate it to Layout
This commit is contained in:
Ilia Mashkov
2026-01-05 09:03:31 +03:00
parent d8e5f5a0b5
commit 3d35f1901d
30 changed files with 897 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
import favicon from '$shared/assets/favicon.svg';
import * as Sidebar from '$shared/shadcn/ui/sidebar/index';
import { FiltersSidebar } from '$widgets/FiltersSidebar';
import TypographyMenu from '$widgets/TypographySettings/ui/TypographyMenu.svelte';
/** Slot content for route pages to render */
let { children } = $props();
@@ -25,13 +26,13 @@ let { children } = $props();
<link rel="icon" href={favicon} />
</svelte:head>
<div class="app">
<div id="app-root">
<header></header>
<Sidebar.Provider>
<FiltersSidebar />
<main>
<Sidebar.Trigger />
<main class="w-dvw">
<TypographyMenu />
{@render children?.()}
</main>
</Sidebar.Provider>