Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/wp-content/themes/twentytwentyone/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1990,6 +1990,10 @@ input[type=reset]:disabled,
color: currentColor;
}

.wp-block-cover .wp-block-cover__inner-container a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
background: var(--global--color-black);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recommend using --global--color-black

2021 was the last non-block theme. --global-color global settings is a variable introduced in 5.8, for theme.json and 2021 was introduced in 5.6.

I would simply switch to a plain color.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SirLouen

Thank you for the feedback.

I’ve reviewed the theme, and I don’t see any instance where the --global--color custom property is defined. If there's a specific location where this appears, please let me know and I’ll be happy to investigate further.

}

.wp-block-cover .wp-block-cover__inner-container .has-link-color a,
.wp-block-cover .wp-block-cover-image-text .has-link-color a,
.wp-block-cover .wp-block-cover-text .has-link-color a,
Expand Down
Loading