Skip to content
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

[REF-1815] Radix themes: replace color_scheme with color in get_fields #2486

Merged
merged 1 commit into from Jan 30, 2024

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Jan 30, 2024

This change ensures that the components never emit an actual color_scheme prop to the generated code. Instead of treating the color prop swap in create as a CSS prop, it will instead will emit color={...} as a direct prop. Handling color as a style prop already occurs explicitly in create.

This change ensures that the components never emit an actual `color_scheme`
prop to the generated code. Instead of treating the `color` prop swap in
`create` as a CSS prop, it will instead will emit `color={...}` as a direct
prop. Handling `color` as a style prop already occurs explicitly in `create`.

REF-1815
@picklelo picklelo merged commit 8ecfd07 into main Jan 30, 2024
45 checks passed
@masenf masenf deleted the masenf/color_scheme-to-color branch February 2, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants