gdirk07 / PokemonChecker

Playing around with APIs
https://gdirk07.github.io/PokemonChecker/
0 stars 0 forks source link

Added colour and padding styles to Element Types #52

Closed jeremy-jtlo closed 2 years ago

jeremy-jtlo commented 2 years ago

Addresses #42 .

Pokemon types now render with white text and a background colour depending on what ElementType was given to it.

In order to allow the TypeDisplay to accept ElementType instead of just a string, many things needed to be uprooted. Those details will be pointed out in the files.