Skip to content

feat(progress): add high contrast border - #7695

Merged
mcoker merged 2 commits into
patternfly:high-contrast-q3from
wise-king-sullyman:progress-high-contrast-border
Aug 5, 2025
Merged

mcoker merged 2 commits into
patternfly:high-contrast-q3from
wise-king-sullyman:progress-high-contrast-border

Conversation

@wise-king-sullyman

@wise-king-sullyman wise-king-sullyman commented Jul 29, 2025 •

Copy link
Copy Markdown
Collaborator

@patternfly-build

patternfly-build commented Jul 29, 2025 •

Copy link
Copy Markdown
Collaborator

@wise-king-sullyman
wise-king-sullyman requested review from a team, lboehling, sg00dwin and srambach and removed request for a team and sg00dwin July 29, 2025 18:30
pointer-events: none;
content: '';
border: var(--#{$progress}__bar--BorderWidth) solid var(--#{$progress}__bar--BorderColor);
border-radius: var(--#{$progress}__bar--BorderRadius);

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.

@mcoker are we recommending using inherit for the border-radius if possible? Otherwise, this looks great!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oops! Didn't see your review, left the same comment below

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.

Looks like one of you owes the other a soda 😆

@mcoker mcoker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM just one small nit - ::before can inherit values from the element it applies to, so we can use inherit for the value of border-radius. Just one less var to keep track of.

Comment thread src/patternfly/components/Progress/progress.scss Outdated

@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

@wise-king-sullyman wise-king-sullyman linked an issue Jul 31, 2025 that may be closed by this pull request

@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.

🤩

@mcoker
mcoker merged commit bbdc3fe into patternfly:high-contrast-q3 Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

High contrast borders - Progress

5 participants