mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
client/settings/disable shadows: add an option to enable or disable shadows
This commit is contained in:
parent
0a9c0234e2
commit
85dd99a3c4
@ -64,6 +64,7 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
|
||||
"weeklyBackupEnabled",
|
||||
"monthlyBackupEnabled",
|
||||
"motionEnabled",
|
||||
"shadowsEnabled",
|
||||
"maxContentWidth",
|
||||
"compressImages",
|
||||
"downloadImagesAutomatically",
|
||||
|
@ -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 },
|
||||
|
@ -94,6 +94,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
|
||||
// Appearance
|
||||
splitEditorOrientation: "horziontal" | "vertical";
|
||||
motionEnabled: boolean;
|
||||
shadowsEnabled: boolean;
|
||||
codeNoteTheme: string;
|
||||
|
||||
initialized: boolean;
|
||||
|
Loading…
x
Reference in New Issue
Block a user