Interface conversion, search bar layout

This commit is contained in:
Geomitron
2023-12-09 18:21:01 -06:00
parent d689843f27
commit ece0f75b99
37 changed files with 1531 additions and 760 deletions

View File

@@ -1,3 +1,5 @@
import { Difficulty, Instrument } from 'scan-chart'
export const themes = [
'business',
'dark',
@@ -21,6 +23,8 @@ export interface Settings {
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
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"
}
/**
@@ -31,4 +35,6 @@ export const defaultSettings: Settings = {
downloadVideos: true,
theme: 'dark',
libraryPath: undefined,
instrument: 'guitar',
difficulty: null,
}