Fix hover, systray menu and theming

This commit is contained in:
Amaro Lopes
2025-09-24 17:02:46 -03:00
parent 161988cbb6
commit c66d043ece
8 changed files with 116 additions and 53 deletions

View File

@@ -8,11 +8,7 @@ Singleton {
property var component: null
property string type: ""
property int width: 100
property int height: 100
property int x: component? component.implicitWidth : 0
property int y: component? (component.implicitHeight + Theme.gaps) : 100
property bool visible: false
}

View File

@@ -9,7 +9,9 @@ Singleton {
readonly property int barSize: 35
readonly property double heightGaps: barSize * 0.8
readonly property string fontFamily: "Source Code Pro"
readonly property string fontFamily: "Noto Sans"
readonly property string fontFamilyMono: "SauceCodePro Nerd Font Mono"
readonly property int pixelSize: 14
readonly property int gaps: 5
readonly property int animationDuration: 200
@@ -23,25 +25,25 @@ Singleton {
}
readonly property var walColorsText: walColors.text().split('\n')
property double barOpacity: 0.2
property color backgroudColor: walColorsText[0]
property color color2: walColorsText[1]
property color color3: walColorsText[2]
property color color4: walColorsText[3]
property color color5: walColorsText[4]
property color color6: walColorsText[5]
property color color7: walColorsText[6]
property color foregroundColor: walColorsText[7]
property color backgroudColorBright: walColorsText[8]
property color color2Bright: walColorsText[9]
property color color3Bright: walColorsText[10]
property color color4Bright: walColorsText[11]
property color color5Bright: walColorsText[12]
property color color6Bright: walColorsText[13]
property color color7Bright: walColorsText[14]
property color foregroundColorBright: walColorsText[15]
readonly property double barOpacity: 0.2
readonly property color backgroudColor: walColorsText[0]
readonly property color color2: walColorsText[1]
readonly property color color3: walColorsText[2]
readonly property color color4: walColorsText[3]
readonly property color color5: walColorsText[4]
readonly property color color6: walColorsText[5]
readonly property color color7: walColorsText[6]
readonly property color foregroundColor: walColorsText[7]
readonly property color backgroudColorBright: walColorsText[8]
readonly property color color2Bright: walColorsText[9]
readonly property color color3Bright: walColorsText[10]
readonly property color color4Bright: walColorsText[11]
readonly property color color5Bright: walColorsText[12]
readonly property color color6Bright: walColorsText[13]
readonly property color color7Bright: walColorsText[14]
readonly property color foregroundColorBright: walColorsText[15]
readonly property color textColor: foregroundColor
readonly property color textColor: foregroundColorBright
// background "#0e1721"
// color2 "#463e44"
// color3 "#7b4834"