change styledIcon
This commit is contained in:
parent
ea5f49426d
commit
0f434b3431
4 changed files with 26 additions and 29 deletions
|
|
@ -6,23 +6,20 @@ import qs
|
|||
import qs.settings
|
||||
|
||||
|
||||
Image {
|
||||
IconImage {
|
||||
id: root
|
||||
required property string iconName
|
||||
source: Quickshell.iconPath(iconName)
|
||||
width: Config.cfg.appearance.iconSize
|
||||
height: Config.cfg.appearance.iconSize
|
||||
sourceSize.width: Config.cfg.appearance.iconSize
|
||||
sourceSize.height: Config.cfg.appearance.iconSize
|
||||
fillMode: Image.PreserveAspectFit
|
||||
smooth: true
|
||||
mipmap: true
|
||||
|
||||
|
||||
|
||||
layer.enabled: true
|
||||
layer.smooth: true
|
||||
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 1.0
|
||||
colorizationColor: Colors.c.base05
|
||||
brightness: 1.0
|
||||
colorization: 0.5
|
||||
colorizationColor: Colors.c.base0D
|
||||
brightness: 0.5
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue