From 4bee87ed5d7e656ebe09a21f007424ab667d829f Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 28 Aug 2019 16:41:58 -0400 Subject: [PATCH] Add positive/negativeBackground to theme --- src/themes/Default.qpl | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/themes/Default.qpl b/src/themes/Default.qpl index 5104d972..5a099bf5 100644 --- a/src/themes/Default.qpl +++ b/src/themes/Default.qpl @@ -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