material-theme-builder
material-theme-builder copied to clipboard
Error palette not exported to JSON
Describe the bug
When exporting to JSON, the error palette is missing, even though it is displayed on the theme builder
To Reproduce Steps to reproduce the behavior:
- Go to https://material-foundation.github.io/material-theme-builder/
- Click on the export button on the top right
- Click "Export" -> "Material Theme (JSON)"
- Open downloaded JSON
- The JSON contains the "primary", "secondardy", "tertiary", "neutral" & "neutral-variant" palette, but not the "error" palette
Expected behavior The JSON contains the error palette
Screenshots
Additional context I want to programmatically generate my Android themes based on the JSON, mostly because exporting the Android XML is bugged. See these issues for context: https://github.com/material-foundation/material-theme-builder/issues/308, https://github.com/material-foundation/material-theme-builder/issues/313