summary refs log tree commit diff
path: root/resources/styles
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-22 19:09:19 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-22 19:09:19 +0200
commit929b2df6fb28a1e431027afb032f5eeefd0106b7 (patch)
tree1382bcf577b1ea9ef7e1fb7b812a4f28f30bb9bf /resources/styles
parentKeep track of newly joined rooms in the settings manager (diff)
parentUse system color scheme (using a Qt stylesheet) #104 (diff)
downloadnheko-929b2df6fb28a1e431027afb032f5eeefd0106b7.tar.xz
Merge branch 'theme'
Diffstat (limited to 'resources/styles')
-rw-r--r--resources/styles/nheko.qss56
-rw-r--r--resources/styles/system.qss39
2 files changed, 95 insertions, 0 deletions
diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss
new file mode 100644

index 00000000..caaac6b9 --- /dev/null +++ b/resources/styles/nheko.qss
@@ -0,0 +1,56 @@ +* { + color: #333; +} + +QLabel { + color: #333; +} + +#chatPage, #chatPage > * { background-color: white; } + +TimelineView, TimelineView > * { background-color: white; } + +QMenu, QMenu > * { background-color: white; } + +FlatButton { qproperty-foregroundColor: #333; } + +RaisedButton { qproperty-foregroundColor: white; } + +RoomInfoListItem +{ + qproperty-highlightedBackgroundColor: #38A3D8; + qproperty-hoverBackgroundColor: rgba(200, 200, 200, 128); + qproperty-backgroundColor: white; + + qproperty-titleColor: #333; + qproperty-subtitleColor: #5d6565; + + qproperty-highlightedTitleColor: white; + qproperty-highlightedSubtitleColor: white; +} + +#ChatPageLoadSpinner { + qproperty-color: #acc7dc; +} + +#FileUploadSpinner { + qproperty-color: #333; +} + +UserInfoWidget, UserInfoWidget > * { + background-color: #d6dde3; + color: #ebebeb; +} + +Avatar { + qproperty-textColor: black; + qproperty-backgroundColor: #eee; +} + +#displayNameLabel { + color: #171919; +} + +#userIdLabel { + color: #555459; +} diff --git a/resources/styles/system.qss b/resources/styles/system.qss new file mode 100644
index 00000000..2f15271f --- /dev/null +++ b/resources/styles/system.qss
@@ -0,0 +1,39 @@ +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); +}