jeanverster / chakra-ui-steps

Steps component designed to work seamlessly with Chakra UI
https://chakra-ui-steps.vercel.app
390 stars 44 forks source link

Add a type to StepsStyles #127

Open code-arman opened 1 year ago

code-arman commented 1 year ago

Right now, StepsStyles is exported as type any which makes it difficult to extend styles in typscript.

Here is what the steps.theme.ts file looks like with the current non-typed StepsStyles

Screen Shot 2023-02-25 at 11 18 23 PM
jeanverster commented 1 year ago

Hey @code-arman, apologies for the delay here, but I've since updated the documentation on how to add custom styles.. It was getting a bit unwieldy to manage all the different parts, so I decided to rather add classes to all the different parts of the component so you can easily select and style them where required. Can have a look at them here along with an example.

Lemme know if this helps