Skip to content

Commit

Permalink
Merge 585214b into f1c1825
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jan 17, 2024
2 parents f1c1825 + 585214b commit 282e7ce
Show file tree
Hide file tree
Showing 16 changed files with 5,501 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .changeset/dry-bugs-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": minor
---

- Moves legacy color primitives from `primer/primitives` directly into Primer React
- Cleans up unused dependencies on primitives other than color
- Preparing for the upgrade to CSS variables (Primitives v8)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# All changes should be reviewed by a member of the @react-reviewers team
* @primer/react-reviewers
./src/legacy-theme/ @langermank
1 change: 1 addition & 0 deletions src/legacy-theme/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`legacy-theme` is a copy of the colors `dist` from `primer/primitives` and is intended to serve as a stopgap until we migrate JS variables to CSS variables. This excludes the build logic from Primitives, so each value is a raw hex. Refrain from making changes to these colors unless absolutely necessary.
Loading

0 comments on commit 282e7ce

Please sign in to comment.