Skip to content
Snippets Groups Projects
Verified Commit d59fa42c authored by Nicolas Werner's avatar Nicolas Werner Committed by Joe Donofry
Browse files

Fix some colors switched to yellow by accident

parent fa0f1755
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