Add positive/negativeBackground to theme

This commit is contained in:
miruka 2019-08-28 16:41:58 -04:00
parent 37e762d241
commit 4bee87ed5d

View File

@ -22,9 +22,6 @@ int animationDuration: 100
real loadingElementsOpacity: 0.8
real disabledElementsOpacity: 0.3
icons:
string preferredPack: "thin"
color colorize: "white" // "transparent" to disable
fontSize:
int smaller: 13 * fontScale
@ -56,7 +53,13 @@ colors:
hsluv(hue, saturation * 1.25, intensity * 42, Math.max(0.6, opacity))
color strongAccentBackground:
hsluv(hue, saturation * 2, intensity * 52, Math.max(0.6, opacity))
hsluv(hue, saturation * 2.25, intensity * 52, Math.max(0.6, opacity))
color positiveBackground:
hsluv(155, saturation * 2.25, intensity * 52, Math.max(0.6, opacity))
color negativeBackground:
hsluv(0, saturation * 2.25, intensity * 52, Math.max(0.6, opacity))
color brightText: hsluv(0, 0, intensity * 100)
color text: hsluv(0, 0, intensity * 80)
@ -77,6 +80,10 @@ colors:
duration: 10000
loops: Animation.Infinite
icons:
string preferredPack: "thin"
color colorize: "white" // "transparent" to disable
// Generic UI controls
@ -135,7 +142,7 @@ controls:
int borderWidth: 1
color border: "transparent"
color focusedBorder: colors.accentBackground
color errorBorder: colors.errorText
color errorBorder: colors.negativeBackground
color text: colors.text
color focusedText: colors.text