-
Notifications
You must be signed in to change notification settings - Fork 673
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
Filter scale tuples in Theme type inside .sx prop #2457
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 0a7330c:
|
6ed35d9
to
2f27f7b
Compare
4e70b1e
to
e81549a
Compare
cc35b4f
to
6f29731
Compare
I'm converting it to a draft, because userspace type narrowing thru declaration merging creates a breaking change for all projects that contain functions |
🚀 PR was released in |
Fixes #2456.
Now the type of
theme
inside ofsx
prop doesn't contain array scales, so it should be easier to read from.We now also allow injecting the theme, but with a smaller blast radius than in #1090.