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:
chat.roomInfo.unverified_devices ?
theme.colors.warningText :
theme.colors.positiveText
theme.colors.middleBackground :
theme.colors.positiveBackground
toolTip.text:
chat.roomInfo.unverified_devices ?

View File

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

View File

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