The Wayback Machine - https://web.archive.org/web/20200527061902/https://github.com/topics/sprite
Skip to content
#

sprite

Here are 170 public repositories matching this topic...

Esshahn
Esshahn commented May 1, 2019

The current sprite data uses 0,1,2,3 to represent the sprite colors transparent, single color, mc1 and mc2. This is a typical sprite in multicolor:

[2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0],
[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0],
[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0],
[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0],
[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
doficia
doficia commented Oct 23, 2017

Please see CONTRIBUTING.md first.

This is an improve issue. This means that somebody has already created a sprite for this item. After a while, an improve issue is automatically generated to keep the sprite up to date. You can enhance the original sprite, or create one from scratch.
Your work will either replace the original one, or be an alternative to the existing item.
(If you see

hiousi
hiousi commented Apr 1, 2019

external-svg-sprite-loader helps me save a good clean sprite.[hash:8].svg file!
I've tried to use it with webpack-manifest-plugin and webpack-assets-manifest to generate a manifest.json, used to find the corresponding compiled /path/to/sprite.svg -> /path/to/sprite.[hash:8].svg

But I can not obtain the good filename and path to my sprite.svg file. Note that webpack-manifest-plugin and webpack-

tomhalley
tomhalley commented May 10, 2018

When increasing the size of a Sprite through the props, it only increases the height and width of a container, but doesn't scale up the size of the background image, meaning a 20px icon on a spritesheet when set to height or width 30, will just showing additional parts of surrounding sprites.

Similarly, changing the sprite image size down to 10px will just show a portion of the sprite, not a sm

Improve this page

Add a description, image, and links to the sprite topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sprite topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.