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

Crowded theme generated by sync plugin #416

Open sassanh opened 3 days ago

sassanh commented 3 days ago

Steps to reproduce

Steps:

  1. Go here and open it in Figma
  2. Go here and open it in the project you created in the previous step
  3. Generate the theme

Current behavior

It generates this

Expected behavior

I expect it to create something like {} or maybe with headers of each section like typography, palette, etc. I think it shouldn't generate such huge object for an unmodified fresh project.

From the documents: A theme containing the altered tokens is generated and displayed in the plugin's Theme tab.

but it is exporting unaltered items too.

Context

No response

Your environment

Software Version
Design file version v6.1.0
Design tool Figma

Search keywords: sync theme

rkristelijn commented 4 hours ago

Hi @sassanh I've created a similar question https://github.com/mui/mui-design-kits/issues/418 so I'm reading along when you get a response