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 motion tokens #5667

Merged
merged 3 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/seven-hounds-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Replaced raw values for duration and easing with primitives
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react/src/Spinner/Spinner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}

.SpinnerAnimation {
animation: rotate-keyframes 1s linear infinite;
animation: rotate-keyframes var(--base-duration-1000) var(--base-easing-linear) infinite;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
mask-image: linear-gradient(75deg, #000 30%, rgba(0, 0, 0, 0.65) 80%);
mask-size: 200%;
animation: shimmer;
animation-duration: 1s;
animation-duration: var(base-duration-1000);
animation-iteration-count: infinite;
}

Expand Down
Loading