feat: use typographySettingsStore everywhere for the typography settings

This commit is contained in:
Ilia Mashkov
2026-04-16 08:44:49 +03:00
parent fbeb84270b
commit 8645c7dcc8
9 changed files with 82 additions and 87 deletions

View File

@@ -8,6 +8,7 @@ import {
FontVirtualList,
type UnifiedFont,
} from '$entities/Font';
import { typographySettingsStore } from '$features/SetupFont';
import {
Button,
Label,
@@ -18,7 +19,7 @@ import { crossfade } from 'svelte/transition';
import { comparisonStore } from '../../model';
const side = $derived(comparisonStore.side);
const typography = $derived(comparisonStore.typography);
const typography = $derived(typographySettingsStore);
let prevIndexA: number | null = null;
let prevIndexB: number | null = null;