Change fallback style to fusion

pull/161/head
Nicolas Werner 5 years ago
parent 8bf25f3d80
commit 94f5b25888
  1. 2
      resources/qtquickcontrols2.conf
  2. 2
      resources/res.qrc
  3. 18
      resources/styles/nheko-dark.qss
  4. 12
      resources/styles/nheko.qss

@ -0,0 +1,2 @@
[Controls]
FallbackStyle=Fusion

@ -109,6 +109,8 @@
<file>styles/nheko-dark.qss</file>
</qresource>
<qresource prefix="/">
<file>qtquickcontrols2.conf</file>
<file>qml/TimelineView.qml</file>
<file>qml/Avatar.qml</file>
<file>qml/ImageButton.qml</file>

@ -31,7 +31,6 @@ UserMentionsWidget > * {
}
QLineEdit,
QListWidget,
WelcomePage,
LoginPage,
RegisterPage,
@ -160,7 +159,7 @@ CommunitiesListItem {
qproperty-backgroundColor: #2d3139;
qproperty-avatarBgColor: #202228;
qproperty-avatarFgColor: white;
qproperty-avatarFgColor: palette(window);
}
LoadingIndicator {
@ -177,11 +176,9 @@ UserInfoWidget {
border-bottom: 1px solid #202228;
}
QToolTip,
QPushButton,
QComboBox,
QAbstractItemView,
QMenu,
QComboBox > * {
background: white;
color: #202228;
@ -189,19 +186,13 @@ QComboBox > * {
QComboBox:hover,
QAbstractItemView::item:hover,
QMenu::item:hover,
QPushButton:hover {
background: #38a3d8;
selection-background-color: #38a3d8;
}
QMenu::item {
border: 1px solid transparent; /* reserve space for selection border */
}
QAbstractItemView::item:selected,
QMenu::item:selected {
QAbstractItemView::item:selected {
border-color: darkblue;
background: grey;
}
@ -267,6 +258,11 @@ Toggle {
qproperty-trackColor: rgb(240, 240, 240);
}
QListWidget {
color: #caccd1;
background-color: #202228;
}
SnackBar {
qproperty-textColor: #caccd1;
qproperty-bgColor: #202228;

@ -183,7 +183,6 @@ TopSection {
WelcomePage,
LoginPage,
QToolTip,
QComboBox,
QPushButton,
RegisterPage {
@ -191,22 +190,14 @@ RegisterPage {
color: #333;
}
QMenu {
background-color: white;
color: #333;
border: 1px solid darkblue;
}
QComboBox:hover,
QAbstractItemView::item:hover,
QMenu::item:hover,
QPushButton:hover {
background: #38a3d8;
selection-background-color: #38a3d8;
}
QAbstractItemView::item:selected,
QMenu::item:selected {
QAbstractItemView::item:selected {
border-color: darkblue;
background: grey;
}
@ -244,6 +235,7 @@ TextField {
qproperty-labelColor: #333;
}
QListWidget,
TextInputWidget,
QTextEdit,
QLineEdit {

Loading…
Cancel
Save