Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(button): fixes primary background in pf-t-dark block #5652

Merged
merged 1 commit into from Jun 8, 2023

Conversation

mcoker
Copy link
Contributor

@mcoker mcoker commented Jun 8, 2023

fixes #5436

This PR addresses the custom primary and secondary button styles that were removed from the pf-t-dark placeholder in #5435

You can see what the old styles looked like when a primary or secondary button was used in a "dark" block, which were based off of an old design here - https://www.patternfly.org/v4/components/masthead/html#basic-with-mixed-content

This PR just re-introduces a var override in the placeholder that sets the primary button background, and resets it in dark theme's placeholder. The secondary button is already accessible in a dark block, so no override is necessary. Here's that demo in this PR - https://patternfly-pr-5652.surge.sh/components/masthead#basic-with-mixed-content

@patternfly-build
Copy link

patternfly-build commented Jun 8, 2023

Copy link
Member

@mcarrano mcarrano left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

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

LPTM 👍

Copy link
Member

@srambach srambach left a comment

Choose a reason for hiding this comment

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

👍 lgtm

@mcoker mcoker merged commit 4641d17 into patternfly:main Jun 8, 2023
1 check passed
@patternfly-build
Copy link

🎉 This PR is included in version 5.0.0-prerelease.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@patternfly-build
Copy link

🎉 This PR is included in version 6.0.0-alpha.1 🎉

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.

Bug - Button - review button styles used in pf-t-dark blocks
7 participants