gnosisguild / zodiac-ui-components

Zodiac UI component library
GNU Lesser General Public License v3.0
1 stars 4 forks source link

Optimize Pallet #1

Open cedricwaxwing opened 2 years ago

cedricwaxwing commented 2 years ago

Even though the light 30% tan is not a secondary or primary color in the MUI theme config, it's still used extensively throughout the theme, and the current implementation requires it to be written by hand, manually each time. I propose we create a 100-900 opacity scale of the color (and others) in a palette object so that this value can be used in the theme createTheme and throughout the products.

This way, if we ever want to update the color palette, it can be done in one spot.

cedricwaxwing commented 2 years ago

Adding wontfix, since this is probably out of scope for our initial update