diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-15 17:57:44 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-15 17:57:44 +0800 |
| commit | be089dbdc687d3e0a685a1891c075f46bf2ac635 (patch) | |
| tree | 7347924a73bd91a161965e9c38920f8802ab4b71 | |
| parent | 1bdac23e33c1dce0ca849e39ed3d6b3caef2533e (diff) | |
fix: cololr
| -rw-r--r-- | bar/Power.qml | 2 | ||||
| -rw-r--r-- | config/Colors.qml | 49 |
2 files changed, 34 insertions, 17 deletions
diff --git a/bar/Power.qml b/bar/Power.qml index a1d50f5..ff4f0a7 100644 --- a/bar/Power.qml +++ b/bar/Power.qml @@ -35,7 +35,7 @@ Item { Icon { text: Icons.power.shutdown font.pixelSize: Style.font.size.large - color: Qt.rgba(191, 97, 106, 1) + color: Colors.red } // Icon { diff --git a/config/Colors.qml b/config/Colors.qml index d45bad9..fe81638 100644 --- a/config/Colors.qml +++ b/config/Colors.qml @@ -37,20 +37,37 @@ Singleton { // @define-color ALTCYAN rgba (143, 188, 187, 1); // @define-color ALTWHITE rgba (236, 239, 244, 1); - readonly property color black: Qt.rgba(59, 66, 82) - readonly property color red: Qt.rgba(191, 97, 106) - readonly property color green: Qt.rgba(163, 190, 140) - readonly property color yellow: Qt.rgba(235, 203, 139) - readonly property color blue: Qt.rgba(129, 161, 193) - readonly property color magenta: Qt.rgba(180, 142, 173) - readonly property color cyan: Qt.rgba(136, 192, 208) - readonly property color white: Qt.rgba(229, 233, 240) - readonly property color altBlack: Qt.rgba(76, 86, 106) - readonly property color altRed: Qt.rgba(191, 97, 106) - readonly property color altGreen: Qt.rgba(163, 190, 140) - readonly property color altYellow: Qt.rgba(235, 203, 139) - readonly property color altBlue: Qt.rgba(129, 161, 193) - readonly property color altMagenta: Qt.rgba(180, 142, 173) - readonly property color altCyan: Qt.rgba(143, 188, 187) - readonly property color altWhite: Qt.rgba(236, 239, 244) + // readonly property color black: Qt.rgba(59, 66, 82) + // readonly property color red: Qt.rgba(191, 97, 106) + // readonly property color green: Qt.rgba(163, 190, 140) + // readonly property color yellow: Qt.rgba(235, 203, 139) + // readonly property color blue: Qt.rgba(129, 161, 193) + // readonly property color magenta: Qt.rgba(180, 142, 173) + // readonly property color cyan: Qt.rgba(136, 192, 208) + // readonly property color white: Qt.rgba(229, 233, 240) + // readonly property color altBlack: Qt.rgba(76, 86, 106) + // readonly property color altRed: Qt.rgba(191, 97, 106) + // readonly property color altGreen: Qt.rgba(163, 190, 140) + // readonly property color altYellow: Qt.rgba(235, 203, 139) + // readonly property color altBlue: Qt.rgba(129, 161, 193) + // readonly property color altMagenta: Qt.rgba(180, 142, 173) + // readonly property color altCyan: Qt.rgba(143, 188, 187) + // readonly property color altWhite: Qt.rgba(236, 239, 244) + + readonly property color black: Qt.rgba(59 / 255, 66 / 255, 82 / 255, 1) + readonly property color red: Qt.rgba(191 / 255, 97 / 255, 106 / 255, 1) + readonly property color green: Qt.rgba(163 / 255, 190 / 255, 140 / 255, 1) + readonly property color yellow: Qt.rgba(235 / 255, 203 / 255, 139 / 255, 1) + readonly property color blue: Qt.rgba(129 / 255, 161 / 255, 193 / 255, 1) + readonly property color magenta: Qt.rgba(180 / 255, 142 / 255, 173 / 255, 1) + readonly property color cyan: Qt.rgba(136 / 255, 192 / 255, 208 / 255, 1) + readonly property color white: Qt.rgba(229 / 255, 233 / 255, 240 / 255, 1) + readonly property color altBlack: Qt.rgba(76 / 255, 86 / 255, 106 / 255, 1) + readonly property color altRed: Qt.rgba(191 / 255, 97 / 255, 106 / 255, 1) + readonly property color altGreen: Qt.rgba(163 / 255, 190 / 255, 140 / 255, 1) + readonly property color altYellow: Qt.rgba(235 / 255, 203 / 255, 139 / 255, 1) + readonly property color altBlue: Qt.rgba(129 / 255, 161 / 255, 193 / 255, 1) + readonly property color altMagenta: Qt.rgba(180 / 255, 142 / 255, 173 / 255, 1) + readonly property color altCyan: Qt.rgba(143 / 255, 188 / 255, 187 / 255, 1) + readonly property color altWhite: Qt.rgba(236 / 255, 239 / 255, 244 / 255, 1) } |
