1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 08:12:09 -04:00

theme: add colorful bar widget option

This commit is contained in:
bbedward
2025-11-21 00:07:23 -05:00
parent 46caeb0445
commit dfe2f3771b
27 changed files with 170 additions and 84 deletions

View File

@@ -31,7 +31,7 @@ BasePill {
DankIcon {
name: WeatherService.getWeatherIcon(WeatherService.weather.wCode)
size: Theme.barIconSize(root.barThickness, -6)
color: Theme.primary
color: Theme.widgetIconColor
anchors.horizontalCenter: parent.horizontalCenter
}
@@ -44,7 +44,7 @@ BasePill {
return temp;
}
font.pixelSize: Theme.barTextSize(root.barThickness)
color: Theme.surfaceText
color: Theme.widgetTextColor
anchors.horizontalCenter: parent.horizontalCenter
}
}
@@ -58,7 +58,7 @@ BasePill {
DankIcon {
name: WeatherService.getWeatherIcon(WeatherService.weather.wCode)
size: Theme.barIconSize(root.barThickness, -6)
color: Theme.primary
color: Theme.widgetIconColor
anchors.verticalCenter: parent.verticalCenter
}
@@ -72,7 +72,7 @@ BasePill {
return temp + "°" + (SettingsData.useFahrenheit ? "F" : "C");
}
font.pixelSize: Theme.barTextSize(root.barThickness)
color: Theme.surfaceText
color: Theme.widgetTextColor
anchors.verticalCenter: parent.verticalCenter
}
}