Style variations: Add "Randomize" button #39629
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Needs Design Feedback
Needs general design feedback.
The Global Styles system has a new "style variation" system that allows you to add named copies of
theme.json
into astyles
folder in your theme. For example,twentytwentytwo/styles/blue.json
. These style variations are saved copies of a style configuration, meaning they can change colors, fonts, borders, radiuses, and more.As the system gets refined, it would be interesting to leverage just how light-weight of a system this is, and showcase that through a "Randomize" button:
Note: the above mockup is missing aspects such as style-card improvements and saving custom variations. That's not an intentional omission, it'll be added when those solidify. See also #38333.
The button would not randomize every property available, it would randomize a select few, such as:
That could be a good starting point, and then we could expand the list once that feels solid, for example to include:
Where available, theme-provided presets (colors, duotones, fonts) should be chosen by the randomizer.
A key value both in choosing which initial properties and blocks to randomize is to ensure compelling results. If randomizing a specific property doesn't yield good variations, we should leave it out. There will always be new opportunites to expand randomization.
What do you think?
The text was updated successfully, but these errors were encountered: