1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

Migrate DankIcon stragglers

This commit is contained in:
bbedward
2025-07-18 20:02:57 -04:00
parent 1d9477bea3
commit f34ecf786a
8 changed files with 64 additions and 78 deletions

View File

@@ -5,6 +5,7 @@ import Quickshell.Wayland
import Quickshell.Widgets
import qs.Common
import qs.Services
import qs.Widgets
PanelWindow {
id: root
@@ -52,8 +53,8 @@ PanelWindow {
anchors.centerIn: parent
spacing: Theme.spacingM
Text {
text: {
DankIcon {
name: {
switch (ToastService.currentLevel) {
case ToastService.levelError:
return "error";
@@ -65,8 +66,7 @@ PanelWindow {
return "info";
}
}
font.family: Theme.iconFont
font.pixelSize: Theme.iconSize
size: Theme.iconSize
color: Theme.background
anchors.verticalCenter: parent.verticalCenter
}