* feat(frontend): wip * wip * wip * wip * wip * add toggle * correctly handle monaco theme * wip * wip * wip * wip * wip * feat(frontend): Dark mode v0 * feat(frontend): Adap AI gen poppup * feat(frontend): Adap script metadata labels * feat(frontend): Fix unreadable texts * feat(frontend): Fix unreadable texts * feat(frontend): Fix unreadable texts * feat(frontend): Fix ressource picker * feat(frontend): Fix unreadable texts * feat(frontend): Fix unreadable texts * feat(frontend): Fix unreadable texts * feat(frontend): Add theme toggle in the login page * feat(frontend): Fix unreadable texts * feat(frontend): Fix language selection * feat(frontend): Fix FlowStatusViewer colors * feat(frontend): Fix divide colors * feat(frontend): Fix flow graph buttons * feat(frontend): add theme toggle in login modal * feat(frontend): small ui fix * feat(frontend): fix graph dark mode toggle
13 lines
348 B
Svelte
13 lines
348 B
Svelte
<script lang="ts">
|
|
export let required: boolean
|
|
export let detail = ''
|
|
</script>
|
|
|
|
{#if required}
|
|
<span class="text-red-500 dark:text-red-400 text-sm font-normal {$$props.class}">*</span>
|
|
{:else if detail || detail != ''}
|
|
<span class="text-sm text-tertiary ml-2 font-normal {$$props.class}"
|
|
>({detail != '' ? `${detail}` : ''})</span
|
|
>
|
|
{/if}
|