mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Make notifications a bit easier to read
This commit is contained in:
parent
27350cf51e
commit
bb66254c58
1 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@ UserSettings::applyTheme()
|
||||||
lightActive.setColor(QPalette::ToolTipBase, lightActive.base().color());
|
lightActive.setColor(QPalette::ToolTipBase, lightActive.base().color());
|
||||||
lightActive.setColor(QPalette::ToolTipText, lightActive.text().color());
|
lightActive.setColor(QPalette::ToolTipText, lightActive.text().color());
|
||||||
lightActive.setColor(QPalette::Link, QColor("#0077b5"));
|
lightActive.setColor(QPalette::Link, QColor("#0077b5"));
|
||||||
lightActive.setColor(QPalette::ButtonText, QColor("gray"));
|
lightActive.setColor(QPalette::ButtonText, QColor(Qt::gray));
|
||||||
QApplication::setPalette(lightActive);
|
QApplication::setPalette(lightActive);
|
||||||
} else if (this->theme() == "dark") {
|
} else if (this->theme() == "dark") {
|
||||||
stylefile.setFileName(":/styles/styles/nheko-dark.qss");
|
stylefile.setFileName(":/styles/styles/nheko-dark.qss");
|
||||||
|
@ -130,7 +130,7 @@ UserSettings::applyTheme()
|
||||||
/*button*/ QColor(0xff, 0xff, 0xff),
|
/*button*/ QColor(0xff, 0xff, 0xff),
|
||||||
/*light*/ QColor("#caccd1"),
|
/*light*/ QColor("#caccd1"),
|
||||||
/*dark*/ QColor("#2d3139"),
|
/*dark*/ QColor("#2d3139"),
|
||||||
/*mid*/ QColor(110, 110, 110), // not used anywhere, this is for debugging
|
/*mid*/ QColor(110, 110, 110),
|
||||||
/*text*/ QColor("#caccd1"),
|
/*text*/ QColor("#caccd1"),
|
||||||
/*bright_text*/ QColor(0xff, 0xff, 0xff),
|
/*bright_text*/ QColor(0xff, 0xff, 0xff),
|
||||||
/*base*/ QColor("#2d3139"),
|
/*base*/ QColor("#2d3139"),
|
||||||
|
@ -139,7 +139,7 @@ UserSettings::applyTheme()
|
||||||
darkActive.setColor(QPalette::ToolTipBase, darkActive.base().color());
|
darkActive.setColor(QPalette::ToolTipBase, darkActive.base().color());
|
||||||
darkActive.setColor(QPalette::ToolTipText, darkActive.text().color());
|
darkActive.setColor(QPalette::ToolTipText, darkActive.text().color());
|
||||||
darkActive.setColor(QPalette::Link, QColor("#38a3d8"));
|
darkActive.setColor(QPalette::Link, QColor("#38a3d8"));
|
||||||
darkActive.setColor(QPalette::ButtonText, QColor(77, 77, 77));
|
darkActive.setColor(QPalette::ButtonText, QColor(0x90, 0x90, 0x90));
|
||||||
QApplication::setPalette(darkActive);
|
QApplication::setPalette(darkActive);
|
||||||
} else {
|
} else {
|
||||||
stylefile.setFileName(":/styles/styles/system.qss");
|
stylefile.setFileName(":/styles/styles/system.qss");
|
||||||
|
|
Loading…
Reference in a new issue