matrixion/resources/styles/system.qss
Max Sandholm 19b526d453 Use system color scheme (using a Qt stylesheet) #104
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.
2017-11-16 16:33:52 +02:00

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);
}