overhaul style
This commit is contained in:
parent
c40299d6b3
commit
0bc8d5f13a
10 changed files with 32 additions and 25 deletions
|
|
@ -4,8 +4,11 @@ import qs
|
|||
import qs.settings
|
||||
|
||||
Rectangle {
|
||||
property color accent: Colors.c.base02
|
||||
property bool active: false
|
||||
color: active ? Colors.c.base03 : Colors.c.base02
|
||||
color: active ? Colors.c.base02 : Colors.c.base01
|
||||
implicitHeight: Config.cfg.bar.height - 8
|
||||
radius: Config.cfg.appearance.rounding - 4
|
||||
border.width: 1
|
||||
border.color: Colors.c.base03
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,20 +5,17 @@ import QtQuick.Effects
|
|||
import qs
|
||||
import qs.settings
|
||||
|
||||
|
||||
IconImage {
|
||||
id: root
|
||||
required property string iconName
|
||||
property bool fill: true
|
||||
source: Qt.resolvedUrl(
|
||||
fill ? Quickshell.shellDir + "/assets/phosphor-icons/fill/" + iconName + "-fill.svg" :
|
||||
Quickshell.shellDir + "/assets/phosphor-icons/regular/" + iconName + ".svg")
|
||||
source: Qt.resolvedUrl(fill ? Quickshell.shellDir + "/assets/phosphor-icons/fill/" + iconName + "-fill.svg" : Quickshell.shellDir + "/assets/phosphor-icons/regular/" + iconName + ".svg")
|
||||
width: Config.cfg.appearance.iconSize
|
||||
height: Config.cfg.appearance.iconSize
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 0.5
|
||||
colorizationColor: Colors.c.base0D
|
||||
colorization: 1.0
|
||||
colorizationColor: Colors.font
|
||||
brightness: 1.0
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import qs
|
|||
import qs.settings
|
||||
|
||||
Text {
|
||||
color: Colors.c.base05
|
||||
color: Colors.font
|
||||
font.family: Config.cfg.appearance.font
|
||||
font.pixelSize: Config.cfg.appearance.fontSize
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue