client/settings/disable shadows: add an option to enable or disable shadows

This commit is contained in:
Adorian Doran 2025-08-23 00:43:49 +03:00
parent 0a9c0234e2
commit 85dd99a3c4
3 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,7 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
"weeklyBackupEnabled",
"monthlyBackupEnabled",
"motionEnabled",
"shadowsEnabled",
"maxContentWidth",
"compressImages",
"downloadImagesAutomatically",

View File

@ -153,6 +153,8 @@ const defaultOptions: DefaultOption[] = [
isSynced: false
},
{ name: "motionEnabled", value: "true", isSynced: false },
{ name: "shadowsEnabled", value: "true", isSynced: false },
// Internationalization
{ name: "locale", value: "en", isSynced: true },

View File

@ -94,6 +94,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
// Appearance
splitEditorOrientation: "horziontal" | "vertical";
motionEnabled: boolean;
shadowsEnabled: boolean;
codeNoteTheme: string;
initialized: boolean;