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
417 stars 30 forks source link

State Layers colors not getting updated #357

Open DomaKacz opened 4 days ago

DomaKacz commented 4 days ago

Describe the bug When I update Variables with Material Theme Builder, some State Layers don't get updates: for example /Primary, /Primary Container, /On Primary Container, /Secondary, /Secondary Container, /On Secondary Container, /Surface Tint, /Inverse Primary, /On Primary Fixed, /Primary Fixed Dim. It happens even though I checked State Layers and all the other checkboxes in the settings

To Reproduce Steps to reproduce the behavior:

  1. Go to Main screen 2.Choose colors
  2. Go to settings and check "State Layers"
  3. Go back to main screen
  4. Click Update
  5. Wait for the update to finish
  6. Go to Variables -> State Layers
  7. Check the colors

Expected behavior The State Layers is updated.

Screenshots

Screenshot 2024-11-21 at 11 38 25 Screenshot 2024-11-21 at 11 38 39 Screenshot 2024-11-21 at 11 38 53

**Desktop