From 0f434b3431dac973b3a58a1ec8609b545ae48765 Mon Sep 17 00:00:00 2001 From: lucy Date: Mon, 14 Sep 2026 12:32:52 +0200 Subject: [PATCH] change styledIcon --- Colors.js | 32 ++++++++++++++++---------------- settings/settings.json | 4 ++-- shell.qml | 2 +- widgets/StyledIcon.qml | 17 +++++++---------- 4 files changed, 26 insertions(+), 29 deletions(-) diff --git a/Colors.js b/Colors.js index bd6bbb4..b61285d 100644 --- a/Colors.js +++ b/Colors.js @@ -1,18 +1,18 @@ const colors = { - base00: "#22221b", - base01: "#302f27", - base02: "#5f5e4e", - base03: "#6c6b5a", - base04: "#878573", - base05: "#929181", - base06: "#e7e6df", - base07: "#f4f3ec", - base08: "#ba6236", - base09: "#ae7313", - base0A: "#a5980d", - base0B: "#7d9726", - base0C: "#5b9d48", - base0D: "#36a166", - base0E: "#5f9182", - base0F: "#9d6c7c", + base00: "#262626", + base01: "#af5f5f", + base02: "#5f875f", + base03: "#87875f", + base04: "#5f87af", + base05: "#5f5f87", + base06: "#5f8787", + base07: "#6c6c6c", + base08: "#444444", + base09: "#ff8700", + base0A: "#87af87", + base0B: "#ffffaf", + base0C: "#87afd7", + base0D: "#8787af", + base0E: "#5fafaf", + base0F: "#bcbcbc", } diff --git a/settings/settings.json b/settings/settings.json index d2ffb28..e841393 100644 --- a/settings/settings.json +++ b/settings/settings.json @@ -1,6 +1,6 @@ { "appearance": { - "currentTheme": "base16-porple.json", + "currentTheme": "base16-catppuccin-frappe.json", "font": "Roboto", "fontSize": 14, "iconSize": 14, @@ -13,6 +13,6 @@ }, "wallpaper": { "wallDir": "/home/lucy/.walls/", - "wallpaper": "/home/lucy/.walls/frierensuff.png" + "wallpaper": "/home/lucy/.walls/Kita.png" } } diff --git a/shell.qml b/shell.qml index 6303b5d..97c0c8e 100644 --- a/shell.qml +++ b/shell.qml @@ -1,5 +1,5 @@ //@ pragma UseQApplication -//@ pragma IconTheme Papirus-Dark +//@ pragma IconTheme Papirus import Quickshell import qs.modules.bar diff --git a/widgets/StyledIcon.qml b/widgets/StyledIcon.qml index e3a4cf5..d9a24d4 100644 --- a/widgets/StyledIcon.qml +++ b/widgets/StyledIcon.qml @@ -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 } }