Closed VitaliyBelyaev closed 6 months ago
As a workaround, I create python script that generates colors.xml and light/dark themes.xml from .json theme file.
I think the same happens for jetpack compose export
New surface roles are planned for export. They will be updated in theming code when most platforms implement them.
Describe the bug When creating new theme with Figma Material Theme Builder Plugin, after exporting it as xml for Android there are no surface container colors and fixed colors in xml files.
To Reproduce Steps to reproduce the behavior:
Expected behavior Surface colors(surfaceContainerHighest,surfaceContainerHigh, etc) and fixed colors(for primary, secondary, teriary) are exists in colors.xml and in light/dark themes.xml
colors.xml
themes.xml
Desktop (please complete the following information):
Additional context Surface container colors and fixed colors exist in Figma colors. Also if import as .json theme file surface container colors and fixed colors are exists there. Maybe there are some problem in export colors logic for Android xml.
theme.json