Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.
Discussion options

You must be logged in to vote

css() also accepts variants props, you can use that to create variants just like the react one, then pass the component props to the returned function.

here's a working example https://codesandbox.io/s/stitches-with-vue-b7wvy8?file=/src/styles/text.style.js

hope this help

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dartilesm
Comment options

Answer selected by hadihallak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants