define accent color in theme
This commit is contained in:
@@ -38,7 +38,7 @@ chatterino--PageHeader {
|
||||
chatterino--TitleLabel {
|
||||
font-family: "Segoe UI light";
|
||||
font-size: 24px;
|
||||
color: #4FC3F7;
|
||||
color: #4FC3F7; /* Should this be same as accent color? */
|
||||
}
|
||||
|
||||
chatterino--DescriptionLabel {
|
||||
|
||||
+2
-2
@@ -103,7 +103,7 @@ void AB_THEME_CLASS::actuallyUpdate(double hue, double multiplier)
|
||||
this->tabs.selected = {
|
||||
QColor("#000"),
|
||||
{QColor("#b4d7ff"), QColor("#b4d7ff"), QColor("#b4d7ff")},
|
||||
{QColor("#00aeef"), QColor("#00aeef"), QColor("#00aeef")}};
|
||||
{this->accent, this->accent, this->accent}};
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -123,7 +123,7 @@ void AB_THEME_CLASS::actuallyUpdate(double hue, double multiplier)
|
||||
this->tabs.selected = {
|
||||
QColor("#fff"),
|
||||
{QColor("#555555"), QColor("#555555"), QColor("#555555")},
|
||||
{QColor("#00aeef"), QColor("#00aeef"), QColor("#00aeef")}};
|
||||
{this->accent, this->accent, this->accent}};
|
||||
}
|
||||
|
||||
// scrollbar
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
} line;
|
||||
};
|
||||
|
||||
QColor accent;
|
||||
|
||||
/// WINDOW
|
||||
struct {
|
||||
QColor background;
|
||||
|
||||
@@ -206,8 +206,9 @@ void SettingsDialog::selectTab(SettingsDialogTab *tab, bool byUser)
|
||||
}
|
||||
|
||||
tab->setSelected(true);
|
||||
tab->setStyleSheet("background: #222; color: #4FC3F7;"
|
||||
"/*border: 1px solid #555; border-right: none;*/");
|
||||
tab->setStyleSheet(
|
||||
"background: #222; color: #4FC3F7;" // Should this be same as accent color?
|
||||
"/*border: 1px solid #555; border-right: none;*/");
|
||||
this->selectedTab_ = tab;
|
||||
if (byUser)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user