1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

weather: fix icons

This commit is contained in:
bbedward
2025-12-24 00:33:54 -05:00
parent 6c56d23b93
commit 8fdc748ed2
3 changed files with 120 additions and 152 deletions

View File

@@ -760,10 +760,10 @@ Item {
color: Theme.outline
}
StyledText {
DankNFIcon {
id: moonPhase
text: WeatherService.getMoonPhase(skyBox.currentDate) || ""
font.pixelSize: Theme.fontSizeXLarge * 1
name: WeatherService.getMoonPhase(skyBox.currentDate) || ""
size: Theme.fontSizeXLarge
color: Theme.withAlpha(Theme.surfaceText, 0.7)
rotation: (WeatherService.getMoonAngle(skyBox.currentDate) || 0) / Math.PI * 180
visible: !!pos
@@ -783,10 +783,10 @@ Item {
}
}
StyledText {
DankIcon {
id: sun
text: ""
font.pixelSize: Theme.fontSizeXLarge * 1
name: "light_mode"
size: Theme.fontSizeXLarge
color: Theme.primary
visible: !!pos