Tag wählen
{recipeName}
onweekchange(prevWeek(weekStart))} style="background: none; border: none; cursor: pointer; padding: 4px 6px; font-size: 14px; color: var(--color-text-muted); border-radius: var(--radius-md);" > ‹
{formatWeekRange(weekStart)}
onweekchange(nextWeek(weekStart))} style="background: none; border: none; cursor: pointer; padding: 4px 6px; font-size: 14px; color: var(--color-text-muted); border-radius: var(--radius-md);" > ›
{#each days as date (date)} {@const state = chipState(date)}
handleChipClick(date)} style="flex: 1; min-width: 36px; padding: 6px 4px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; text-align: center; font-family: var(--font-sans); {chipStyle(state)}" >
{formatDayAbbr(date, 'narrow')}
{dayNumber(date)}
{/each}
{#if selectedDate && existingRecipeName}
Ersetzt
{existingRecipeName}
an diesem Tag.
{/if}
Einplanen