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

Rearrange style prop to override unused CSS Variable #3303

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

seongminn
Copy link

@seongminn seongminn commented Dec 28, 2024

Description

packages: DropdownMenu, ContextMenu, Menubar

Radix-ui allows us to easily add styles by passing a special CSS Variable. This is one of the most useful parts during development, but it can be a disadvantage in terms of debugging and readability because it is expressed as a style prop on the DOM. So we rearranged the order so that ...props.style covers existing unused CSS Variables.

  • How can i add reviewers?

@seongminn seongminn changed the title Override style prop Rearrange style prop to override unused CSS Variable Dec 28, 2024
@seongminn seongminn marked this pull request as draft January 6, 2025 13:48
@seongminn seongminn marked this pull request as ready for review January 6, 2025 13:48
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.

1 participant