Skip to content
Snippets Groups Projects
Verified Commit b0530089 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix some colors switched to yellow by accident

parent f5c62329
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,10 @@ Image {
case Crypto.TOFU:
return "image://colorimage/:/icons/icons/ui/lock.png?" + Nheko.colors.buttonText;
default:
return "image://colorimage/:/icons/icons/ui/lock.png?#d6c020";
return "image://colorimage/:/icons/icons/ui/lock.png?" + Nheko.theme.error;
}
} else {
return "image://colorimage/:/icons/icons/ui/unlock.png?#d6c020";
return "image://colorimage/:/icons/icons/ui/unlock.png?" + Nheko.theme.error;
}
}
ToolTip.visible: ma.hovered
......
......@@ -62,6 +62,7 @@ class Theme : public QPalette
Q_PROPERTY(QColor alternateButton READ alternateButton CONSTANT)
Q_PROPERTY(QColor separator READ separator CONSTANT)
Q_PROPERTY(QColor red READ red CONSTANT)
Q_PROPERTY(QColor error READ error CONSTANT)
Q_PROPERTY(QColor orange READ orange CONSTANT)
public:
Theme() {}
......@@ -72,6 +73,7 @@ public:
QColor alternateButton() const { return alternateButton_; }
QColor separator() const { return separator_; }
QColor red() const { return red_; }
QColor error() const { return QColor(0xdd, 0x3d, 0x3d); }
QColor orange() const { return orange_; }
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment