overhaul style

This commit is contained in:
lucy 2026-09-15 21:33:50 +02:00
commit 0bc8d5f13a
10 changed files with 32 additions and 25 deletions

View file

@ -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
}
}