Browse Source

UI: Add themeID values for colors to style sheets

jp9000 8 years ago
parent
commit
ee734c17a5
2 changed files with 30 additions and 0 deletions
  1. 15 0
      UI/data/themes/Dark.qss
  2. 15 0
      UI/data/themes/Default.qss

+ 15 - 0
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;
+}

+ 15 - 0
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;
+}