Change main color to white [skip ci]

master
huxingyi 2020-10-14 22:12:05 +09:30
parent 4474b1ebc1
commit aa5c0c90c7
4 changed files with 6 additions and 6 deletions

View File

@ -1445,7 +1445,7 @@ void DocumentWindow::initLockButton(QPushButton *button)
button->setFont(font);
button->setFixedSize(Theme::toolIconSize, Theme::toolIconSize);
button->setStyleSheet("QPushButton {color: #f7d9c8}");
button->setStyleSheet("QPushButton {color: " + Theme::white.name() + "}");
button->setFocusPolicy(Qt::NoFocus);
}

View File

@ -147,7 +147,7 @@ void ExportPreviewWidget::initAwesomeButton(QPushButton *button)
{
button->setFont(Theme::awesome()->font(Theme::toolIconFontSize));
button->setFixedSize(Theme::toolIconSize, Theme::toolIconSize);
button->setStyleSheet("QPushButton {color: #f7d9c8}");
button->setStyleSheet("QPushButton {color: " + Theme::white.name() + "}");
button->setFocusPolicy(Qt::NoFocus);
}

View File

@ -305,16 +305,16 @@ void PoseEditWidget::initSideButton(QPushButton *button)
button->setFont(font);
button->setFixedSize(Theme::toolIconSize, Theme::toolIconSize);
button->setStyleSheet("QPushButton {color: #f7d9c8}");
button->setStyleSheet("QPushButton {color: " + Theme::white.name() + "}");
button->setFocusPolicy(Qt::NoFocus);
}
void PoseEditWidget::updateSideButtonState(QPushButton *button, bool visible)
{
if (visible)
button->setStyleSheet("QPushButton {color: #f7d9c8}");
button->setStyleSheet("QPushButton {color: " + Theme::white.name() + "}");
else
button->setStyleSheet("QPushButton {color: #252525}");
button->setStyleSheet("QPushButton {color: " + Theme::black.name() + "}");
}
void PoseEditWidget::showPoseSettingPopup(const QPoint &pos)

View File

@ -23,7 +23,7 @@ QColor Theme::red = QColor(0xfc, 0x66, 0x21);
QColor Theme::green = QColor(0xaa, 0xeb, 0xc4);
//QColor Theme::blue = QColor(0x2a, 0x5a, 0xac);
QColor Theme::blue = QColor(0x0d, 0xa9, 0xf1);
QColor Theme::white = QColor(0xf7, 0xd9, 0xc8);
QColor Theme::white = Qt::white; //QColor(0xf7, 0xd9, 0xc8);
QColor Theme::black = QColor(0x25,0x25,0x25);
QColor Theme::dark = QColor(0x19,0x19,0x19);
QColor Theme::altDark = QColor(0x16,0x16,0x16);