1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor: edit default theme

This commit is contained in:
TriKriSta 2018-12-09 17:51:51 +02:00
parent e80dbe2d83
commit 61720c1591
6 changed files with 47 additions and 0 deletions

View File

@ -102,6 +102,7 @@
<file>themes/default/fileTransferInstance/filetransferWidget.css</file>
<file>themes/default/acceptCall/acceptCall.svg</file>
<file>themes/default/rejectCall/rejectCall.svg</file>
<file>themes/default/global.css</file>
<file>img/login_logo.svg</file>
<file>themes/default/notificationEdge/notificationEdge.css</file>
<file>themes/default/loginScreen/loginScreen.css</file>

View File

@ -26,6 +26,7 @@
#include "src/persistence/toxsave.h"
#include "src/video/camerasource.h"
#include "src/widget/loginscreen.h"
#include "src/widget/style.h"
#include "src/widget/translator.h"
#include "widget/widget.h"
#include <QApplication>
@ -371,6 +372,8 @@ int main(int argc, char* argv[])
QObject::connect(a.get(), &QApplication::aboutToQuit, cleanup);
a->setStyleSheet(Style::getStylesheet(QStringLiteral("global.css")));
// Run
int errorcode = a->exec();

View File

@ -78,3 +78,7 @@ QWidget#circleWidgetContainer > QLabel#name
font: @big;
color: @white;
}
QLabel {
color: white
}

24
themes/default/global.css Normal file
View File

@ -0,0 +1,24 @@
QLabel
{
color: black
}
QLineEdit
{
color: black
}
QTextEdit
{
color: black
}
QSpinBox
{
color: black
}
QListView
{
color: black
}

View File

@ -62,6 +62,16 @@ QLabel, QCheckBox, QProgressBar
color: black;
}
QLineEdit
{
color: #f1f1f1
}
QListView
{
color: #f1f1f1
}
QCheckBox:disabled
{
color: gray;

View File

@ -69,6 +69,11 @@ QTabWidget
background-color: white;
}
QTabBar::tab:!selected
{
color: #5e5e5e;
}
QScrollArea
{
background-color: white;