From 8b8577e2fa58218680ba12d8ca46cba1511a1414 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Mon, 11 Aug 2025 07:37:33 +0000 Subject: [PATCH] sync: from linuxdeepin/dtkdeclarative Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: https://github.com/linuxdeepin/dtkdeclarative/pull/511 --- qt6/src/qml/FlowStyle.qml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/qt6/src/qml/FlowStyle.qml b/qt6/src/qml/FlowStyle.qml index 6a461a79..c317cf8d 100644 --- a/qt6/src/qml/FlowStyle.qml +++ b/qt6/src/qml/FlowStyle.qml @@ -108,15 +108,23 @@ QtObject { } normalDark { common: Qt.rgba(1, 1, 1, 0.1) - crystal: Qt.rgba(1, 1, 1, 0.1) + crystal: Qt.rgba(1, 1, 1, 0.08) } hovered { common: ("#e1e1e1") - crystal: Qt.rgba(16.0 / 255, 16.0 / 255, 16.0 / 255, 0.2) + crystal: Qt.rgba(0, 0, 0, 0.2) + } + hoveredDark { + common: Qt.rgba(1, 1, 1, 0.2) + crystal: Qt.rgba(1, 1, 1, 0.2) } pressed { common: ("#bcc4d0") - crystal: Qt.rgba(16.0 / 255, 16.0 / 255, 16.0 / 255, 0.15) + crystal: Qt.rgba(0, 0, 0, 0.15) + } + pressedDark { + common: Qt.rgba(1, 1, 1, 0.05) + crystal: Qt.rgba(1, 1, 1, 0.05) } } @@ -207,14 +215,15 @@ QtObject { } normalDark { common: D.DTK.makeColor(D.Color.Highlight).saturation(+10).lightness(+10) - crystal: Qt.rgba(0, 0, 0, 0.1) + crystal: Qt.rgba(1, 1, 1, 0.08) } hovered { common: D.DTK.makeColor(D.Color.Highlight).lightness(+10).saturation(+20).lightness(+10) - crystal: Qt.rgba(16.0 / 255, 16.0 / 255, 16.0 / 255, 0.2) + crystal: Qt.rgba(0, 0, 0, 0.2) } hoveredDark { common: D.DTK.makeColor(D.Color.Highlight).lightness(+10).saturation(+30).lightness(+10) + crystal: Qt.rgba(1, 1, 1, 0.2) } pressed { common: D.DTK.makeColor(D.Color.Highlight).lightness(-10).saturation(+8).lightness(-8) @@ -222,6 +231,7 @@ QtObject { } pressedDark { common: D.DTK.makeColor(D.Color.Highlight).saturation(+10).lightness(+2) + crystal: Qt.rgba(1, 1, 1, 0.05) } disabled { common: D.DTK.makeColor(D.Color.Highlight).saturation(+22).lightness(+14)