Open devleejb opened 3 months ago
Hi, as stated in the Figma docs "_states" group is only available in Figma. Simply omit everything that starts with an underscore.
@adrianmanea
Some colors references the value in _states
.
"background": "var(--mui-palette-primary-_states-hover)"
Then, how can use the color using MUI Sync Plugin?
Can you please send an email at figma@mui.com with your Figma order ID so I send you the latest version, I think MUI Sync ignores the "_states" group when using the 5.17.0 library.
@adrianmanea I sent the mail. Please check it. Thank you!
There is any chance to handle _states in the 5.17.0 library? MUI Sync generates classes who take care of _states variables but their values produce bugs.
It is not resolved in 5.17.0
.
I'm facing the same issue in the latest MUI v5
@adrianmanea Any updates so far?
Hi, @devleejb the plugin development is currently on hold, we recommend using it only for basic overwrites and manually modify when it's wrong.
Steps to reproduce
Link to live example:
Steps:
_states
are appliedCurrent behavior
_states
does not exist in typePaletteColorOptions & Partial<PaletteColorChannel>
The color isn't applied. (This screenshot is button.)
Expected behavior
_states
are applied correctly.Context
No response
Your environment
Search keywords: _states