-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SVG spritesheet cleanup #3924
Comments
This was done for the |
This is now done! All the graphics in iD are assembled from individual SVG files into the main spritesheet at build time. No more This means that the new procedure for adding a symbol or graphic to iD is:
I've also added a README with some more info. |
Most of our SVG graphics have been switched over to symbols, which are more flexible because you can
<use>
them anywhere in the code, and you don't have to keep track of their exact positions in the spritesheet, and you can change their styling on the fly, etc.A few SVG graphics still use the old-style background image trick, and it's mostly the graphics in the walkthrough and some of the modal and social buttons.
Tracking here that I should:
<use>
themThe text was updated successfully, but these errors were encountered: