removed legacy themes + added goth

This commit is contained in:
2026-05-14 11:14:37 +02:00
parent 04b0326778
commit af70f743be
3 changed files with 62 additions and 32 deletions
@@ -3,15 +3,14 @@ import { useState, useEffect, useRef } from 'react';
const THEMES = [
{ value: 'salon', label: 'Salon' },
{ value: 'salon-noir', label: 'Salon Noir' },
{ value: 'latte', label: 'Latte' },
{ value: 'mocha', label: 'Mocha' },
{ value: 'gothic', label: 'Gothic' },
];
interface Props {
defaultTheme?: string;
}
export default function ThemeSwitcher({ defaultTheme = 'mocha' }: Props) {
export default function ThemeSwitcher({ defaultTheme = 'salon' }: Props) {
const [theme, setTheme] = useState(() => {
if (typeof window !== 'undefined') {
return localStorage.getItem('user-theme') || defaultTheme;
@@ -68,10 +68,9 @@ export default function Settings() {
>
<option value="salon">Salon (parchment, default)</option>
<option value="salon-noir">Salon Noir (black gallery wall)</option>
<option value="latte">Latte (light)</option>
<option value="mocha">Mocha (dark)</option>
<option value="gothic">Gothic (cathedral nightfall)</option>
</select>
<p className="text-[10px] font-display italic text-[var(--subtext0)] mt-2 tracking-wider">Salon and Salon Noir are tuned for the gallery aesthetic.</p>
<p className="text-[10px] font-display italic text-[var(--subtext0)] mt-2 tracking-wider">All three are tuned for the gallery aesthetic. Gothic leans into deep violet-black with cathedral indigo and blood-crimson accents.</p>
</div>
<div>
<label className="field-label">Custom CSS</label>