From ee734c17a571a04d9a4a8726a077ff16422b490d Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 13 May 2017 00:35:28 -0700 Subject: [PATCH] UI: Add themeID values for colors to style sheets --- UI/data/themes/Dark.qss | 15 +++++++++++++++ UI/data/themes/Default.qss | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/UI/data/themes/Dark.qss b/UI/data/themes/Dark.qss index 28f7c28db..adcfea131 100644 --- a/UI/data/themes/Dark.qss +++ b/UI/data/themes/Dark.qss @@ -508,3 +508,18 @@ QLabel#errorLabel { color: rgb(192, 0, 0); font-weight: bold; } + +* [themeID="warning"] { + color: rgb(192, 128, 0); + font-weight: bold; +} + +* [themeID="error"] { + color: rgb(192, 0, 0); + font-weight: bold; +} + +* [themeID="good"] { + color: rgb(0, 192, 0); + font-weight: bold; +} diff --git a/UI/data/themes/Default.qss b/UI/data/themes/Default.qss index e2aefc9ab..b411e0d3e 100644 --- a/UI/data/themes/Default.qss +++ b/UI/data/themes/Default.qss @@ -73,3 +73,18 @@ QLabel#errorLabel { color: rgb(192, 0, 0); font-weight: bold; } + +* [themeID="warning"] { + color: rgb(192, 128, 0); + font-weight: bold; +} + +* [themeID="error"] { + color: rgb(192, 0, 0); + font-weight: bold; +} + +* [themeID="good"] { + color: rgb(0, 128, 0); + font-weight: bold; +}