Stitches migration questions #2036
Unanswered
jamie-l-robertson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
im looking to migrate to Panda from Stitches, overall the documentation is great but im having an issue with generic styles.
For context, this will be a component library consumed by other applications that wont use Panda, every component has a css prop that can be used to override with custom styles.
Currently with Stitches i can pass in overriding styles via the
css
prop where needed, for example:padding: 15px;
. However when i try to do this in Panda i can see a class gets added, but no style has been generated, is this possible or do i need to define allowed padding sizes in the config(staticCss)?Also, within Storybook some props are not being picked up, for example:
border width and style, again i see the class is created but not styled are generated, borderColor works as expected. any ideas?
this is my panda config:
Beta Was this translation helpful? Give feedback.
All reactions