{$t("Appearance")}

{$t("Choose a color theme variant.")}

{$t("Color theme")}
{ void importTheme(event.currentTarget.files?.[0]); }} /> {#if appearance.theme.startsWith('custom:')} { try { removeTheme(appearance.theme.slice(7)).catch(() => { error = $t("Could not remove this theme."); }); installed = customThemes(); change({ ...appearance, theme: 'default' }); } catch { error = $t("Could not remove this theme."); } }} />{/if}

{$t("Edit the exported JSON colors and fonts, then choose Install theme. The template contains one color palette and font families.")}

{#if notice}

{$t(notice)}

{/if}

{$t("Transparency")}

change({ ...appearance, transparency: { enabled: true, amount: event.currentTarget.valueAsNumber } })} />{appearance.transparency?.amount ?? 18}%

{$t("Turn off transparency to use opaque surfaces and reduce compositing work. Text and icons remain opaque.")}

{$t("Background image")}

{$t("Background")}
{#if appearance.newTabBackground}
{$t("Image position")}
{$t("Image size")}
{$t("Image overlay")}
changeOverlay(event.currentTarget)} />

{$t("Move left to lighten the image or right to darken it.")}

{/if}
void importBackground(event.currentTarget.files?.[0])} /> {#if appearance.newTabBackground}{/if}

{$t("PNG, JPEG, WebP, or GIF, up to 50 MiB. The image applies to new tabs on this device.")}

{#if status}

{status}

{/if} {#if error}

{error}

{/if}