Sun Widget
This widget calculates the Dawn and Dusk time, as well as the right ascension and the declination of the sun for
today and tomorrow, and of course updates daily. It also displays the stages of the day (Dawn, Dusk, Day, Night) in the middle.
It does not use a precise location, only uses the timezone, thus if the timezone is 'America/Toronto',
it will approximate the sun from Toronto, so mostly the dawn and dusk times have a slight margin of error.
If you find that the times seem wrong (as in it seems off), it may be because the widget has defaulted to the city of London, because it failed to get the timezone.
If you would like to add it to your site, feel free to do so, just copy the code below:
Pretty much anything in the widget has an identifier, whether an 'id' or 'class', so it's extremely customizable.
If you need to know the identifier of an element, add it and inspect its elements.
The background is also transparent for that extra styling if you need it.
This was inspired by dimden.dev's Moon widget.