Fix some colors switched to yellow by accident
This commit is contained in:
parent
f5c6232937
commit
b0530089ab
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user