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