{/* Theme selector */}
Theme
{(
[
{ value: "light", icon: Sun, label: "Light" },
{ value: "dark", icon: Moon, label: "Dark" },
{ value: "system", icon: Monitor, label: "System" },
] as const
).map(({ value, icon: Icon, label }) => (
))}
{/* Palette selector — shows light or dark palettes depending on
the currently resolved theme. */}
Palette
{activePaletteName}
{visiblePalettes.map((p) => {
const isActive = activePaletteId === p.id;
return (
);
})}
Reading
{/* Serif font toggle */}
updatePrefs({ serifFont: v })}
label="Serif Font"
/>
{/* Justify text toggle */}
updatePrefs({ justified: v })}
label="Justify Text"
/>
{/* Font size slider */}