-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
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
Variant responsive values not working alongside other responsive values #1030
Comments
julianbenegas
changed the title
Variant responsive values not working when other responsive values are present
Variant responsive values not working alongside other responsive values are present
Jun 27, 2020
julianbenegas
changed the title
Variant responsive values not working alongside other responsive values are present
Variant responsive values not working alongside other responsive values
Jun 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
You have a component with the
variant
property insidesx
. Thisvariant
holds a responsive value, sayfontSize: ["12px", "16px"]
. If you then put another responsive value to thesx
, then the variant's responsive value won't work.To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The text should change it's fontSize
Additional context
It happens when using variant variant inside
sx
. If variant is used as a prop, it works as expected.The text was updated successfully, but these errors were encountered: