From fd552b8a9c07fc70d850511034cd76f25c8f1825 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 16 Sep 2017 17:43:34 +0300 Subject: [PATCH] Remove off-white color --- src/LoginPage.cc | 8 ++++---- src/LogoutDialog.cc | 2 +- src/MainWindow.cc | 2 +- src/RegisterPage.cc | 10 +++++----- src/UserInfoWidget.cc | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/LoginPage.cc b/src/LoginPage.cc index 87485878..6a22fa1b 100644 --- a/src/LoginPage.cc +++ b/src/LoginPage.cc @@ -26,7 +26,7 @@ LoginPage::LoginPage(QSharedPointer client, QWidget *parent) , inferredServerAddress_() , client_{ client } { - setStyleSheet("background-color: #f9f9f9"); + setStyleSheet("background-color: #fff"); top_layout_ = new QVBoxLayout(); @@ -74,7 +74,7 @@ LoginPage::LoginPage(QSharedPointer client, QWidget *parent) matrixid_input_->setTextColor("#333333"); matrixid_input_->setLabel(tr("Matrix ID")); matrixid_input_->setInkColor("#555459"); - matrixid_input_->setBackgroundColor("#f9f9f9"); + matrixid_input_->setBackgroundColor("#fff"); matrixid_input_->setPlaceholderText(tr("e.g @joe:matrix.org")); spinner_ = new LoadingIndicator(this); @@ -94,14 +94,14 @@ LoginPage::LoginPage(QSharedPointer client, QWidget *parent) password_input_->setTextColor("#333333"); password_input_->setLabel(tr("Password")); password_input_->setInkColor("#555459"); - password_input_->setBackgroundColor("#f9f9f9"); + password_input_->setBackgroundColor("#fff"); password_input_->setEchoMode(QLineEdit::Password); serverInput_ = new TextField(this); serverInput_->setTextColor("#333333"); serverInput_->setLabel("Homeserver address"); serverInput_->setInkColor("#555459"); - serverInput_->setBackgroundColor("#f9f9f9"); + serverInput_->setBackgroundColor("#fff"); serverInput_->setPlaceholderText("matrix.org"); serverInput_->hide(); diff --git a/src/LogoutDialog.cc b/src/LogoutDialog.cc index 0b862b6e..768efcd3 100644 --- a/src/LogoutDialog.cc +++ b/src/LogoutDialog.cc @@ -26,7 +26,7 @@ LogoutDialog::LogoutDialog(QWidget *parent) : QFrame(parent) { setMaximumSize(400, 400); - setStyleSheet("background-color: #f9f9f9"); + setStyleSheet("background-color: #fff"); auto layout = new QVBoxLayout(this); layout->setSpacing(30); diff --git a/src/MainWindow.cc b/src/MainWindow.cc index c76657d7..676b05d8 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc @@ -34,7 +34,7 @@ MainWindow::MainWindow(QWidget *parent) setSizePolicy(sizePolicy); setWindowTitle("nheko"); setObjectName("MainWindow"); - setStyleSheet("QWidget#MainWindow {background-color: #f9f9f9}"); + setStyleSheet("QWidget#MainWindow {background-color: #fff}"); restoreWindowSize(); setMinimumSize(QSize(conf::window::minWidth, conf::window::minHeight)); diff --git a/src/RegisterPage.cc b/src/RegisterPage.cc index f29dd268..ce9f43a6 100644 --- a/src/RegisterPage.cc +++ b/src/RegisterPage.cc @@ -26,7 +26,7 @@ RegisterPage::RegisterPage(QSharedPointer client, QWidget *parent) : QWidget(parent) , client_(client) { - setStyleSheet("background-color: #f9f9f9"); + setStyleSheet("background-color: #fff"); top_layout_ = new QVBoxLayout(); @@ -71,27 +71,27 @@ RegisterPage::RegisterPage(QSharedPointer client, QWidget *parent) username_input_->setTextColor("#333333"); username_input_->setLabel(tr("Username")); username_input_->setInkColor("#555459"); - username_input_->setBackgroundColor("#f9f9f9"); + username_input_->setBackgroundColor("#fff"); password_input_ = new TextField(); password_input_->setTextColor("#333333"); password_input_->setLabel(tr("Password")); password_input_->setInkColor("#555459"); - password_input_->setBackgroundColor("#f9f9f9"); + password_input_->setBackgroundColor("#fff"); password_input_->setEchoMode(QLineEdit::Password); password_confirmation_ = new TextField(); password_confirmation_->setTextColor("#333333"); password_confirmation_->setLabel(tr("Password confirmation")); password_confirmation_->setInkColor("#555459"); - password_confirmation_->setBackgroundColor("#f9f9f9"); + password_confirmation_->setBackgroundColor("#fff"); password_confirmation_->setEchoMode(QLineEdit::Password); server_input_ = new TextField(); server_input_->setTextColor("#333333"); server_input_->setLabel(tr("Home Server")); server_input_->setInkColor("#555459"); - server_input_->setBackgroundColor("#f9f9f9"); + server_input_->setBackgroundColor("#fff"); form_layout_->addWidget(username_input_, Qt::AlignHCenter, 0); form_layout_->addWidget(password_input_, Qt::AlignHCenter, 0); diff --git a/src/UserInfoWidget.cc b/src/UserInfoWidget.cc index fe5e2566..b5926c58 100644 --- a/src/UserInfoWidget.cc +++ b/src/UserInfoWidget.cc @@ -45,7 +45,7 @@ UserInfoWidget::UserInfoWidget(QWidget *parent) userAvatar_ = new Avatar(this); userAvatar_->setLetter(QChar('?')); userAvatar_->setSize(55); - userAvatar_->setBackgroundColor("#f9f9f9"); + userAvatar_->setBackgroundColor("#fff"); userAvatar_->setTextColor("#333333"); QFont nameFont("Open Sans SemiBold");