diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-21 14:10:48 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-21 14:10:48 -0800 |
commit | a2b1266c15d70d5c49d33ab43b15d6ba5abd89f7 (patch) | |
tree | ab7f0e0105c69e6989c4e527fc75aeac5200468e /mobile-widgets | |
parent | dbb6256b67ca33bbbf8a071e31112afef7160f38 (diff) | |
download | subsurface-a2b1266c15d70d5c49d33ab43b15d6ba5abd89f7.tar.gz |
mobile/UI: hardcore passiveNotification colors
I was convinced that I had fixed this while working on this set of patches,
but apparently I didn't. This simply hardcodes good colors.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/3rdparty/0016-hardcode-notification-colors.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/mobile-widgets/3rdparty/0016-hardcode-notification-colors.patch b/mobile-widgets/3rdparty/0016-hardcode-notification-colors.patch new file mode 100644 index 000000000..aa7bbab81 --- /dev/null +++ b/mobile-widgets/3rdparty/0016-hardcode-notification-colors.patch @@ -0,0 +1,37 @@ +From bc5f1e89ab035c8ec1112d2efb5ce6277cd56e44 Mon Sep 17 00:00:00 2001 +From: Dirk Hohndel <dirk@hohndel.org> +Date: Mon, 21 Dec 2020 13:42:10 -0800 +Subject: [PATCH] hardcode notification colors + +Clearly I do not understand how the Kirigami theming is supposed to +work. Giving up. + +Signed-off-by: Dirk Hohndel <dirk@hohndel.org> +--- + src/controls/templates/private/PassiveNotification.qml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/controls/templates/private/PassiveNotification.qml b/src/controls/templates/private/PassiveNotification.qml +index a6caf4a5..ceb57aca 100644 +--- a/src/controls/templates/private/PassiveNotification.qml ++++ b/src/controls/templates/private/PassiveNotification.qml +@@ -171,6 +171,7 @@ Controls.Popup { + + Controls.Label { + id: label ++ color: subsurfaceTheme.primaryTextColor + Layout.maximumWidth: Math.min(root.parent.width - Kirigami.Units.largeSpacing * 4, implicitWidth) + elide: Text.ElideRight + wrapMode: Text.WordWrap +@@ -196,7 +197,7 @@ Controls.Popup { + yOffset: 2 + } + radius: Kirigami.Units.smallSpacing * 2 +- color: Kirigami.Theme.backgroundColor ++ color: subsurfaceTheme.primaryColor + opacity: 0.8 + } + } +-- +2.25.1 + |