mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
35 lines
758 B
TypeScript
35 lines
758 B
TypeScript
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: typeof themes[number] // The name of the currently enabled UI theme
|
|
libraryPath: string | undefined // The path to the user's library
|
|
}
|
|
|
|
/**
|
|
* Bridge's default user settings.
|
|
*/
|
|
export const defaultSettings: Settings = {
|
|
rateLimitDelay: 31,
|
|
downloadVideos: true,
|
|
theme: 'dark',
|
|
libraryPath: undefined,
|
|
}
|