Skip to content

Border color: only shows a single palette #36641

@oandregal

Description

@oandregal

Description

The color panel is able to show three different palettes: the theme, the default, and the user one. This works for text, background, and link colors. However, the border color only shows a single palette.

Step-by-step reproduction instructions

How to test

With theme colors:

  • Use the TT1-blocks.
  • Add a pullquote and open the border panel: it'll only show the theme palette.

With custom colors:

  • Use the TT1-blocks and add a user color via the site editor's global styles sidebar.
  • Add a pullquote and open the border panel: it'll only show the custom color added by the user.

With default colors:

  • Use the TT1-blocks.
  • Remove the user colors added before.
  • Remove the theme colors from the theme.json.
  • Add a pullquote and open the border panel: it'll only show the default color palette.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions