Made shadows togglable with default set to false. (#786)

This commit is contained in:
Jas Singh
2025-02-19 17:23:57 -08:00
committed by GitHub
parent f8bbd0af80
commit 3419315e65
9 changed files with 15 additions and 7 deletions

View File

@@ -120,6 +120,7 @@ const options = mkOptions(CONFIG, {
label: opt(colors.lavender),
border: opt(secondary_colors.surface0),
border_radius: opt('0.6em'),
enableShadow: opt(false),
shadow: opt('0px 1px 2px 1px #16161e'),
shadowMargins: opt('4px 4px'),
time: opt(secondary_colors.overlay1),
@@ -151,6 +152,7 @@ const options = mkOptions(CONFIG, {
active_monitor: opt(true),
radius: opt('0.4em'),
margins: opt('7px 7px 7px 7px'),
enableShadow: opt(false),
shadow: opt('0px 0px 3px 2px #16161e'),
location: opt<OSDAnchor>('right'),
muted_zero: opt(false),
@@ -162,6 +164,7 @@ const options = mkOptions(CONFIG, {
layer: opt<WindowLayer>('top'),
margin_top: opt('0.5em'),
opacity: opt(100),
enableShadow: opt(false),
shadow: opt('0px 1px 2px 1px #16161e'),
shadowMargins: opt('0px 0px 4px 0px'),
margin_bottom: opt('0em'),
@@ -436,6 +439,7 @@ const options = mkOptions(CONFIG, {
radius: opt('0.7em'),
color: opt(colors.surface0),
},
enableShadow: opt(false),
shadow: opt('0px 0px 3px 1px #16161e'),
shadowMargins: opt('5px 5px'),
text: opt(colors.text),