diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-10-17 09:36:16 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-11-23 20:06:15 +0100 |
commit | cff46d97a8636f41dd5ac2ace9dc00ecb5f4c51c (patch) | |
tree | 1075c0d230367f9b8a3b28537b399746417c85e5 /resources/qml/TimelineView.qml | |
parent | Fix section layout issues and pagination issues (diff) | |
download | nheko-cff46d97a8636f41dd5ac2ace9dc00ecb5f4c51c.tar.xz |
Add native themeing to QML (where possible)
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index b0a8853e..d1ada3ea 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -12,8 +12,9 @@ import "./delegates" Rectangle { anchors.fill: parent - SystemPalette { id: colors; colorGroup: SystemPalette.Active } - SystemPalette { id: inactiveColors; colorGroup: SystemPalette.Disabled } + property var colors: currentActivePalette + property var systemInactive: SystemPalette { colorGroup: SystemPalette.Disabled } + property var inactiveColors: currentInactivePalette ? currentInactivePalette : systemInactive property int avatarSize: 32 color: colors.window |