Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between palettes and schemes in Material Theme (JSON) export #308

Open
yvvki opened this issue May 19, 2024 · 1 comment
Open

Comments

@yvvki
Copy link

yvvki commented May 19, 2024

Describe the bug
When utilizing the Material Theme (JSON) export, a color palettes will be included after the schemes table. However, these palettes does not match the color token, nor the color in the website.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://material-foundation.github.io/material-theme-builder/
  2. Click on 'Pick your fonts 🡢' and 'Export theme 🡢'
  3. Export as 'Material Theme (JSON)'
  4. Open 'material-theme.json'

Expected behavior
The value of $.schemes.primary should be the same as $.palettes.primary['40'].

Additional details
The bug is also prevalent in the Figma community plugin

@tipa
Copy link

tipa commented Jun 20, 2024

After I found out that the generated color roles are off (see #313), I hoped to create them by myself using the JSON palettes - but now they are wrong as well...

Edit: it appears as if the color palette in the JSON are the same, no matter if the "Color match" option is ticked or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants