diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-28 19:33:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-28 19:33:35 +0800 |
| commit | aa61a728976a53129df138e7e64431833a4fccba (patch) | |
| tree | 1bb6743d23a075344fc890529e0cf3c3d3633ffa /config | |
| parent | 1d921b13ff9bf20bc76ea5c8275360c6708a249c (diff) | |
refactor(colors): use background2 instead of d2, and use a proper config for transparency
Diffstat (limited to 'config')
| -rw-r--r-- | config/Colors.qml | 5 | ||||
| -rw-r--r-- | config/General.qml | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/Colors.qml b/config/Colors.qml index 8caa964..4b5c6a9 100644 --- a/config/Colors.qml +++ b/config/Colors.qml @@ -2,9 +2,12 @@ pragma Singleton import Quickshell import QtQuick +import qs.config + Singleton { readonly property color background1: WallustColors.color8 - readonly property color background2: WallustColors.color0 + // readonly property color background2: WallustColors.color0 + readonly property color background2: Qt.rgba(WallustColors.color0.r, WallustColors.color0.g, WallustColors.color0.b, General.accentTransparency) readonly property color background3: WallustColors.background readonly property color a1: WallustColors.color9 readonly property color a2: WallustColors.color1 diff --git a/config/General.qml b/config/General.qml index 0a93d33..32179e8 100644 --- a/config/General.qml +++ b/config/General.qml @@ -21,4 +21,6 @@ Singleton { readonly property string animationProp: "scale" readonly property real springAnimationSpring: 8 readonly property real springAnimationDamping: 0.4 + + readonly property double accentTransparency: 0.15 } |
