Skip to content

Instantly share code, notes, and snippets.

@apaleslimghost
Created July 21, 2016 09:55
Show Gist options
  • Save apaleslimghost/0d25ec801ca4fc43317bcff298af43c3 to your computer and use it in GitHub Desktop.
Save apaleslimghost/0d25ec801ca4fc43317bcff298af43c3 to your computer and use it in GitHub Desktop.
const colours = {
normal: '#A8A77A',
fire: '#EE8130',
water: '#6390F0',
electric: '#F7D02C',
grass: '#7AC74C',
ice: '#96D9D6',
fighting: '#C22E28',
poison: '#A33EA1',
ground: '#E2BF65',
flying: '#A98FF3',
psychic: '#F95587',
bug: '#A6B91A',
rock: '#B6A136',
ghost: '#735797',
dragon: '#6F35FC',
dark: '#705746',
steel: '#B7B7CE',
fairy: '#D685AD',
};
module.exports = type => colours[type] || '#777';
module.exports.colors = colours;
@SvetLanaJus
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment