• Quick question, I’m wondering if there’s a full list of the theme css variables? I can see them in the F12 Dev tools in chrome but I can’t seem to find them in the theme file editor.

    Example:
    –wp–preset–color–accent etc?

    Thanks, Nate

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,
    WordPress generates the variables by parsing the theme.json file, so there is no list of variables in the theme itself.

    Other variables are generated by WordPress depending on block settings and style options.
    The closest to a list is the generated result that you already see in the dev tools.

Viewing 1 replies (of 1 total)
  • The topic ‘Theme Variables’ is closed to new replies.