summary refs log tree commit diff
path: root/src/ui/Theme.cpp
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-12-26 19:58:08 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2022-10-01 10:59:17 +0200
commitf5d5bea8408daf39aaa09b18c6ed4bd2f7c52a3f (patch)
treeff96af92204120fa866edfa6bd050a645cb2cf5e /src/ui/Theme.cpp
parentLoad components on demand (diff)
downloadnheko-f5d5bea8408daf39aaa09b18c6ed4bd2f7c52a3f.tar.xz
Add green theme color, make "error" configurable
Diffstat (limited to 'src/ui/Theme.cpp')
-rw-r--r--src/ui/Theme.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/Theme.cpp b/src/ui/Theme.cpp
index f3bd5b78..e6290adf 100644
--- a/src/ui/Theme.cpp
+++ b/src/ui/Theme.cpp
@@ -69,16 +69,22 @@ Theme::Theme(QStringView theme)
         sidebarBackground_ = QColor(0x23, 0x36, 0x49);
         alternateButton_   = QColor(0xcc, 0xcc, 0xcc);
         red_               = QColor(0xa8, 0x23, 0x53);
+        green_             = QColor("green");
         orange_            = QColor(0xfc, 0xbe, 0x05);
+        error_             = QColor("#dd3d3d");
     } else if (theme == u"dark") {
         sidebarBackground_ = QColor(0x2d, 0x31, 0x39);
         alternateButton_   = QColor(0x41, 0x4A, 0x59);
         red_               = QColor(0xa8, 0x23, 0x53);
+        green_             = QColor("green");
         orange_            = QColor(0xfc, 0xc5, 0x3a);
+        error_             = QColor("#dd3d3d");
     } else {
         sidebarBackground_ = p.window().color();
         alternateButton_   = p.dark().color();
         red_               = QColor(Qt::GlobalColor::red);
+        green_             = QColor("green");
         orange_            = QColor(0xff, 0xa5, 0x00); // SVG orange
+        error_             = QColor("#dd3d3d");
     }
 }