Repository navigation
Replies: 1 comment
|
{
"slug": "primary",
"name": "Primary",
"color": "var(--primary-color)"
}WordPress turns that into: --wp--preset--color--primary: var(--primary-color);
One limit: contrast checks and the swatch preview are reliable for a hex or |
Uh oh!
There was an error while loading. Please reload this page.
Hello
I am currently trying to learn the Theme.json.
Is the following possible:
"slug": "primary",
"color": "(var)--primary-color",
"name": "primary"
I have —primary-color already defined with WPCodeBox2.
All reactions