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

do not enforce 512² viewport #805

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

romain-dartigues
Copy link
Collaborator

I tried to find a minimal common unit for the drawing to save some bytes and made some proof-of-concept; is it worth trying?

viewBox="-64 -64 128 128"><path d="m-64 -64H128V128H-64" fill="#fff"/><radialGradient id="a"><stop stop-color="#0bd"/><stop offset="1" stop-color="#17d"/></radialGradient><g stroke="#eee" fill="none"><circle r="52.5" fill="url(#a)" stroke-width="5"/><circle r="45" stroke-dasharray="1.25 8.175" stroke-dashoffset=".5" stroke-width="5.5"/><circle r="42.5" stroke-dasharray="1.25 7.65" stroke-dashoffset="5" stroke-width="10"/></g><path d="M-35 33-6-6 6 6" fill="#eee"/><path d="M35-34-6-6 6 6" fill="#f55"/><path opacity=".3" d="M-35 33l7-5-3 5L6 6l28-35-4 2 4-6"/></svg>
Copy link

Choose a reason for hiding this comment

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

shouldn't it be H64V64 or h128v128 instead of H128V128 due to viewbox being width and height, not x2 and y2

@edent
Copy link
Owner

edent commented Sep 20, 2024

I need to have a think about this. I see the utility in what you're doing - but I also value the consistency with the other icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants