* feat(frontend): Add new font face * feat(frontend): Typography update * fix(frontend): Import Inter font * fix(frontend): Font fixes * fix(front): Fix spacing and font inconsistencies * fix(frontend): Visual changes and fixes * fix(frontend): Minor visual fixes * fix(frontend): Remove comment
13 lines
306 B
Svelte
13 lines
306 B
Svelte
<script lang="ts">
|
|
export let required: boolean
|
|
export let detail = ''
|
|
</script>
|
|
|
|
{#if required}
|
|
<span class="text-red-700 font-normal {$$props.class}">*</span>
|
|
{:else}
|
|
<span class="text-sm text-gray-500 ml-2 font-normal {$$props.class}"
|
|
>(optional{detail != '' ? `, ${detail}` : ''})</span
|
|
>
|
|
{/if}
|