mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Fix settings page
This commit is contained in:
@@ -1,10 +1,25 @@
|
||||
export const themes = [
|
||||
'business',
|
||||
'dark',
|
||||
'halloween',
|
||||
'night',
|
||||
'synthwave',
|
||||
'aqua',
|
||||
'emerald',
|
||||
'lemonade',
|
||||
'valentine',
|
||||
'winter',
|
||||
'aren',
|
||||
'froogs',
|
||||
] as const
|
||||
|
||||
/**
|
||||
* Represents Bridge's user settings.
|
||||
*/
|
||||
export interface Settings {
|
||||
rateLimitDelay: number // Number of seconds to wait between each file download from Google servers
|
||||
downloadVideos: boolean // If background videos should be downloaded
|
||||
theme: string // The name of the currently enabled UI theme
|
||||
theme: typeof themes[number] // The name of the currently enabled UI theme
|
||||
libraryPath: string | undefined // The path to the user's library
|
||||
}
|
||||
|
||||
@@ -14,6 +29,6 @@ export interface Settings {
|
||||
export const defaultSettings: Settings = {
|
||||
rateLimitDelay: 31,
|
||||
downloadVideos: true,
|
||||
theme: 'Default',
|
||||
theme: 'dark',
|
||||
libraryPath: undefined,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user