feat: theme colors (#1195)
This commit is contained in:
parent
2e79f3aa37
commit
8753a94aae
19 changed files with 298 additions and 35 deletions
|
@ -18,6 +18,23 @@ export interface UserSettings {
|
|||
fontSize: FontSize
|
||||
language: string
|
||||
zenMode: boolean
|
||||
themeColors?: ThemeColors
|
||||
}
|
||||
|
||||
export interface ThemeColors {
|
||||
'--theme-color-name': string
|
||||
|
||||
'--c-primary': string
|
||||
'--c-primary-active': string
|
||||
'--c-primary-light': string
|
||||
'--c-primary-fade': string
|
||||
'--c-dark-primary': string
|
||||
'--c-dark-primary-active': string
|
||||
'--c-dark-primary-light': string
|
||||
'--c-dark-primary-fade': string
|
||||
|
||||
'--rgb-primary': string
|
||||
'--rgb-dark-primary': string
|
||||
}
|
||||
|
||||
export function getDefaultLanguage(languages: string[]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue