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

Update confirmation dialog body to default color #5128

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

stephaniegiang
Copy link
Contributor

In the current implementation of the dialog, the body text is being set to muted purposely. Screenshot below:

screenshot of confirmation dialog with muted text color in body

However with overriding the body of the text, this affects other components such as putting a Banner inside the dialog. This makes the body of the text also muted which is not what we want. Here is an example of how it looks:

screenshot of confirmation dialog with banner inside and the text of the banner also being muted

So I am just removing the set muted text color and just allow the default to happen. Screenshot below:

screenshot of confirmation dialog with default text color in body

Changelog

New

Changed

  • Body text color of ConfirmationDialog changed from muted to default

Removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Just changes the body text from muted to default.

Testing & Reviewing

Merge checklist

@stephaniegiang stephaniegiang requested a review from a team as a code owner October 15, 2024 18:15
Copy link

changeset-bot bot commented Oct 15, 2024

🦋 Changeset detected

Latest commit: d5b25c5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks!

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Oct 15, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-5128 October 15, 2024 18:18 Inactive
Copy link
Contributor

github-actions bot commented Oct 15, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 97.68 KB (+0.09% 🔺)
packages/react/dist/browser.umd.js 97.93 KB (+0.1% 🔺)

@primer-integration
Copy link

👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/347185

@primer-integration
Copy link

🔴 golden-jobs completed with status failure.

@jonrohan jonrohan added this pull request to the merge queue Oct 16, 2024
Merged via the queue into main with commit adf8c4f Oct 16, 2024
43 checks passed
@jonrohan jonrohan deleted the confirmation-dialog-body-default-color branch October 16, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants