danklammer / bytesize-icons

Tiny style-controlled SVG iconset (101 icons, 12kb)
https://danklammer.com/bytesize-icons/
MIT License
3.86k stars 228 forks source link

Sun and moon icons #22

Closed ghost closed 5 years ago

ghost commented 5 years ago

Obviously this is a slippery slope, but I wanted to put this one out there given the number of themes which are introducing a toggle for daytime and nighttime reading.

ghost commented 5 years ago

Or, combine both into a semicircle for a single icon

screen shot 2019-02-02 at 5 15 05 pm
danklammer commented 5 years ago

@jhabdas Sorry for the delay. I do like this idea! I am exploring this for my next release.

Here is one potential version:

<svg xmlns="http://www.w3.org/2000/svg" id="i-moon" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
    <circle fill="none" cx="16" cy="16" r="14" />
    <path stroke-width="0" stroke-miterlimit="10" fill="currentColor" d="M16 5 L16 27 C9 27 5 21.5 5 16 5 10.5 10 5 16 5Z" />
</svg>
ghost commented 5 years ago

Looks absolutely fantastic and I'm looking forward to using it. Thanks, Dan.

danklammer commented 5 years ago

Added Moon icon to v1.4 which can be used for both Dark Mode and/or Do Not Disturb.

XhmikosR commented 5 years ago

@danklammer: have you thought about a sun or bulb icon too?