From 210012ea27b7a06b1ec87f48e40cdc551c9d537f Mon Sep 17 00:00:00 2001 From: Wu JiangYu Date: Thu, 26 Nov 2026 19:21:34 +0800 Subject: [PATCH] fix(launcher): correct folder title color in windowed light mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use black folder titles in the windowed launcher's light theme for both common and crystal palettes. Keep folder titles white in dark mode and always white in fullscreen mode. Log: Correct folder title color in windowed light mode Influence: Windowed folder titles follow the theme; fullscreen titles stay white fix(launcher): 修复窗口模式浅色主题下的应用组标题颜色 窗口模式下 common 和 crystal 配色均在浅色主题使用黑色标题, 深色主题使用白色标题;全屏模式下标题始终为白色。 Log: 修复窗口模式浅色主题下的应用组标题颜色 Influence: 窗口模式应用组标题跟随主题,全屏模式标题保持白色 (cherry picked from commit 2c61c27c9716843697d3f62d9c28d7a46c6df754) PMS: BUG-384409 --- qml/FolderGridViewPopup.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/FolderGridViewPopup.qml b/qml/FolderGridViewPopup.qml index 33d2aa0b..a86c15b7 100644 --- a/qml/FolderGridViewPopup.qml +++ b/qml/FolderGridViewPopup.qml @@ -111,8 +111,8 @@ Popup { property Palette titleTextColor: Palette { normal { - common: Qt.rgba(0, 0, 0, 1) - crystal: Qt.rgba(1, 1, 1, 1) + common: isWindowedMode ? Qt.rgba(0, 0, 0, 1) : Qt.rgba(1, 1, 1, 1) + crystal: isWindowedMode ? Qt.rgba(0, 0, 0, 1) : Qt.rgba(1, 1, 1, 1) } normalDark { common: Qt.rgba(1, 1, 1, 1)