Navigation Block: Colors selections display differently between editor and frontend #25889
Labels
[Block] Navigation
Affects the Navigation Block
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Type] Bug
An existing feature does not function as intended
Describe the bug
Color selections for the navigation block using named CSS color classes, appear different between the editor and frontend.
When the color palette differs between the editor and frontend, or when the theme doesn't provide a color palette at all, the color the user selects is not reflected on the frontend.
Further discussion, background, and an ad-hoc approach to forcing this consistency ( 8b84c42 ) was originally included in #25691.
To reproduce
This is an issue across multiple themes ( TwentyTwenty, Maywood etc ) however is best observed in a theme that doesn't provide a full colour palette to the editor such as Varia.
Expected behavior
The color I select in the editor to be the one shown on the frontend.
Screenshots
Editor version (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: