From cba64710990a05ec8e4e59aee8c2f63d41725d2e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 5 May 2025 11:47:22 +0200 Subject: [PATCH] nicer icon fill --- .config/quickshell/modules/common/widgets/MaterialSymbol.qml | 1 + .config/quickshell/modules/sidebarLeft/AiChat.qml | 4 ++-- .config/quickshell/modules/sidebarLeft/Anime.qml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/MaterialSymbol.qml b/.config/quickshell/modules/common/widgets/MaterialSymbol.qml index 9952c7b5..ff6b4f66 100644 --- a/.config/quickshell/modules/common/widgets/MaterialSymbol.qml +++ b/.config/quickshell/modules/common/widgets/MaterialSymbol.qml @@ -7,6 +7,7 @@ Text { property real iconSize: Appearance.font.pixelSize.small property real fill: 0 renderType: Text.NativeRendering + font.hintingPreference: Font.PreferFullHinting verticalAlignment: Text.AlignVCenter font.family: Appearance.font.family.iconMaterial font.pixelSize: iconSize diff --git a/.config/quickshell/modules/sidebarLeft/AiChat.qml b/.config/quickshell/modules/sidebarLeft/AiChat.qml index 69643b46..f57b0540 100644 --- a/.config/quickshell/modules/sidebarLeft/AiChat.qml +++ b/.config/quickshell/modules/sidebarLeft/AiChat.qml @@ -418,9 +418,9 @@ Item { anchors.centerIn: parent horizontalAlignment: Text.AlignHCenter iconSize: Appearance.font.pixelSize.larger - fill: sendButton.enabled ? 1 : 0 + // fill: sendButton.enabled ? 1 : 0 color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled - text: "arrow_upward" + text: "send" } } } diff --git a/.config/quickshell/modules/sidebarLeft/Anime.qml b/.config/quickshell/modules/sidebarLeft/Anime.qml index e89ee5c8..f86801ba 100644 --- a/.config/quickshell/modules/sidebarLeft/Anime.qml +++ b/.config/quickshell/modules/sidebarLeft/Anime.qml @@ -538,11 +538,11 @@ Item { contentItem: MaterialSymbol { anchors.centerIn: parent - text: "arrow_upward" horizontalAlignment: Text.AlignHCenter iconSize: Appearance.font.pixelSize.larger - fill: sendButton.enabled ? 1 : 0 + // fill: sendButton.enabled ? 1 : 0 color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled + text: "send" } } }