mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
19b526d453
The color scheme of nheko obeys the default color theme of Qt (i.e. the system theme). It uses a Qt stylesheet to accomplish this, which means replacing the color theme with a custom theme would only be a matter of writing a new style sheet and loading it into the app.
39 lines
942 B
Text
39 lines
942 B
Text
OverlayWidget, OverlayWidget > * {
|
|
background-color: palette(window);
|
|
}
|
|
|
|
#mainContent, #mainContent > * {
|
|
background-color: palette(base);
|
|
}
|
|
|
|
TimelineView, TimelineView > *, TimelineItem, TimelineItem > * {
|
|
background-color: palette(base);
|
|
}
|
|
|
|
FlatButton {
|
|
qproperty-foregroundColor: palette(text);
|
|
}
|
|
|
|
RoomInfoListItem {
|
|
qproperty-highlightedBackgroundColor: palette(highlight);
|
|
qproperty-hoverBackgroundColor: palette(dark);
|
|
qproperty-backgroundColor: palette(window);
|
|
|
|
qproperty-titleColor: palette(text);
|
|
qproperty-subtitleColor: palette(text);
|
|
|
|
qproperty-highlightedTitleColor: palette(text);
|
|
qproperty-highlightedSubtitleColor: palette(text);
|
|
}
|
|
|
|
LoadingIndicator {
|
|
qproperty-color: palette(text);
|
|
}
|
|
|
|
#ChatPageLoadSpinner {
|
|
qproperty-color: #acc7dc;
|
|
}
|
|
|
|
UserInfoWidget, UserInfoWidget > * {
|
|
background-color: palette(window);
|
|
}
|