From 3ce21b972e623b46241dfcb85d5eec3eda69adee Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 8 Oct 2025 09:55:17 -0700 Subject: [PATCH] startupfeedback: Always tint background with theme color Currently with a light theme, often colors calculated from icons are incredible bright and vivid. This can cause the user to be flashed all of a sudden with a bright color when launching an app. This commit adopt the dark background blending scheme for all usecases. --- .../mobileshell/qml/components/StartupFeedbackWindows.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/components/mobileshell/qml/components/StartupFeedbackWindows.qml b/components/mobileshell/qml/components/StartupFeedbackWindows.qml index 63553da0..02f2b14b 100644 --- a/components/mobileshell/qml/components/StartupFeedbackWindows.qml +++ b/components/mobileshell/qml/components/StartupFeedbackWindows.qml @@ -167,10 +167,9 @@ Item { id: background anchors.fill: parent - // Tint the background color if a dark theme is being used - color: Kirigami.ColorUtils.brightnessForColor(Kirigami.Theme.backgroundColor) === Kirigami.ColorUtils.Dark ? - Kirigami.ColorUtils.tintWithAlpha(colorGenerator.dominant, Kirigami.Theme.backgroundColor, 0.7) : - colorGenerator.dominant + // Tint the background color so that it is less prominent + // This avoids flashing the user all of a sudden with bright colors + color: Kirigami.ColorUtils.tintWithAlpha(colorGenerator.dominant, Kirigami.Theme.backgroundColor, 0.7) Kirigami.ImageColors { id: colorGenerator