lucide-icons / lucide

Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.
https://lucide.dev
ISC License
11.43k stars 524 forks source link

feat(icons): upgrade snowflake icons to match real life #2610

Open karsa-mistmere opened 1 week ago

karsa-mistmere commented 1 week ago

What is the purpose of this pull request?

Description

Real snowflakes have six-fold rotational symmetry, this PR upgrades snowflake icons to look more accurate and have better uniformity between them.

Before Submitting

github-actions[bot] commented 1 week ago

Added or changed icons

icons/snowflake.svgicons/sun-snow.svgicons/thermometer-snowflake.svg

Preview cohesion icons/square-sigma.svgicons/square-pi.svgicons/rotate-cw-square.svg
icons/snowflake.svgicons/sun-snow.svgicons/thermometer-snowflake.svg
icons/images.svgicons/infinity.svgicons/minus.svg
Preview stroke widths icons/snowflake.svgicons/sun-snow.svgicons/thermometer-snowflake.svg
icons/snowflake.svgicons/sun-snow.svgicons/thermometer-snowflake.svg
icons/snowflake.svgicons/sun-snow.svgicons/thermometer-snowflake.svg
DPI Preview (24px) icons/snowflake.svg icons/sun-snow.svg icons/thermometer-snowflake.svg
Icon X-rays icons/snowflake.svg icons/sun-snow.svg icons/thermometer-snowflake.svg
Icon Diffs icons/snowflake.svg icons/sun-snow.svg icons/thermometer-snowflake.svg
Icons as code Works for: `lucide-react`, `lucide-react-native`, `lucide-preact`, `lucide-vue-next` ```ts const SnowflakeIcon = createLucideIcon('Snowflake', [ ["path",{"d":"m10 20-1.25-2.5L6 18"}], ["path",{"d":"M10 4 8.75 6.5 6 6"}], ["path",{"d":"m14 20 1.25-2.5L18 18"}], ["path",{"d":"m14 4 1.25 2.5L18 6"}], ["path",{"d":"m17 21-3-6h-4"}], ["path",{"d":"m17 3-3 6 1.5 3"}], ["path",{"d":"M2 12h6.5L10 9"}], ["path",{"d":"m20 10-1.5 2 1.5 2"}], ["path",{"d":"M22 12h-6.5L14 15"}], ["path",{"d":"m4 10 1.5 2L4 14"}], ["path",{"d":"m7 21 3-6-1.5-3"}], ["path",{"d":"m7 3 3 6h4"}] ]) const SunSnowIcon = createLucideIcon('SunSnow', [ ["path",{"d":"M10 21v-1"}], ["path",{"d":"M10 4V3"}], ["path",{"d":"M10 9a3 3 0 0 0 0 6"}], ["path",{"d":"m14 20 1.25-2.5L18 18"}], ["path",{"d":"m14 4 1.25 2.5L18 6"}], ["path",{"d":"m17 21-3-6 1.5-3H22"}], ["path",{"d":"m17 3-3 6 1.5 3"}], ["path",{"d":"M2 12h1"}], ["path",{"d":"m20 10-1.5 2 1.5 2"}], ["path",{"d":"m3.64 18.36.7-.7"}], ["path",{"d":"m4.34 6.34-.7-.7"}] ]) const ThermometerSnowflakeIcon = createLucideIcon('ThermometerSnowflake', [ ["path",{"d":"m10 20-1.25-2.5L6 18"}], ["path",{"d":"M10 4 8.75 6.5 6 6"}], ["path",{"d":"M10.585 15H10"}], ["path",{"d":"M2 12h6.5L10 9"}], ["path",{"d":"M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z"}], ["path",{"d":"m4 10 1.5 2L4 14"}], ["path",{"d":"m7 21 3-6-1.5-3"}], ["path",{"d":"m7 3 3 6h2"}] ]) ```
jguddas commented 1 week ago

What about arcifying the inner hexagon?

karsa-mistmere commented 1 week ago

What about arcifying the inner hexagon?

Does that even make sense here?

At 1x, there isn't any perceptible difference, I think: image

When scaled up, I think no arcs is definitely the way to go:

image