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

Figma sync plugin retuning wrong json #405

Open farrukhali opened 1 month ago

farrukhali commented 1 month ago

The problem in depth

I bought mui figma kit and after making changes in primitive tokens in figma, this change reflected in Figma components e.g. button, but when I ran Figma Sync plugin to export json, in json it is not giving me right variables for button component background

"components": { "MuiButton": { "styleOverrides": { "root": { "&.MuiButton-sizeLarge.MuiButton-containedPrimary": { "&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)": { "& .MuiTouchRipple-root": { "width": "91px", "height": "42px", "opacity": "0.3", "background": "var(--mui-palette-primary-contrastText)", "padding": "0", "borderRadius": "0", "boxShadow": "none" },

Screenshot 2024-10-16 at 5 36 47 PM

Your environment

MUI for Figma v6.1.0 - Material UI

Search keywords: Sync Plugin