chore: move typography constants to the entity/Font layer

This commit is contained in:
Ilia Mashkov
2026-04-16 09:05:34 +03:00
parent c5fa159c14
commit db08f523f6
10 changed files with 30 additions and 69 deletions

View File

@@ -4,6 +4,7 @@
-->
<script lang="ts">
import {
DEFAULT_FONT_WEIGHT,
FontApplicator,
FontVirtualList,
type UnifiedFont,
@@ -80,7 +81,7 @@ $effect(() => {
</div>
<FontVirtualList
data-font-list
weight={typography.weight}
weight={DEFAULT_FONT_WEIGHT}
itemHeight={45}
class="bg-transparent min-h-0 h-full scroll-stable pr-4"
>