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

@@ -53,6 +53,7 @@ export const BarSettings = (): JSX.Element => {
enums={['none', 'full', 'top', 'right', 'bottom', 'left', 'horizontal', 'vertical']}
/>
<Option opt={options.theme.bar.border.width} title="Bar Border Width" type="string" />
<Option opt={options.theme.bar.enableShadow} title="Enable Shadow" type="boolean" />
<Option
opt={options.theme.bar.shadow}
title="Bar Shadow"

View File

@@ -65,6 +65,7 @@ export const BarGeneral = (): JSX.Element => {
max={10000}
increment={25}
/>
<Option opt={options.theme.bar.menus.enableShadow} title="Enable Shadow" type="boolean" />
<Option
opt={options.theme.bar.menus.shadow}
title="Menu Shadow"

View File

@@ -22,6 +22,7 @@ export const NotificationSettings = (): JSX.Element => {
enums={['top left', 'top', 'top right', 'right', 'bottom right', 'bottom', 'bottom left', 'left']}
/>
<Option opt={options.theme.notification.border_radius} title="Border Radius" type="string" />
<Option opt={options.theme.notification.enableShadow} title="Enable Shadow" type="boolean" />
<Option
opt={options.theme.notification.shadow}
title="Notification Shadow"

View File

@@ -49,6 +49,7 @@ export const OSDSettings = (): JSX.Element => {
type="string"
/>
<Option opt={options.theme.osd.enableShadow} title="Enable Shadow" type="boolean" />
<Option
opt={options.theme.osd.shadow}
title="OSD Shadow"