diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-27 14:47:50 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-27 14:47:50 +1000 |
| commit | 8308060a7549c47ad2b3425b710ce43a033403dc (patch) | |
| tree | c568cba1590b4b464d0642bb91e64fdda5979a2f /modules/dashboard | |
| parent | lock: show notif list not popups (diff) | |
| download | caelestia-shell-8308060a7549c47ad2b3425b710ce43a033403dc.tar.gz caelestia-shell-8308060a7549c47ad2b3425b710ce43a033403dc.tar.bz2 caelestia-shell-8308060a7549c47ad2b3425b710ce43a033403dc.zip | |
icons: fix grade more icons
Media and pfp fallback icons
Also fix dashboard user os icon
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Media.qml | 1 | ||||
| -rw-r--r-- | modules/dashboard/dash/Media.qml | 1 | ||||
| -rw-r--r-- | modules/dashboard/dash/User.qml | 10 |
3 files changed, 8 insertions, 4 deletions
diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 505ca33..599b922 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -128,6 +128,7 @@ Item { MaterialIcon { anchors.centerIn: parent + grade: 200 text: "art_track" color: Colours.palette.m3onSurfaceVariant font.pointSize: (parent.width * 0.4) || 1 diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index 5eaac99..0567095 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -104,6 +104,7 @@ Item { MaterialIcon { anchors.centerIn: parent + grade: 200 text: "art_track" color: Colours.palette.m3onSurfaceVariant font.pointSize: (parent.width * 0.4) || 1 diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml index 32e983d..ba4fa18 100644 --- a/modules/dashboard/dash/User.qml +++ b/modules/dashboard/dash/User.qml @@ -27,7 +27,8 @@ Row { text: "person" fill: 1 - font.pointSize: (info.implicitHeight / 2) || 1 + grade: 200 + font.pointSize: Math.floor(info.implicitHeight / 2) || 1 } CachingImage { @@ -126,6 +127,7 @@ Row { icon: Icons.osIcon text: Icons.osName colour: Colours.palette.m3primary + materialIcon: false } InfoLine { @@ -166,6 +168,7 @@ Row { required property string icon required property string text required property color colour + property bool materialIcon: true implicitWidth: icon.implicitWidth + text.width + text.anchors.leftMargin implicitHeight: Math.max(icon.implicitHeight, text.implicitHeight) @@ -176,12 +179,11 @@ Row { anchors.left: parent.left anchors.leftMargin: (Config.dashboard.sizes.infoIconSize - implicitWidth) / 2 + fill: 1 text: line.icon color: line.colour font.pointSize: Appearance.font.size.normal - font.variableAxes: ({ - FILL: 1 - }) + font.family: line.materialIcon ? Appearance.font.family.material : Appearance.font.family.sans } StyledText { |