checkpoint

This commit is contained in:
2026-02-04 12:10:30 -05:00
parent b8549777ba
commit cdabf2c3e0
22 changed files with 1176 additions and 18 deletions

32
src/types/settings.ts Normal file
View File

@@ -0,0 +1,32 @@
export type ThemeName = "system" | "catppuccin" | "gruvbox" | "tokyo" | "nord" | "custom"
export type ThemeColors = {
background: string
surface: string
primary: string
secondary: string
accent: string
text: string
muted: string
warning: string
error: string
success: string
}
export type AppSettings = {
theme: ThemeName
fontSize: number
playbackSpeed: number
downloadPath: string
}
export type UserPreferences = {
showExplicit: boolean
autoDownload: boolean
}
export type AppState = {
settings: AppSettings
preferences: UserPreferences
customTheme: ThemeColors
}