Repository navigation
feat(motion): motion tokens module with duration and ease-in checks - #91
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 5ce98af The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
Hebilicious
added this pull request to stack #93
October 7, 2026 21:03
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
cssforge | 5ce98af | Commit Preview URL Branch Preview URL |
Oct 08 2026, 08:16 AM |
Hebilicious
force-pushed
the
feat/issue-83-motion
branch
3 times, most recently
from
October 8, 2026 06:07
da55182 to
b85936b
Compare
Add a motion module: duration and easing groups emitted as --motion-duration-<group>-<name> and --motion-easing-<group>-<name>, resolvable from primitives as motion.<kind>.<group>.<name>. Durations and easing functions are validated at the boundary. A duration over 300ms (500ms with settings.long) and an ease-in shaped curve warn through the diagnostics channel. goodCssEasings exports the two recommended curves as an opt-in preset. Closes #83 Co-Authored-By: Claude <noreply@anthropic.com>
Refs #83 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CSS Forge ships no other preset constants. The README shows the two curves written out in a motion config instead. Refs #83 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hebilicious
force-pushed
the
feat/issue-83-motion
branch
from
October 8, 2026 08:15
b85936b to
5ce98af
Compare
Hebilicious
marked this pull request as ready for review
October 8, 2026 08:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #83.
A new
motionmodule withdurationandeasinggroups emits--motion-duration-*and--motion-easing-*tokens. They can be referenced from primitives and appear in every output format.ms/s) and easings are validated, including strictcubic-bezier()and light checks onsteps()/linear().settings.longgroup (modals, drawers);ease-inand ease-in-shaped curves (slope below 1 at the start, above 1 at the end, soease-in-outis not flagged).uiEasings(out,inOut) is an exported preset and is never injected automatically.Minor changeset, README section.
Deviations from #83:
ease-in-out. With the slope rule,cubic-bezier(0.42, 0, 0.9, 0.9)does not warn, whilecubic-bezier(0.5, 0.2, 0.9, 0.5)does.variablesresolve color paths only, which is already the case for spacing and typography.🤖 Generated with Claude Code