From 87ff343cc33f73ab8ecacae7d174086ebc9cf6c7 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 6 Sep 2019 14:12:32 -0400 Subject: [PATCH] Reduce quotes brightness in room subtitles --- src/qml/SidePane/RoomDelegate.qml | 4 +++- src/themes/Default.qpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/qml/SidePane/RoomDelegate.qml b/src/qml/SidePane/RoomDelegate.qml index 4b32cf37..79f7806c 100644 --- a/src/qml/SidePane/RoomDelegate.qml +++ b/src/qml/SidePane/RoomDelegate.qml @@ -81,7 +81,9 @@ HTileDelegate { return text.replace( /< *span +class=['"]?quote['"]? *>(.+)<\/ *span *>/, - '$1', + '$1', ) } diff --git a/src/themes/Default.qpl b/src/themes/Default.qpl index 877fb84e..ded6661b 100644 --- a/src/themes/Default.qpl +++ b/src/themes/Default.qpl @@ -233,9 +233,11 @@ sidePane: color background: "transparent" color name: colors.text - color subtitle: colors.dimText color lastEventDate: colors.halfDimText + color subtitle: colors.dimText + color subtitleQuote: hsluv(135, colors.saturation * 2.25, 65) + settingsButton: color background: colors.inputBackground