mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Remove off-white color
This commit is contained in:
parent
29e21e2970
commit
fd552b8a9c
5 changed files with 12 additions and 12 deletions
|
@ -26,7 +26,7 @@ LoginPage::LoginPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
, inferredServerAddress_()
|
, inferredServerAddress_()
|
||||||
, client_{ client }
|
, client_{ client }
|
||||||
{
|
{
|
||||||
setStyleSheet("background-color: #f9f9f9");
|
setStyleSheet("background-color: #fff");
|
||||||
|
|
||||||
top_layout_ = new QVBoxLayout();
|
top_layout_ = new QVBoxLayout();
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ LoginPage::LoginPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
matrixid_input_->setTextColor("#333333");
|
matrixid_input_->setTextColor("#333333");
|
||||||
matrixid_input_->setLabel(tr("Matrix ID"));
|
matrixid_input_->setLabel(tr("Matrix ID"));
|
||||||
matrixid_input_->setInkColor("#555459");
|
matrixid_input_->setInkColor("#555459");
|
||||||
matrixid_input_->setBackgroundColor("#f9f9f9");
|
matrixid_input_->setBackgroundColor("#fff");
|
||||||
matrixid_input_->setPlaceholderText(tr("e.g @joe:matrix.org"));
|
matrixid_input_->setPlaceholderText(tr("e.g @joe:matrix.org"));
|
||||||
|
|
||||||
spinner_ = new LoadingIndicator(this);
|
spinner_ = new LoadingIndicator(this);
|
||||||
|
@ -94,14 +94,14 @@ LoginPage::LoginPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
password_input_->setTextColor("#333333");
|
password_input_->setTextColor("#333333");
|
||||||
password_input_->setLabel(tr("Password"));
|
password_input_->setLabel(tr("Password"));
|
||||||
password_input_->setInkColor("#555459");
|
password_input_->setInkColor("#555459");
|
||||||
password_input_->setBackgroundColor("#f9f9f9");
|
password_input_->setBackgroundColor("#fff");
|
||||||
password_input_->setEchoMode(QLineEdit::Password);
|
password_input_->setEchoMode(QLineEdit::Password);
|
||||||
|
|
||||||
serverInput_ = new TextField(this);
|
serverInput_ = new TextField(this);
|
||||||
serverInput_->setTextColor("#333333");
|
serverInput_->setTextColor("#333333");
|
||||||
serverInput_->setLabel("Homeserver address");
|
serverInput_->setLabel("Homeserver address");
|
||||||
serverInput_->setInkColor("#555459");
|
serverInput_->setInkColor("#555459");
|
||||||
serverInput_->setBackgroundColor("#f9f9f9");
|
serverInput_->setBackgroundColor("#fff");
|
||||||
serverInput_->setPlaceholderText("matrix.org");
|
serverInput_->setPlaceholderText("matrix.org");
|
||||||
serverInput_->hide();
|
serverInput_->hide();
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ LogoutDialog::LogoutDialog(QWidget *parent)
|
||||||
: QFrame(parent)
|
: QFrame(parent)
|
||||||
{
|
{
|
||||||
setMaximumSize(400, 400);
|
setMaximumSize(400, 400);
|
||||||
setStyleSheet("background-color: #f9f9f9");
|
setStyleSheet("background-color: #fff");
|
||||||
|
|
||||||
auto layout = new QVBoxLayout(this);
|
auto layout = new QVBoxLayout(this);
|
||||||
layout->setSpacing(30);
|
layout->setSpacing(30);
|
||||||
|
|
|
@ -34,7 +34,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
setSizePolicy(sizePolicy);
|
setSizePolicy(sizePolicy);
|
||||||
setWindowTitle("nheko");
|
setWindowTitle("nheko");
|
||||||
setObjectName("MainWindow");
|
setObjectName("MainWindow");
|
||||||
setStyleSheet("QWidget#MainWindow {background-color: #f9f9f9}");
|
setStyleSheet("QWidget#MainWindow {background-color: #fff}");
|
||||||
|
|
||||||
restoreWindowSize();
|
restoreWindowSize();
|
||||||
setMinimumSize(QSize(conf::window::minWidth, conf::window::minHeight));
|
setMinimumSize(QSize(conf::window::minWidth, conf::window::minHeight));
|
||||||
|
|
|
@ -26,7 +26,7 @@ RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
, client_(client)
|
, client_(client)
|
||||||
{
|
{
|
||||||
setStyleSheet("background-color: #f9f9f9");
|
setStyleSheet("background-color: #fff");
|
||||||
|
|
||||||
top_layout_ = new QVBoxLayout();
|
top_layout_ = new QVBoxLayout();
|
||||||
|
|
||||||
|
@ -71,27 +71,27 @@ RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
username_input_->setTextColor("#333333");
|
username_input_->setTextColor("#333333");
|
||||||
username_input_->setLabel(tr("Username"));
|
username_input_->setLabel(tr("Username"));
|
||||||
username_input_->setInkColor("#555459");
|
username_input_->setInkColor("#555459");
|
||||||
username_input_->setBackgroundColor("#f9f9f9");
|
username_input_->setBackgroundColor("#fff");
|
||||||
|
|
||||||
password_input_ = new TextField();
|
password_input_ = new TextField();
|
||||||
password_input_->setTextColor("#333333");
|
password_input_->setTextColor("#333333");
|
||||||
password_input_->setLabel(tr("Password"));
|
password_input_->setLabel(tr("Password"));
|
||||||
password_input_->setInkColor("#555459");
|
password_input_->setInkColor("#555459");
|
||||||
password_input_->setBackgroundColor("#f9f9f9");
|
password_input_->setBackgroundColor("#fff");
|
||||||
password_input_->setEchoMode(QLineEdit::Password);
|
password_input_->setEchoMode(QLineEdit::Password);
|
||||||
|
|
||||||
password_confirmation_ = new TextField();
|
password_confirmation_ = new TextField();
|
||||||
password_confirmation_->setTextColor("#333333");
|
password_confirmation_->setTextColor("#333333");
|
||||||
password_confirmation_->setLabel(tr("Password confirmation"));
|
password_confirmation_->setLabel(tr("Password confirmation"));
|
||||||
password_confirmation_->setInkColor("#555459");
|
password_confirmation_->setInkColor("#555459");
|
||||||
password_confirmation_->setBackgroundColor("#f9f9f9");
|
password_confirmation_->setBackgroundColor("#fff");
|
||||||
password_confirmation_->setEchoMode(QLineEdit::Password);
|
password_confirmation_->setEchoMode(QLineEdit::Password);
|
||||||
|
|
||||||
server_input_ = new TextField();
|
server_input_ = new TextField();
|
||||||
server_input_->setTextColor("#333333");
|
server_input_->setTextColor("#333333");
|
||||||
server_input_->setLabel(tr("Home Server"));
|
server_input_->setLabel(tr("Home Server"));
|
||||||
server_input_->setInkColor("#555459");
|
server_input_->setInkColor("#555459");
|
||||||
server_input_->setBackgroundColor("#f9f9f9");
|
server_input_->setBackgroundColor("#fff");
|
||||||
|
|
||||||
form_layout_->addWidget(username_input_, Qt::AlignHCenter, 0);
|
form_layout_->addWidget(username_input_, Qt::AlignHCenter, 0);
|
||||||
form_layout_->addWidget(password_input_, Qt::AlignHCenter, 0);
|
form_layout_->addWidget(password_input_, Qt::AlignHCenter, 0);
|
||||||
|
|
|
@ -45,7 +45,7 @@ UserInfoWidget::UserInfoWidget(QWidget *parent)
|
||||||
userAvatar_ = new Avatar(this);
|
userAvatar_ = new Avatar(this);
|
||||||
userAvatar_->setLetter(QChar('?'));
|
userAvatar_->setLetter(QChar('?'));
|
||||||
userAvatar_->setSize(55);
|
userAvatar_->setSize(55);
|
||||||
userAvatar_->setBackgroundColor("#f9f9f9");
|
userAvatar_->setBackgroundColor("#fff");
|
||||||
userAvatar_->setTextColor("#333333");
|
userAvatar_->setTextColor("#333333");
|
||||||
|
|
||||||
QFont nameFont("Open Sans SemiBold");
|
QFont nameFont("Open Sans SemiBold");
|
||||||
|
|
Loading…
Reference in a new issue