Improve positive/middle/negativeBackground colors

Make them a bit lighter, and use these background colors
for presence orbs and room header device verified status instead
of text colors
This commit is contained in:
miruka 2020-07-10 13:27:35 -04:00
parent 70351fb16f
commit 1c3099d440
3 changed files with 14 additions and 14 deletions

View File

@ -135,8 +135,8 @@ Rectangle {
icon.color: icon.color:
chat.roomInfo.unverified_devices ? chat.roomInfo.unverified_devices ?
theme.colors.warningText : theme.colors.middleBackground :
theme.colors.positiveText theme.colors.positiveBackground
toolTip.text: toolTip.text:
chat.roomInfo.unverified_devices ? chat.roomInfo.unverified_devices ?

View File

@ -51,13 +51,13 @@ colors:
color strongAccentElement: hsluv(hue, saturation * 1.5, intensity * 72, 1) color strongAccentElement: hsluv(hue, saturation * 1.5, intensity * 72, 1)
color positiveBackground: color positiveBackground:
hsluv(155, saturation * 1.5, intensity * 52, 1) hsluv(155, saturation * 1.5, intensity * 65, 1)
color middleBackground: color middleBackground:
hsluv(60, saturation * 1.5, intensity * 52, 1) hsluv(60, saturation * 1.5, intensity * 65, 1)
color negativeBackground: color negativeBackground:
hsluv(0, saturation * 1.5, intensity * 52, 1) hsluv(0, saturation * 1.5, intensity * 54, 1)
color alertBackground: negativeBackground color alertBackground: negativeBackground
@ -268,9 +268,9 @@ controls:
int dimLightness: colors.dimColoredTextIntensity int dimLightness: colors.dimColoredTextIntensity
presence: presence:
color online: colors.positiveText color online: colors.positiveBackground
color unavailable: colors.warningText color unavailable: colors.middleBackground
color offline: hsluv(0, 0, 30, 1) color offline: hsluv(0, 0, 60, 1)
color border: "black" color border: "black"
real opacity: 1.0 real opacity: 1.0
real radius: 6.0 * uiScale real radius: 6.0 * uiScale

View File

@ -54,13 +54,13 @@ colors:
color strongAccentElement: hsluv(hue, saturation * 1.5, intensity * 72, 1) color strongAccentElement: hsluv(hue, saturation * 1.5, intensity * 72, 1)
color positiveBackground: color positiveBackground:
hsluv(155, saturation * 1.5, intensity * 52, 1) hsluv(155, saturation * 1.5, intensity * 65, 1)
color middleBackground: color middleBackground:
hsluv(60, saturation * 1.5, intensity * 52, 1) hsluv(60, saturation * 1.5, intensity * 65, 1)
color negativeBackground: color negativeBackground:
hsluv(0, saturation * 1.5, intensity * 52, 1) hsluv(0, saturation * 1.5, intensity * 54, 1)
color alertBackground: negativeBackground color alertBackground: negativeBackground
@ -274,9 +274,9 @@ controls:
int dimLightness: colors.dimColoredTextIntensity int dimLightness: colors.dimColoredTextIntensity
presence: presence:
color online: colors.positiveText color online: colors.positiveBackground
color unavailable: colors.warningText color unavailable: colors.middleBackground
color offline: hsluv(0, 0, 30, 1) color offline: hsluv(0, 0, 60, 1)
color border: "black" color border: "black"
real opacity: 1.0 real opacity: 1.0
real radius: 6.0 * uiScale real radius: 6.0 * uiScale