feat: Themes and appeareance settings are now local to your device and not synced (#2847)
This commit is contained in:
15
packages/services/src/Domain/Preferences/LocalPrefKey.ts
Normal file
15
packages/services/src/Domain/Preferences/LocalPrefKey.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export enum LocalPrefKey {
|
||||
ActiveThemes = 'activeThemes',
|
||||
UseSystemColorScheme = 'useSystemColorScheme',
|
||||
UseTranslucentUI = 'useTranslucentUI',
|
||||
AutoLightThemeIdentifier = 'autoLightThemeIdentifier',
|
||||
AutoDarkThemeIdentifier = 'autoDarkThemeIdentifier',
|
||||
}
|
||||
|
||||
export type LocalPrefValue = {
|
||||
[LocalPrefKey.ActiveThemes]: string[]
|
||||
[LocalPrefKey.UseSystemColorScheme]: boolean
|
||||
[LocalPrefKey.UseTranslucentUI]: boolean
|
||||
[LocalPrefKey.AutoLightThemeIdentifier]: string
|
||||
[LocalPrefKey.AutoDarkThemeIdentifier]: string
|
||||
}
|
||||
Reference in New Issue
Block a user