Color naming conflict for theme variables #36360
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
As I was running through testing of FSE Program Testing Call #11: Site Editing Safari I noticed an odd behavior with Global Styles custom colors.
I'm running
WP 5.8.2-RC1-51987
using Beta Tester plugin, and using Gutenberg 11.9 RC3 with TT1 Blocks theme.Here are the steps to recreate:
While technically, this may make sense and may even be the intended outcome. However, from a user perceptive it is not ideal and the behavior is unexpected.
This likely would involve more mature APIs for colors, and still being discussed in: Default Colors, Theme Colors, and Custom Colors #29568. Also, it would be ideal to do some validation or checking to make sure color naming does not conflict.
Step-by-step reproduction instructions
(noted above)
Screenshots, screen recording, code snippet
Styles-color-naming-override.mp4
Environment info
WP 5.8.2-RC1-51987
using Beta Tester plugin, and using Gutenberg 11.9 RC3 with TT1 Blocks theme.Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: