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

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

Open
oliviertassinari opened this issue Jul 10, 2024 · 2 comments
Open

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

oliviertassinari opened this issue Jul 10, 2024 · 2 comments
Labels
bug 🐛 Something doesn't work scope: Sync plugin Issues related to the Material UI Sync Figma plugin

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Jul 10, 2024

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: -

@oliviertassinari oliviertassinari added scope: Sync plugin Issues related to the Material UI Sync Figma plugin bug 🐛 Something doesn't work labels Jul 10, 2024
@ghyun-circle
Copy link

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

@fpaz
Copy link

fpaz commented Jul 29, 2024

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: Sync plugin Issues related to the Material UI Sync Figma plugin
Projects
None yet
Development

No branches or pull requests

3 participants