[Global Styles] Please add an option for adding custom color tokens, the defaults are not enough for non flat designs! #52450
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Currently there are Background, Text, Captions, Link, Button and Heading tokens by default. Changing the status quo would require a functions.php file and custom code which isnt very designer or nocode friendly.
Let's say I want to create more dimensional design with a backdrop color as the farthest back, common with most "boxed" posts layouts where the actual white background of the text is a box/group floating on top of this backdrop. This isn't possible in an elegant way with the currently available color tokens given how they're named.
The naming isn't the problem if you use functional tokens on this level, but it's a problem if there aren't enough functional tokens.
Actually in a more sophisticated theme design designers need way more functional tokens for borders, branded backgrounds etc. that are applicable with a click. Modifying or creating a functions.php file, research the code, installa code editor etc. are way over the head for people who use the create block theme plugin to start new themes.
What is your proposed solution?
Add a UI option for adding custom tokens. @ndiego posted a potential solution on wp.org, but it would be great if it's included by default because it's something that is blocking designers from designing freely.
The text was updated successfully, but these errors were encountered: