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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user