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

Detect and collate redundant shape usages in the sprite #15

Open
jkphl opened this issue Oct 29, 2015 · 0 comments
Open

Detect and collate redundant shape usages in the sprite #15

jkphl opened this issue Oct 29, 2015 · 0 comments
Assignees

Comments

@jkphl
Copy link
Owner

jkphl commented Oct 29, 2015

There are situations where one particular SVG shape needs to be present multiple times in the sprite, e.g. when you have a particular icon and several different hover states for it. Right now, you need to have several copies of the shape, each with its individual hover state. It would be nice if iconizr could detect these redundant icons (e.g. by file hashes) and put <use> elements for the shape copies in the sprite instead (would save some size).

@jkphl jkphl self-assigned this Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant