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>
|
<file>styles/nheko-dark.qss</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
|
<file>qtquickcontrols2.conf</file>
|
||||||
|
|
||||||
<file>qml/TimelineView.qml</file>
|
<file>qml/TimelineView.qml</file>
|
||||||
<file>qml/Avatar.qml</file>
|
<file>qml/Avatar.qml</file>
|
||||||
<file>qml/ImageButton.qml</file>
|
<file>qml/ImageButton.qml</file>
|
||||||
|
|
|
@ -31,7 +31,6 @@ UserMentionsWidget > * {
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit,
|
QLineEdit,
|
||||||
QListWidget,
|
|
||||||
WelcomePage,
|
WelcomePage,
|
||||||
LoginPage,
|
LoginPage,
|
||||||
RegisterPage,
|
RegisterPage,
|
||||||
|
@ -160,7 +159,7 @@ CommunitiesListItem {
|
||||||
qproperty-backgroundColor: #2d3139;
|
qproperty-backgroundColor: #2d3139;
|
||||||
|
|
||||||
qproperty-avatarBgColor: #202228;
|
qproperty-avatarBgColor: #202228;
|
||||||
qproperty-avatarFgColor: white;
|
qproperty-avatarFgColor: palette(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadingIndicator {
|
LoadingIndicator {
|
||||||
|
@ -177,11 +176,9 @@ UserInfoWidget {
|
||||||
border-bottom: 1px solid #202228;
|
border-bottom: 1px solid #202228;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolTip,
|
|
||||||
QPushButton,
|
QPushButton,
|
||||||
QComboBox,
|
QComboBox,
|
||||||
QAbstractItemView,
|
QAbstractItemView,
|
||||||
QMenu,
|
|
||||||
QComboBox > * {
|
QComboBox > * {
|
||||||
background: white;
|
background: white;
|
||||||
color: #202228;
|
color: #202228;
|
||||||
|
@ -189,19 +186,13 @@ QComboBox > * {
|
||||||
|
|
||||||
QComboBox:hover,
|
QComboBox:hover,
|
||||||
QAbstractItemView::item:hover,
|
QAbstractItemView::item:hover,
|
||||||
QMenu::item:hover,
|
|
||||||
QPushButton:hover {
|
QPushButton:hover {
|
||||||
background: #38a3d8;
|
background: #38a3d8;
|
||||||
selection-background-color: #38a3d8;
|
selection-background-color: #38a3d8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QMenu::item {
|
QAbstractItemView::item:selected {
|
||||||
border: 1px solid transparent; /* reserve space for selection border */
|
|
||||||
}
|
|
||||||
|
|
||||||
QAbstractItemView::item:selected,
|
|
||||||
QMenu::item:selected {
|
|
||||||
border-color: darkblue;
|
border-color: darkblue;
|
||||||
background: grey;
|
background: grey;
|
||||||
}
|
}
|
||||||
|
@ -267,6 +258,11 @@ Toggle {
|
||||||
qproperty-trackColor: rgb(240, 240, 240);
|
qproperty-trackColor: rgb(240, 240, 240);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListWidget {
|
||||||
|
color: #caccd1;
|
||||||
|
background-color: #202228;
|
||||||
|
}
|
||||||
|
|
||||||
SnackBar {
|
SnackBar {
|
||||||
qproperty-textColor: #caccd1;
|
qproperty-textColor: #caccd1;
|
||||||
qproperty-bgColor: #202228;
|
qproperty-bgColor: #202228;
|
||||||
|
|
|
@ -183,7 +183,6 @@ TopSection {
|
||||||
|
|
||||||
WelcomePage,
|
WelcomePage,
|
||||||
LoginPage,
|
LoginPage,
|
||||||
QToolTip,
|
|
||||||
QComboBox,
|
QComboBox,
|
||||||
QPushButton,
|
QPushButton,
|
||||||
RegisterPage {
|
RegisterPage {
|
||||||
|
@ -191,22 +190,14 @@ RegisterPage {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu {
|
|
||||||
background-color: white;
|
|
||||||
color: #333;
|
|
||||||
border: 1px solid darkblue;
|
|
||||||
}
|
|
||||||
|
|
||||||
QComboBox:hover,
|
QComboBox:hover,
|
||||||
QAbstractItemView::item:hover,
|
QAbstractItemView::item:hover,
|
||||||
QMenu::item:hover,
|
|
||||||
QPushButton:hover {
|
QPushButton:hover {
|
||||||
background: #38a3d8;
|
background: #38a3d8;
|
||||||
selection-background-color: #38a3d8;
|
selection-background-color: #38a3d8;
|
||||||
}
|
}
|
||||||
|
|
||||||
QAbstractItemView::item:selected,
|
QAbstractItemView::item:selected {
|
||||||
QMenu::item:selected {
|
|
||||||
border-color: darkblue;
|
border-color: darkblue;
|
||||||
background: grey;
|
background: grey;
|
||||||
}
|
}
|
||||||
|
@ -244,6 +235,7 @@ TextField {
|
||||||
qproperty-labelColor: #333;
|
qproperty-labelColor: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListWidget,
|
||||||
TextInputWidget,
|
TextInputWidget,
|
||||||
QTextEdit,
|
QTextEdit,
|
||||||
QLineEdit {
|
QLineEdit {
|
||||||
|
|
Loading…
Reference in a new issue