mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
cards: Update WeatherCard icon logic and format
This commit is contained in:
@@ -315,5 +315,3 @@ body {
|
||||
._714a9a7abaf0392a-checkboxOption[data-selected="true"]:hover ._714a9a7abaf0392a-dot {
|
||||
color: var(--accent-1) !important; /* keep checkmark accent color on hover */
|
||||
}
|
||||
|
||||
#dorion_topbar { display: none; }
|
||||
@@ -87,7 +87,7 @@ NBox {
|
||||
|
||||
NIcon {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
icon: weatherReady ? LocationService.weatherSymbolFromCode(LocationService.data.weather.current_weather.weathercode) : ""
|
||||
icon: weatherReady ? LocationService.weatherSymbolFromCode(LocationService.data.weather.current_weather.weathercode, LocationService.data.weather.current_weather.is_day) : "weather-cloud-off"
|
||||
pointSize: Style.fontSizeXXXL * 1.75
|
||||
color: Color.mPrimary
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user