Skip to content

fix(HeaderToggle): updated border radius in high contrast#730

Merged
rebeccaalpert merged 2 commits into
patternfly:mainfrom
thatblindgeye:iss698
Nov 3, 2025
Merged

fix(HeaderToggle): updated border radius in high contrast#730
rebeccaalpert merged 2 commits into
patternfly:mainfrom
thatblindgeye:iss698

Conversation

@thatblindgeye

Copy link
Copy Markdown
Collaborator

Closes #698

@patternfly-build

patternfly-build commented Oct 24, 2025

Copy link
Copy Markdown

@rebeccaalpert

Copy link
Copy Markdown
Member

@rebeccaalpert rebeccaalpert left a comment

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.

Works for me!

justify-content: center;

&::before {
border-radius: var(--pf-t--global--border--radius--pill);

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 think you could also use inherit as the value here; that's what we tended to use in core so that the pseudoelements match the element border radius without having to use the variable again.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good call out, pushed that update!

@lboehling lboehling left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm!

@srambach srambach left a comment

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.

L 🤖 TM!

@rebeccaalpert rebeccaalpert merged commit 5990ef8 into patternfly:main Nov 3, 2025
7 checks passed
@github-actions

github-actions Bot commented Nov 3, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 6.5.0-prerelease.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Buttons high contrast

5 participants