Skip to content

Add support for colors added via theme.json #3373

Description

@andeng1106

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • Add support for colors added via theme.json
  • Users also mentioned:

    I am expecting it to show as something like "background-color: var(--wp--preset--color--secondary);". Which how the rest of core colors are showing with native Gutenburg blocks.

Describe alternatives you've considered

  • Add the theme.json colors as global colors using the hex code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement to an existing featureglobal-settingsGlobal colors, typography, presets, block styles

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions