// SPDX-License-Identifier: AGPL-3.0-only // Part of the Folia lyric stage port (see ./README.md): the lyric styles by id and Folia's names for them, in // Folia's order. Kept apart from the styles themselves so a page can list them without loading any of them. export const LYRIC_STYLE_NAMES = [ { id: 'classic', name: '流光', english: 'Classic' }, { id: 'cadenza', name: '心象', english: 'Cadenza' }, { id: 'partita', name: '云阶', english: 'Partita' }, { id: 'tilt', name: '倾诉', english: 'Tilt' }, ] as const; export type LyricStyleId = typeof LYRIC_STYLE_NAMES[number]['id']; /** * Folia's other lyric styles, run as Folia wrote them (./original/, carried by scripts/folia_vendor.mjs), by id * and Folia's names. The list is the styles the carry holds: scripts/test_folia_original.mjs checks the two agree. */ export const ORIGINAL_STYLE_NAMES = [ { id: 'fume', name: '浮名', english: 'Fume' }, { id: 'monet', name: '莫奈', english: 'Monet' }, { id: 'cappella', name: '群唱', english: 'Cappella' }, { id: 'claddagh', name: '回环', english: 'Claddagh' }, { id: 'diorama', name: '镜台', english: 'Diorama' }, { id: 'pendolo', name: '时计', english: 'Pendolo' }, { id: 'sonnet', name: '商籁', english: 'Sonnet' }, { id: 'tempera', name: '凝彩', english: 'Tempera' }, { id: 'lumiere', name: '绘光', english: 'Lumiere' }, { id: 'nebbia', name: '雾笺', english: 'Nebbia' }, { id: 'metaphor', name: '隐喻', english: 'Metaphor' }, { id: 'hanabi', name: '花火', english: 'Hanabi' }, { id: 'machi', name: '町景', english: 'Machi' }, ] as const; /** Every lyric style the stage offers, the rewritten ones first. */ export const STAGE_STYLE_NAMES: ReadonlyArray<{ id: string; name: string; english: string }> = [...LYRIC_STYLE_NAMES, ...ORIGINAL_STYLE_NAMES]; /** * The carried styles that paint a scene of their own, dark whatever the theme: 雾笺's window at night, 花火's sky, * 绘光's dark field, 町景's town, and 隐喻, whose shots turn between paper and its negative. The host runs these as * at night by day too (the night's palette, Folia's `isDaylight` off) and gives the stage's own words the night's * colours over them. The other styles draw on the theme's ground and follow the site. */ export const NIGHT_SCENE_STYLES: readonly string[] = ['nebbia', 'hanabi', 'lumiere', 'machi', 'metaphor']; /** The style on stage until the listener chooses one: 雾笺, the owner's choice (2026-11-26). */ export const DEFAULT_STAGE_STYLE = 'nebbia'; /** The style the stage falls back to where a carried one cannot run (no WebGL, its code did not arrive). */ export const FALLBACK_STAGE_STYLE: LyricStyleId = 'classic';