You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to rename contrast to contrastText from the generated theme for it to work on our application. Is there any documentation around the implementation of contrast?
Your environment
Software
Version
Design file version
v5.16.0
Design tool
Figma
etc.
Search keywords: contrast contrastText
The text was updated successfully, but these errors were encountered:
Steps to reproduce
When extracting the theme using Material UI Sync. The
contrastText
was renamed tocontrast
Current behavior
When viewing the source for the root style. We get two contrast values.
Expected behavior
It should only generate one value for the contrast.
Context
We have to rename
contrast
tocontrastText
from the generated theme for it to work on our application. Is there any documentation around the implementation of contrast?Your environment
Search keywords: contrast contrastText
The text was updated successfully, but these errors were encountered: