kit icon indicating copy to clipboard operation
kit copied to clipboard

Replace hard-coded colors

Open simenandre opened this issue 5 years ago • 0 comments

There are a few places where colour values are statically set. 👇

https://github.com/tabetalt/kit/blob/8b760a475b81aa1bd5a254cb63bae426ee628d08/src/theme/buttons.ts#L30

This can easily be replaced with this syntax to make it dynamic:

boxShadow: (theme) => `inset 0 0 0 3px ${theme.colors?.secondary}`,

simenandre avatar Oct 24 '20 23:10 simenandre