Do not modify our ranks sprite image, it is automatically generated through a Grunt task (grunt sprite:rankings
).
If you would like to contribute your own set of rank images, you are going to need to create them as SVGs by using a tool like Adobe Illustrator or Inkscape. Our master file is the ranks.ai
file and it was created using Adobe Illustrator CC 2015. Do not attempt to modify this AI file with a version prior to CC 2015 or with Inkscape as it will break a lot.
- Create your 12 icons as vectors/SVGs and label for what minimum ELO they are for; they should range from 900-2000.
- Think of a theme name
- Start an issue for your new icons.
- Attach a screenshot of all your new icons.
- Attach a zip of your SVGs of your icons
- Mention @allejo in your issue as he will handle adding the new icons
- Install the
Symbols to PNGs.jsx
script so you can export all of the icons.- When exporting the symbols, be sure to hide all of the layers.
- Each set of icons corresponding to a theme will be under their own layer; there is a
Light
andDark
layer in the AI file—respectively for the Light and Dark themes available in BZiON. - (Optional) Import the
swatch.ai
file to your swatches to have access to the gradients and colors used for the Light and Dark theme icons. - Expand the art board as necessary to fit your icons. There should be 12 icons total for all of the minimum ELOs in multiples of hundreds: 900...2000.
- Each individual icon should be grouped and become a symbol. The naming scheme for the symbols should be as follows:
ThemeName-MinElo
.- e.g.
Light-900
orDark-900
- e.g.
- The symbols should be a size of 35px width and 40px height.
- Do not make a mess of the layers and symbols.
Export all of your symbols into the sprites
folder in this directory and then run grunt sprite:rankings
and grunt css
to generate a new ranks images with your icons and update the CSS.