kit
kit copied to clipboard
Replace hard-coded colors
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}`,