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
397 stars 27 forks source link

Issue with default Custom > Your Theme > More color information > Error in Web Version #31

Closed cgrobb closed 1 year ago

cgrobb commented 2 years ago

Describe the bug It looks like the Error tones are being calc'd/displayed incorrectly. See attached.

To Reproduce Load: https://material-foundation.github.io/material-theme-builder/ Nav: Custom > Your Theme > More color information > Error

Expected behavior A set of values that ramp continuously (perceptually) the way the other color types in this same section do.

Screenshots image

Desktop (please complete the following information):

rodydavis commented 2 years ago

This is because of how the theme is imported. Im going to move the system and palette tokens to a computed only context which means changes made outside the plugin will not survive a theme update.

Thanks for flagging this!