diff --git a/panels/notification/plugin/DropShadowText.qml b/panels/notification/plugin/DropShadowText.qml index f1098b886..28d6dca21 100644 --- a/panels/notification/plugin/DropShadowText.qml +++ b/panels/notification/plugin/DropShadowText.qml @@ -8,5 +8,7 @@ import org.deepin.dtk 1.0 import org.deepin.ds.notificationcenter Text { - color: Qt.rgba(1, 1, 1, 1) + color: DTK.themeType === ApplicationHelper.DarkType ? + Qt.rgba(255, 255, 255, 0.7) : + Qt.rgba(0, 0, 0, 0.75) } diff --git a/panels/notification/plugin/NotifyItemContent.qml b/panels/notification/plugin/NotifyItemContent.qml index 53c75259f..d3c86f6af 100644 --- a/panels/notification/plugin/NotifyItemContent.qml +++ b/panels/notification/plugin/NotifyItemContent.qml @@ -102,7 +102,7 @@ NotifyItem { id: closePlaceHolder anchors { top: parent.top - topMargin: -height / 2 + topMargin: -height / 2 + 2 right: parent.right rightMargin: -width / 2 + 6 } @@ -149,10 +149,10 @@ NotifyItem { color1: Palette { normal { common: ("transparent") - crystal: Qt.rgba(240 / 255.0, 240 / 255.0, 240 / 255.0, 0.5) + crystal: Qt.rgba(240 / 255.0, 240 / 255.0, 240 / 255.0, 0.9) } normalDark { - crystal: Qt.rgba(24 / 255.0, 24 / 255.0, 24 / 255.0, 0.5) + crystal: Qt.rgba(24 / 255.0, 24 / 255.0, 24 / 255.0, 0.9) } } color2: color1 diff --git a/panels/notification/plugin/SettingActionButton.qml b/panels/notification/plugin/SettingActionButton.qml index 7651ecb96..10dec134a 100644 --- a/panels/notification/plugin/SettingActionButton.qml +++ b/panels/notification/plugin/SettingActionButton.qml @@ -36,10 +36,10 @@ ActionButton { color1: Palette { normal { common: ("transparent") - crystal: Qt.rgba(240 / 255.0, 240 / 255.0, 240 / 255.0, 0.5) + crystal: Qt.rgba(240 / 255.0, 240 / 255.0, 240 / 255.0, 0.9) } normalDark { - crystal: Qt.rgba(24 / 255.0, 24 / 255.0, 24 / 255.0, 0.5) + crystal: Qt.rgba(24 / 255.0, 24 / 255.0, 24 / 255.0, 0.9) } }