mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Fix some colors switched to yellow by accident
This commit is contained in:
parent
f5c6232937
commit
b0530089ab
2 changed files with 4 additions and 2 deletions
|
@ -22,10 +22,10 @@ Image {
|
||||||
case Crypto.TOFU:
|
case Crypto.TOFU:
|
||||||
return "image://colorimage/:/icons/icons/ui/lock.png?" + Nheko.colors.buttonText;
|
return "image://colorimage/:/icons/icons/ui/lock.png?" + Nheko.colors.buttonText;
|
||||||
default:
|
default:
|
||||||
return "image://colorimage/:/icons/icons/ui/lock.png?#d6c020";
|
return "image://colorimage/:/icons/icons/ui/lock.png?" + Nheko.theme.error;
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
ToolTip.visible: ma.hovered
|
||||||
|
|
|
@ -62,6 +62,7 @@ class Theme : public QPalette
|
||||||
Q_PROPERTY(QColor alternateButton READ alternateButton CONSTANT)
|
Q_PROPERTY(QColor alternateButton READ alternateButton CONSTANT)
|
||||||
Q_PROPERTY(QColor separator READ separator CONSTANT)
|
Q_PROPERTY(QColor separator READ separator CONSTANT)
|
||||||
Q_PROPERTY(QColor red READ red CONSTANT)
|
Q_PROPERTY(QColor red READ red CONSTANT)
|
||||||
|
Q_PROPERTY(QColor error READ error CONSTANT)
|
||||||
Q_PROPERTY(QColor orange READ orange CONSTANT)
|
Q_PROPERTY(QColor orange READ orange CONSTANT)
|
||||||
public:
|
public:
|
||||||
Theme() {}
|
Theme() {}
|
||||||
|
@ -72,6 +73,7 @@ public:
|
||||||
QColor alternateButton() const { return alternateButton_; }
|
QColor alternateButton() const { return alternateButton_; }
|
||||||
QColor separator() const { return separator_; }
|
QColor separator() const { return separator_; }
|
||||||
QColor red() const { return red_; }
|
QColor red() const { return red_; }
|
||||||
|
QColor error() const { return QColor(0xdd, 0x3d, 0x3d); }
|
||||||
QColor orange() const { return orange_; }
|
QColor orange() const { return orange_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue