mui / mui-design-kits

The public feature and bug tracker for the MUI Design kits and Connect Figma plugin.
https://mui.com/design-kits/
107 stars 16 forks source link

[sync] Button: "Display: None" #362

Open oliviertassinari opened 1 month ago

oliviertassinari commented 1 month ago

Steps to reproduce

After my engineer applied an updated theme, exported via Material UI Sync, all of the buttons disappeared. The button component has some new style overrides I haven't seen before and didn't intent to apply: "&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)": { "color": "var(--mui-palette-action-disabled)", "border": "1px solid var(--mui-palette-action-disabledBackground)", "background": "none", "display": "none" }, Any ideas how I might have changed the button component for the theme to generate this way? Any thoughts on how I could fix this? Thanks!

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

Software Version
Design file version v5.?.?
Design tool Figma/Adobe XD/Sketch
etc.

Search keywords: -

ghyun-circle commented 1 month ago

I am having the same issue. The display none as well as disabled styles get applied to all the primary button states.

fpaz commented 1 month ago

any update on this?

YenohM commented 4 weeks ago

Hi there! Any updates on this?

MikhailTyuftyaev commented 6 days ago

I am having the same issue.