{#if step.emoji}
{@const gradient = step.gradient || { from: 'primary', to: 'primary/70' }}
{/if}
{/if}
{step.emoji}
{step.question}
{#if step.description}{step.description}
{/if}
{#if step.type === 'select'}
{@const selectStep = step as AppOnboardingSelectStep}
{#each selectStep.options as option}
{/each}
{:else if step.type === 'toggle'}
{@const toggleStep = step as AppOnboardingToggleStep}
{@const isEnabled = store.preferences[step.id] ?? toggleStep.defaultValue ?? false}
{:else if step.type === 'info'}
{#if step.bullets}
-
{#each step.bullets as bullet}
- • {bullet} {/each}