mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Add custom themes
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { Difficulty, Instrument } from 'scan-chart'
|
||||
|
||||
import { ThemeColors } from './interfaces/theme.interface'
|
||||
|
||||
export const themes = [
|
||||
'business',
|
||||
'dark',
|
||||
@@ -23,6 +25,7 @@ export const themes = [
|
||||
export interface Settings {
|
||||
downloadVideos: boolean // If background videos should be downloaded
|
||||
theme: typeof themes[number] // The name of the currently enabled UI theme
|
||||
customTheme: ThemeColors | null // The colors of a custom theme
|
||||
libraryPath: string | undefined // The path to the user's library
|
||||
isSng: boolean // If the chart should be downloaded as a .sng file or as a chart folder
|
||||
isCompactTable: boolean // If the search result table should have reduced padding
|
||||
@@ -37,6 +40,7 @@ export interface Settings {
|
||||
export const defaultSettings: Settings = {
|
||||
downloadVideos: true,
|
||||
theme: 'dark',
|
||||
customTheme: null,
|
||||
libraryPath: undefined,
|
||||
isSng: false,
|
||||
isCompactTable: false,
|
||||
|
||||
Reference in New Issue
Block a user