Only show color and typography variation control if alternate variations exist #61216
Labels
[Feature] Theme Style Variations
Related to style variations provided by block themes
[Type] Enhancement
A suggestion for improvement.
#59717 added a default color/typography variation. It works well, but one follow-up would be to only show the related UI if there are additional color/typography variations available.
Visual
In the visual below, there is a "Default" color variation, even though there are no other color variations provided by the theme. This entire "Presets" UI should only render if there are alternate variations available, for both colors and typography variations independently.
The text was updated successfully, but these errors were encountered: