chore(client): default new users to Nostalgia and teal

Give users without stored appearance choices the Nostalgia style and teal accent while preserving saved selections and BookOrbit styling on standalone pages.
This commit is contained in:
neon
2026-10-19 23:23:13 +00:00
parent 1a2ffb68c0
commit c01022aeb2
5 changed files with 17 additions and 12 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ export const GLOW_REACH_DEFAULT = 50;
* mode, accent, radius and background, which keep their values when the style changes. */
export const STYLE_IDS = ["bookorbit", "nostalgia"] as const;
export type Style = (typeof STYLE_IDS)[number];
export const DEFAULT_STYLE: Style = "bookorbit";
export const DEFAULT_STYLE: Style = "nostalgia";
/** Neutral ground palettes. Only styles that declare a surface palette control read them. */
export const SURFACE_PALETTE_IDS = [
@@ -149,7 +149,7 @@ export interface ThemePreferences {
brightness: number;
/** Optional so a client that sends it stays valid against a server that predates it. */
surfaceOpacity?: number;
/** Optional for the same reason; absent means the BookOrbit style. */
/** Optional for the same reason; absent keeps the client's local or default style. */
style?: Style;
/** Optional for the same reason; absent means steel. */
surfacePalette?: SurfacePalette;