feat: 优化歌词界面配置

This commit is contained in:
algerkong
2025-04-04 22:19:35 +08:00
parent 30ff7b2930
commit 55b50d764b
7 changed files with 229 additions and 155 deletions
+27
View File
@@ -0,0 +1,27 @@
export interface LyricConfig {
hideCover: boolean;
centerLyrics: boolean;
fontSize: number;
letterSpacing: number;
lineHeight: number;
showTranslation: boolean;
theme: 'default' | 'light' | 'dark';
hidePlayBar: boolean;
pureModeEnabled: boolean;
hideMiniPlayBar: boolean;
hideLyrics: boolean;
}
export const DEFAULT_LYRIC_CONFIG: LyricConfig = {
hideCover: false,
centerLyrics: false,
fontSize: 22,
letterSpacing: 0,
lineHeight: 2,
showTranslation: true,
theme: 'default',
hidePlayBar: false,
hideMiniPlayBar: true,
pureModeEnabled: false,
hideLyrics: false
};