mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 11:28:49 +03:00
Change fallback style to fusion
This commit is contained in:
parent
8bf25f3d80
commit
94f5b25888
4 changed files with 13 additions and 21 deletions
2
resources/qtquickcontrols2.conf
Normal file
2
resources/qtquickcontrols2.conf
Normal file
|
@ -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…
Reference in a new issue