mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Add compact table and update themes
This commit is contained in:
@@ -3,12 +3,14 @@ import { Difficulty, Instrument } from 'scan-chart'
|
||||
export const themes = [
|
||||
'business',
|
||||
'dark',
|
||||
'halloween',
|
||||
'dim',
|
||||
'night',
|
||||
'sunset',
|
||||
'synthwave',
|
||||
'aqua',
|
||||
'emerald',
|
||||
'lemonade',
|
||||
'nord',
|
||||
'valentine',
|
||||
'winter',
|
||||
'aren',
|
||||
@@ -23,6 +25,7 @@ export interface Settings {
|
||||
theme: typeof themes[number] // The name of the currently enabled UI 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
|
||||
instrument: Instrument | null // The instrument selected by default, or `null` for "Any Instrument"
|
||||
difficulty: Difficulty | null // The difficulty selected by default, or `null` for "Any Difficulty"
|
||||
}
|
||||
@@ -35,6 +38,7 @@ export const defaultSettings: Settings = {
|
||||
theme: 'dark',
|
||||
libraryPath: undefined,
|
||||
isSng: false,
|
||||
isCompactTable: false,
|
||||
instrument: 'guitar',
|
||||
difficulty: null,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user