-
Notifications
You must be signed in to change notification settings - Fork 646
Bump primer/stylelint-config
#7160
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
Conversation
|
|
👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request updates the CSS color function syntax across multiple CSS Module files to comply with modern CSS Color Module Level 4 standards. The changes are driven by an update to @primer/stylelint-config from version 13.3.0 to 13.4.1, which enforces the use of rgb() and hsl() functions instead of the legacy rgba() and hsla() functions.
- Updates
@primer/stylelint-configto version 13.4.1 - Converts all
rgba()function calls torgb()with alpha parameter - Converts all
hsla()function calls tohsl()with alpha parameter
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/react/src/stories/deprecated/ActionMenuStories.module.css | Updates box-shadow colors from rgba() to rgb() syntax |
| packages/react/src/stories/deprecated/ActionListStories.module.css | Updates box-shadow colors from rgba() to rgb() syntax |
| packages/react/src/Token/IssueLabelToken.module.css | Updates background, border, and gradient colors from rgba()/hsla() to rgb()/hsl() syntax |
| packages/react/src/ToggleSwitch/ToggleSwitch.module.css | Updates background colors from hsla() to hsl() syntax |
| packages/react/src/Skeleton/SkeletonBox.module.css | Updates mask-image gradient from rgba() to rgb() syntax |
| packages/react/src/ProgressBar/ProgressBar.module.css | Updates mask-image gradient from rgba() to rgb() syntax |
| packages/react/src/AvatarStack/AvatarStack.module.css | Updates box-shadow and mask-image colors from rgba() to rgb() syntax |
| package.json | Updates @primer/stylelint-config dependency to version 13.4.1 |
| package-lock.json | Updates lockfile with new dependency versions and package version bumps for @primer/react and @primer/styled-react |
Bump to latest