Added the ability to apply custom opacity to all elements. (#140)

* Added the ability to apply custom opacity to all elements.

* Apply menu opacity to settings menu
This commit is contained in:
Jas Singh
2024-08-16 22:50:05 -07:00
committed by GitHub
parent b3b397d479
commit 0bcbe05a0b
19 changed files with 61 additions and 30 deletions

View File

@@ -86,6 +86,7 @@ const options = mkOptions(OPTIONS, {
},
notification: {
background: opt(tertiary_colors.mantle),
opacity: opt(100),
actions: {
background: opt(secondary_colors.lavender),
text: opt(colors.mantle),
@@ -103,6 +104,7 @@ const options = mkOptions(OPTIONS, {
osd: {
enable: opt(true),
orientation: opt<OSDOrientation>("vertical"),
opacity: opt(100),
bar_container: opt(colors.crust),
icon_container: opt(tertiary_colors.lavender),
bar_color: opt(tertiary_colors.lavender),
@@ -119,6 +121,7 @@ const options = mkOptions(OPTIONS, {
bar: {
floating: opt(false),
margin_top: opt("0.5em"),
opacity: opt(100),
margin_bottom: opt("0em"),
margin_sides: opt("0.5em"),
border_radius: opt("0.4em"),
@@ -130,6 +133,7 @@ const options = mkOptions(OPTIONS, {
monochrome: opt(false),
spacing: opt("0.25em"),
radius: opt("0.3em"),
opacity: opt(100),
background: opt(colors.base2),
hover: opt(colors.surface1),
text: opt(colors.lavender),
@@ -213,6 +217,7 @@ const options = mkOptions(OPTIONS, {
menus: {
monochrome: opt(false),
background: opt(colors.crust),
opacity: opt(100),
cards: opt(colors.base),
card_radius: opt("0.4em"),
border: {