Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: optimized accessibility icons #1574

Closed

Conversation

jguddas
Copy link
Member

@jguddas jguddas commented Sep 23, 2023

No description provided.

@github-actions github-actions bot added the 🎨 icon About new icons label Sep 23, 2023
@github-actions
Copy link

github-actions bot commented Sep 23, 2023

Added or changed icons

icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg

Preview cohesion icons/chevron-left-square.svg icons/mouse-pointer-square-dashed.svg icons/percent-square.svg icons/messages-square.svg icons/key-square.svg icons/scissors-square-dashed-bottom.svg icons/m-square.svg icons/square-dashed-bottom-code.svg icons/message-square-dashed.svg icons/arrow-down-left-square.svg icons/square-dot.svg icons/parking-square-off.svg icons/chevron-right-square.svg icons/square-dashed-bottom.svg icons/user-square.svg icons/pen-square.svg icons/arrow-down-square.svg icons/square-stack.svg icons/parking-square.svg
icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg
icons/tractor.svg icons/move-down-right.svg icons/list-end.svg icons/sheet.svg icons/layers-3.svg icons/power-off.svg icons/copy-check.svg icons/arrow-up.svg icons/pipette.svg icons/music-2.svg icons/calendar-check-2.svg icons/globe-2.svg icons/gallery-vertical.svg icons/rectangle-horizontal.svg icons/move-up-left.svg icons/binary.svg icons/stamp.svg icons/redo.svg icons/dice-5.svg
Preview stroke widths icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg
icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg
icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg
DPI Preview (24px) icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg
Icon X-rays icons/accessibility.svg icons/baby.svg icons/badge-help.svg icons/badge-info.svg icons/contrast.svg icons/ear-off.svg icons/eye-off.svg icons/eye.svg icons/glasses.svg icons/help-circle.svg icons/life-buoy.svg icons/moon-star.svg icons/moon.svg icons/speech.svg icons/sun-dim.svg icons/sun-medium.svg icons/sun.svg icons/zoom-in.svg icons/zoom-out.svg

@jguddas
Copy link
Member Author

jguddas commented Sep 23, 2023

@karsa-mistmere @ericfennis is a change like we see in the thumb of the hand icon acceptable?

@ericfennis
Copy link
Member

@jguddas No, now it creates a blurry line. See 100% view.

ericfennis
ericfennis previously approved these changes Oct 13, 2023
Comment on lines +14 to +16
<path d="m5 8 3-3 5.5 3-2.4 3.5" />
<path d="M4.2 14.5a5 5 0 0 0 6.92 6" />
<path d="M13.8 17.5a5 5 0 0 0-6.92-6" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These paths don't match up correctly:
image

<path d="m2 2 20 20" />
<path d="M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2-3.5" />
<path d="M6 8.5a6.58 6.58 0 0 1 .36-2.14" />
<path d="M8.8 3.2A6.5 6.5 0 0 1 19 8.5a7.16 7.16 0 0 1-1.09 3.76" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This path is pretty over-optimized and off grid, the bottom part isn't even an arc, so I think we should stick with a curve:

Suggested change
<path d="M8.8 3.2A6.5 6.5 0 0 1 19 8.5a7.16 7.16 0 0 1-1.09 3.76" />
<path d="M8.81 3.15A6.5 6.5 0 0 1 17.85 12.19c0 1.63-.44 2.81-1.09 3.76" />

Comment on lines +14 to +17
<path d="m4.9 4.9 4.3 4.3" />
<path d="m14.8 9.2 4.3-4.3" />
<path d="m14.8 14.8 4.3 4.3" />
<path d="m9.2 14.8-4.3 4.3" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one's also very over-optimised:
image

I think the original was just fine:

Suggested change
<path d="m4.9 4.9 4.3 4.3" />
<path d="m14.8 9.2 4.3-4.3" />
<path d="m14.8 14.8 4.3 4.3" />
<path d="m9.2 14.8-4.3 4.3" />
<path d="m4.93 4.93 4.24 4.24" />
<path d="m14.83 9.17 4.24-4.24" />
<path d="m14.83 14.83 4.24 4.24" />
<path d="m9.17 14.83-4.24 4.24" />

@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20" />
<path d="M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1l.036-5.7A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what happened to this one but both versions are totally off grid. This is more in line with the original design and is even smaller:

Suggested change
<path d="M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1l.036-5.7A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20" />
<path d="M9 20v-4.44c1 .37 2.15.7 3 .07a2.5 2.5 0 0 0 1-2V8.5a5.5 5.5 0 1 0-11 0c0 2.8.66 2.8 1 4.3.23.9.24 1.85.03 2.76L2 20" />

Comment on lines +17 to +20
<path d="M17.7 6.3h.01" />
<path d="M17.7 17.7h.01" />
<path d="M6.3 17.7h.01" />
<path d="M6.3 6.3h.01" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is also sorely over-optimised.

Suggested change
<path d="M17.7 6.3h.01" />
<path d="M17.7 17.7h.01" />
<path d="M6.3 17.7h.01" />
<path d="M6.3 6.3h.01" />
<path d="M17.66 6.34h.01" />
<path d="M17.66 17.66h.01" />
<path d="M6.34 17.66h.01" />
<path d="M6.34 6.44h.01" />

Comment on lines +17 to +20
<path d="m18.4 5.6-.7.7" />
<path d="m6.3 17.7-.7.7" />
<path d="m5.6 5.6.7.7" />
<path d="m17.7 17.7.7.7" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<path d="m18.4 5.6-.7.7" />
<path d="m6.3 17.7-.7.7" />
<path d="m5.6 5.6.7.7" />
<path d="m17.7 17.7.7.7" />
<path d="m18.36 5.64-.7.7"/>
<path d="m6.34 17.66-.7.7"/>
<path d="m5.64 5.64.7.7"/>
<path d="m17.66 17.66.7.7"/>

Comment on lines +15 to +16
<path d="m4.9 4.9 1.4 1.4" />
<path d="m17.7 17.7 1.4 1.4" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over-optimised.

Suggested change
<path d="m4.9 4.9 1.4 1.4" />
<path d="m17.7 17.7 1.4 1.4" />
<path d="m4.93 4.93 1.41 1.41" />
<path d="m17.66 17.66 1.41 1.41" />

Comment on lines +19 to +20
<path d="m6.3 17.7-1.4 1.4" />
<path d="m19.1 4.9-1.4 1.4" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over-optimised.

Suggested change
<path d="m6.3 17.7-1.4 1.4" />
<path d="m19.1 4.9-1.4 1.4" />
<path d="m6.34 17.66-1.41 1.41" />
<path d="m19.07 4.93-1.41 1.41" />

<line x1="11" x2="11" y1="8" y2="14" />
<line x1="8" x2="14" y1="11" y2="11" />
<path d="M11 8v6" />
<path d="m21 21-4.3-4.3" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<path d="m21 21-4.3-4.3" />
<path d="m21 21-4.34-4.34" />

@@ -10,6 +10,6 @@
stroke-linejoin="round"
>
<circle cx="11" cy="11" r="8" />
<line x1="21" x2="16.65" y1="21" y2="16.65" />
<line x1="8" x2="14" y1="11" y2="11" />
<path d="m21 21-4.3-4.3" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<path d="m21 21-4.3-4.3" />
<path d="m21 21-4.34-4.34" />

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

search should also be updated accordingly.

@ericfennis ericfennis dismissed their stale review October 13, 2023 14:07

See Karsa's review

Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Nov 13, 2023
@jguddas jguddas closed this Nov 13, 2023
@karsa-mistmere
Copy link
Member

@jguddas Why did you close this one? 🤔

@jguddas
Copy link
Member Author

jguddas commented Nov 13, 2023

Gotta have to split it up and make it one PR per icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 icon About new icons Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants