diff --git a/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.svelte.ts b/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.svelte.ts index dff832c..22576a9 100644 --- a/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.svelte.ts +++ b/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.svelte.ts @@ -15,7 +15,10 @@ import { DEFAULT_FONT_WEIGHT, DEFAULT_LETTER_SPACING, DEFAULT_LINE_HEIGHT, -} from '$entities/Font'; + // Deep path (not the root barrel) on purpose: pulls only these pure + // constants, not the entity's UI/store graph (+ @tanstack) — keeps this + // feature store and its spec light at import. See audit D-1. +} from '$entities/Font/model/const/const'; import { type PersistentStore, createPersistentStore, diff --git a/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.test.ts b/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.test.ts index 4b81e47..cbb0390 100644 --- a/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.test.ts +++ b/src/features/AdjustTypography/model/store/typographySettingsStore/typographySettingsStore.test.ts @@ -6,7 +6,7 @@ import { DEFAULT_FONT_WEIGHT, DEFAULT_LETTER_SPACING, DEFAULT_LINE_HEIGHT, -} from '$entities/Font'; +} from '$entities/Font/model/const/const'; import { beforeEach, describe,