mui / mui-design-kits

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

[question] How to Remove All Button Shadows Elegantly #327

Open faner11 opened 7 months ago

faner11 commented 7 months ago

The problem in depth

In the past, I manually removed all Button shadows in Figma and set disableElevation = true in the code. This worked, but when I used the Connect plug-in, the MUIButton related occupies 900 lines in the exported Json. I realized It seems that this approach is not elegant. What suggestions do you have?

Your environment

mac os

Search keywords: Button Shadows

adrianmanea commented 7 months ago

I think @DavidCnoops is better suited for this question but from my perspective the plugin should serve as a starting point or helper in these particular cases. At least for now since it's a very early version!