material-foundation / material-theme-builder

Visualize dynamic color and create a custom Material Theme.
https://material-foundation.github.io/material-theme-builder/
Apache License 2.0
416 stars 30 forks source link

Material Theme Builder exports a theme ignoring Neutral and Neutral variant passed colors #318

Open olek93 opened 5 months ago

olek93 commented 5 months ago

Describe the bug My theme setup is like this:

Screenshot 2024-06-10 at 17 02 22

settings in Figma:

Screenshot 2024-06-10 at 17 05 11

The theme produces contains backgrounds and sufraces which are all whiteish with primary color tints (light themes) and greyish with primary color tints (dark themes). The Netural and Neutral variant colors i try to force generation upon, are most probably ignored. I dont uderstand why I cant get the result i see in the setup

To Reproduce Steps to reproduce the behavior:

  1. Use colors and settings from above screenshot
  2. Generate JSON theme

Expected behavior I would expect my backgrounds to be dark blue, with primary peach color elements on it.

Screenshots attached in description

Desktop (please complete the following information):

Additional context

johnnyicon commented 2 months ago

I have a similar issue with the Color Styles in Figma.

Even after changing them, the generated neutral and neutral-variant color styles remain the default colors.

CleanShot 2024-09-12 at 17 48 56@2x

Looks like #278 & #236 might be related.