We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Say I have a Button with two color variants:
Button
blue
red
I use defaultVariants and make the blue variant the default color.
defaultVariants
color
Then, I render my Button, and set it to use violet on bp1:
bp1
<Button color={{ bp1: 'blue' }} />
I would expect that by default the Button uses the blue color variant (initially)
Outcome: Default variant is not applied
Repro: https://codesandbox.io/s/tender-bhaskara-x41n0?file=/src/App.js
The text was updated successfully, but these errors were encountered:
I believe this might also be related to #483, which is causing responsive variants to not work as expected.
Sorry, something went wrong.
Fixed. Will be out in the next release.
https://codesandbox.io/s/distracted-franklin-ydx5w?file=/package.json
This fix has now been released 🚀
Release post: https://stitches.dev/blog/stitches-0.2.0
Thank you
No branches or pull requests
Say I have a
Button
with two color variants:blue
red
I use
defaultVariants
and make theblue
variant the defaultcolor
.Then, I render my
Button
, and set it to use violet onbp1
:I would expect that by default the
Button
uses theblue
color variant (initially)Outcome: Default variant is not applied
Repro: https://codesandbox.io/s/tender-bhaskara-x41n0?file=/src/App.js
The text was updated successfully, but these errors were encountered: