summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-13 22:40:13 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-13 22:40:13 +0800
commit6487f0a1778efc94f192326c1048f3d05d1b408f (patch)
tree17b1a14bb03865fa9437300e458f93b37ab7cbc9 /config
parentf0b03a1611181b8ff20fc8698bcdb8fa267d23c9 (diff)
finish styled top bar
Diffstat (limited to 'config')
-rw-r--r--config/Colors.qml65
-rw-r--r--config/Style.qml1
2 files changed, 51 insertions, 15 deletions
diff --git a/config/Colors.qml b/config/Colors.qml
index 1ba73f2..d45bad9 100644
--- a/config/Colors.qml
+++ b/config/Colors.qml
@@ -3,19 +3,54 @@ import Quickshell
import QtQuick
Singleton {
- property color background: WallustColors.background
- property color foreground: WallustColors.foreground
- property color surface: WallustColors.color0
- property color primary: WallustColors.color3
- property color alt: WallustColors.color4
- property color accent: WallustColors.color1
- property color success: WallustColors.color2
- property color warning: WallustColors.color3
- property color error: WallustColors.color1
- property color info: WallustColors.color4
- property color textSecondary: WallustColors.color7
- property color border: WallustColors.color8
- property color highlight: WallustColors.color5
- property color disabled: WallustColors.color6
- property color muted: WallustColors.color2
+ readonly property color background: WallustColors.background
+ readonly property color foreground: WallustColors.foreground
+ readonly property color surface: WallustColors.color0
+ readonly property color primary: WallustColors.color3
+ readonly property color alt: WallustColors.color4
+ readonly property color accent: WallustColors.color1
+ readonly property color success: WallustColors.color2
+ readonly property color warning: WallustColors.color3
+ readonly property color error: WallustColors.color1
+ readonly property color info: WallustColors.color4
+ readonly property color textSecondary: WallustColors.color7
+ readonly property color border: WallustColors.color8
+ readonly property color highlight: WallustColors.color5
+ readonly property color disabled: WallustColors.color6
+ readonly property color muted: WallustColors.color2
+
+ // actual colors
+ // @define-color BLACK rgba (59, 66, 82, 1);
+ // @define-color RED rgba (191, 97, 106, 1);
+ // @define-color GREEN rgba (163, 190, 140, 1);
+ // @define-color YELLOW rgba (235, 203, 139, 1);
+ // @define-color BLUE rgba (129, 161, 193, 1);
+ // @define-color MAGENTA rgba (180, 142, 173, 1);
+ // @define-color CYAN rgba (136, 192, 208, 1);
+ // @define-color WHITE rgba (229, 233, 240, 1);
+ // @define-color ALTBLACK rgba (76, 86, 106, 1);
+ // @define-color ALTRED rgba (191, 97, 106, 1);
+ // @define-color ALTGREEN rgba (163, 190, 140, 1);
+ // @define-color ALTYELLOW rgba (235, 203, 139, 1);
+ // @define-color ALTBLUE rgba (129, 161, 193, 1);
+ // @define-color ALTMAGENTA rgba (180, 142, 173, 1);
+ // @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)
}
diff --git a/config/Style.qml b/config/Style.qml
index b6d222b..e2c47a0 100644
--- a/config/Style.qml
+++ b/config/Style.qml
@@ -47,6 +47,7 @@ Singleton {
readonly property int smaller: 12
readonly property int normal: 13
readonly property int larger: 15
+ readonly property int largerr: 16
readonly property int large: 18
readonly property int extraLarge: 28
}