diff --git a/src/lib/components/AutoGrowInput.svelte b/src/lib/components/AutoGrowInput.svelte index ffe19f0..a24eaad 100644 --- a/src/lib/components/AutoGrowInput.svelte +++ b/src/lib/components/AutoGrowInput.svelte @@ -11,6 +11,7 @@ maxlength?: number; bold?: boolean; color?: string; + fs?: string; } let { @@ -22,6 +23,7 @@ size = 5, bold = false, color, + fs, }: Props = $props(); let inputEl: HTMLElement; @@ -52,12 +54,12 @@ style:font-weight={bold ? "700" : "inherit"} style:--theme={color} style:--themep={hexToTransparent(color ?? "#ffffff")} + style:font-size={fs ?? "1rem"} {placeholder} />