[WeatherStatus] Support more weather codes, change icons, fix style#48353
[WeatherStatus] Support more weather codes, change icons, fix style#48353
Conversation
bf8943e to
64fae5b
Compare
apps/weather_status/src/App.vue
Outdated
| min-width: 44px !important; | ||
| min-height: 44px !important; | ||
| .weather-image { | ||
| width: 28px; |
There was a problem hiding this comment.
Magic value? Why 28px?
Our default icons are 16px (which is ~20px MDI icon size)
There was a problem hiding this comment.
I don't mind using 20px. It's just less visible.
I just raised the size as much as possible to make it easier to see/identify the icon. These weather icons are slightly more important than classic ones IMO.
There was a problem hiding this comment.
I agree, but then maybe:
width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline));
susnux
left a comment
There was a problem hiding this comment.
License information is important
Thank you for fixing, |
5f0b0de to
b487b8b
Compare
apps/weather_status/src/App.vue
Outdated
| min-width: 44px !important; | ||
| min-height: 44px !important; | ||
| .weather-image { | ||
| width: 20px; |
There was a problem hiding this comment.
If you prefer bigger icons:
| width: 20px; | |
| width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline)); |
b487b8b to
1b7ae47
Compare
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…he icons provided by met.no, cleanup UI Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…and 'no weather info' Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…e icons from @mdi/svg Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1b7ae47 to
e73c03c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
e73c03c to
efcc3e5
Compare
|
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
@julien-nc very nice – just one detail: The previous icons worked a bit nicer with the style of Nextcloud, is there a specific reason they got replaced? If not I think it would be good to keep using the previous ones, if that’s ok with you? :) |
This branch is based on the one of #47702.
@mdi/svg