style: polish UI and improve UX

This commit is contained in:
saturn
2026-03-28 18:58:21 +08:00
parent ca5d8a58f7
commit c3e74c228a
19 changed files with 1182 additions and 267 deletions

16
src/lib/style-presets.ts Normal file
View File

@@ -0,0 +1,16 @@
export const STYLE_PRESETS = [
{
value: 'horror-suspense',
label: '恐怖悬疑',
description: '压迫氛围',
},
] as const
export type StylePresetOption = (typeof STYLE_PRESETS)[number]
export type StylePresetValue = StylePresetOption['value']
export const DEFAULT_STYLE_PRESET_VALUE: StylePresetValue = 'horror-suspense'
export function getStylePresetOption(value: string): StylePresetOption {
return STYLE_PRESETS.find((preset) => preset.value === value) ?? STYLE_PRESETS[0]
}