Increase context menus minimum opacity

The previous opacity could be unreadable when there was lots of text
behind, notably for the account menu with the room list behind.
This commit is contained in:
miruka 2020-07-17 02:59:37 -04:00
parent 716ac2a0af
commit 504f917b40
2 changed files with 12 additions and 2 deletions

View File

@ -150,7 +150,12 @@ controls:
color checkedOverlay: controls.button.checkedOverlay
menu:
color background: controls.button.background
color background: hsluv(
colors.hue,
colors.bgSaturation * 2,
colors.intensity,
Math.max(0.9, colors.opacity),
)
color border: "black"
real borderWidth: 2

View File

@ -153,7 +153,12 @@ controls:
color checkedOverlay: controls.button.checkedOverlay
menu:
color background: controls.button.background
color background: hsluv(
colors.hue,
colors.bgSaturation * 2,
colors.intensity,
Math.max(0.9, colors.opacity),
)
color border: "black"
real borderWidth: 2