key === "Escape" && (current_option = null)} /> {#if current_option === "color" && colors}
(current_option = null)} colors={processed_colors} bind:selected_color {color_mode} bind:recent_colors />
{:else if current_option === "size"} (current_option = null)} max={$dimensions[0] / 10} min={1} bind:selected_size /> {/if}