-
Notifications
You must be signed in to change notification settings - Fork 628
Export theming utilities from styled-react #6703
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
siddharthkp
commented
Sep 1, 2025
- Towards https://github.com/github/primer/issues/5427
🦋 Changeset detectedLatest commit: f164477 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Add theming utilities export from styled-react
size-limit report 📦
|
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 PR exports additional theming utilities from the @primer/styled-react
package to support theming functionality that depends on styled-components. The change is part of work towards issue #5427.
- Adds exports for 6 theming-related utilities (
ThemeProvider
,merge
,theme
,themeGet
,useColorSchemeVar
,useTheme
) from@primer/react
- Includes a changeset documenting this as a patch-level change
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/styled-react/src/index.ts | Exports theming utilities that depend on styled-components |
.changeset/seven-forks-join.md | Documents the change as a patch release for @primer/styled-react |