Add positive/negativeBackground to theme
This commit is contained in:
parent
37e762d241
commit
4bee87ed5d
|
@ -22,9 +22,6 @@ int animationDuration: 100
|
||||||
real loadingElementsOpacity: 0.8
|
real loadingElementsOpacity: 0.8
|
||||||
real disabledElementsOpacity: 0.3
|
real disabledElementsOpacity: 0.3
|
||||||
|
|
||||||
icons:
|
|
||||||
string preferredPack: "thin"
|
|
||||||
color colorize: "white" // "transparent" to disable
|
|
||||||
|
|
||||||
fontSize:
|
fontSize:
|
||||||
int smaller: 13 * fontScale
|
int smaller: 13 * fontScale
|
||||||
|
@ -56,7 +53,13 @@ colors:
|
||||||
hsluv(hue, saturation * 1.25, intensity * 42, Math.max(0.6, opacity))
|
hsluv(hue, saturation * 1.25, intensity * 42, Math.max(0.6, opacity))
|
||||||
|
|
||||||
color strongAccentBackground:
|
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 brightText: hsluv(0, 0, intensity * 100)
|
||||||
color text: hsluv(0, 0, intensity * 80)
|
color text: hsluv(0, 0, intensity * 80)
|
||||||
|
@ -77,6 +80,10 @@ colors:
|
||||||
duration: 10000
|
duration: 10000
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
|
|
||||||
|
icons:
|
||||||
|
string preferredPack: "thin"
|
||||||
|
color colorize: "white" // "transparent" to disable
|
||||||
|
|
||||||
|
|
||||||
// Generic UI controls
|
// Generic UI controls
|
||||||
|
|
||||||
|
@ -135,7 +142,7 @@ controls:
|
||||||
int borderWidth: 1
|
int borderWidth: 1
|
||||||
color border: "transparent"
|
color border: "transparent"
|
||||||
color focusedBorder: colors.accentBackground
|
color focusedBorder: colors.accentBackground
|
||||||
color errorBorder: colors.errorText
|
color errorBorder: colors.negativeBackground
|
||||||
|
|
||||||
color text: colors.text
|
color text: colors.text
|
||||||
color focusedText: colors.text
|
color focusedText: colors.text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user