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

Use control CSS var with fallback for form component border-color #3654

Merged
merged 7 commits into from
Aug 22, 2023

Conversation

langermank
Copy link
Contributor

@langermank langermank commented Aug 22, 2023

In dotcom, we're running a test that will gradually increase the contrast of form component borders. This PR introduces the control CSS variable used to set the color, and leaves the existing JS in place as a fallback. There will be no visual changes in the Primer React library during this process.

Part of https://github.com/github/primer/issues/836

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Changes are SSR compatible
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@langermank langermank requested review from a team and siddharthkp August 22, 2023 16:16
@changeset-bot
Copy link

changeset-bot bot commented Aug 22, 2023

🦋 Changeset detected

Latest commit: 2c7f21b

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 103.93 KB (+0.02% 🔺)
dist/browser.umd.js 104.47 KB (+0.03% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-3654 August 22, 2023 16:25 Inactive
@langermank langermank temporarily deployed to github-pages August 22, 2023 17:02 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3654 August 22, 2023 17:02 Inactive
@langermank langermank temporarily deployed to github-pages August 22, 2023 18:56 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3654 August 22, 2023 18:56 Inactive
@langermank langermank temporarily deployed to github-pages August 22, 2023 19:48 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3654 August 22, 2023 19:48 Inactive
@langermank langermank temporarily deployed to github-pages August 22, 2023 20:53 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3654 August 22, 2023 20:54 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants