hd-weather-icon
The weather, drawn from registry icons and moving calmly: the sun turning, the moon under twinkling stars, clouds drifting, rain falling, snow fluttering, lightning striking, fog sliding. Reduced motion and e-ink: still.
| Attribute | What it is |
|---|---|
condition | What the sky does.One of clear, partly, cloudy, fog, rain, sleet, snow, thunder. Default cloudy. |
intensity | How much falls.One of light, moderate, heavy. Default moderate. |
night | The moon instead of the sun.Default false. |
showers | The sun breaking through, behind the cloud.Default false. |
size | Its size (CSS), e.g. 48px; or set --size.Default 48px. |
label | Accessible label; otherwise the condition. |
<hd-weather-icon condition="partly" size="48px"></hd-weather-icon><hd-weather-icon condition="rain" intensity="light" size="48px"></hd-weather-icon><hd-weather-icon condition="clear" night size="48px"></hd-weather-icon>