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
351 stars 23 forks source link

Wrong error colors #291

Open kfaraj opened 1 month ago

kfaraj commented 1 month ago

Describe the bug According to the documentation, error is an example of a static color (it doesn't change even in dynamic color schemes). However, wrong error colors are generated if we change the source color.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Material Theme Builder'
  2. Click on 'Source color'
  3. Click on 'Update'
  4. See that error colors have changed (e.g. Error40 is #BA1A1A)

Expected behavior See that error colors have not changed (e.g. Error40 is #B3261E)

Screenshots

Capture d’écran 2024-04-10 à 14 24 05 Capture d’écran 2024-04-10 à 14 24 29

Desktop