From 20f65ee396771c5e95738dd14fcdc502e7b67263 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Wed, 18 Feb 2026 16:57:52 +0300 Subject: [PATCH] feat(FontSampler): slight font style tweaks for font name --- .../ui/FontSampler/FontSampler.svelte | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte b/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte index a2ede04..0e43da1 100644 --- a/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte +++ b/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte @@ -36,12 +36,7 @@ interface Props { letterSpacing?: number; } -let { - font, - text = $bindable(), - index = 0, - ...restProps -}: Props = $props(); +let { font, text = $bindable(), index = 0, ...restProps }: Props = $props(); const fontWeight = $derived(controlManager.weight); const fontSize = $derived(controlManager.renderedSize); @@ -66,9 +61,9 @@ const letterSpacing = $derived(controlManager.spacing); typeface_{String(index).padStart(3, '0')}
- +
{font.name} - +