feat: add canned CSS animation utilities - #4545
Open
OscarTheWhiteHatHacker wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@OscarTheWhiteHatHacker is attempting to deploy a commit to the Skeleton Labs Team on Vercel. A member of the Team first needs to authorize it. |
🦋 Changeset detectedLatest commit: 85bc61e The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 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 |
Adds a curated set of reusable micro-animations exposed as Tailwind `animate-*` utilities, covering entry effects (pop-in, fade-in, zoom-in, slide-in-*) and attention effects (shake, wiggle, pulse-soft). Keyframes are prefixed with `skeleton-` to avoid naming collisions and defined via `--animate-*` theme tokens so durations and easing can be customized per project. Includes docs and examples. Ref skeletonlabs#3214.
OscarTheWhiteHatHacker
force-pushed
the
feat/canned-animations
branch
from
August 7, 2026 10:15
e373651 to
85bc61e
Compare
Contributor
|
@OscarTheWhiteHatHacker this is an interesting contribution. I can see the value. Just now I'm currently in the midst of trying to sort out a personal emergency, so note my review my be delayed for now. Thanks for the support though. |
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.
Summary
Adds a curated set of canned CSS animations to Skeleton, exposed as Tailwind
animate-*utilities — no custom keyframes required. This addresses the feature request in #3214.Covers the most common UI animation needs:
Entry —
animate-pop-in,animate-fade-in,animate-zoom-in,animate-slide-in-up/down/left/rightAttention —
animate-shake(form errors),animate-wiggle,animate-pulse-softImplementation
packages/skeleton/src/keyframes/animations.css— 10 original keyframes, prefixedskeleton-to avoid naming collisions with user keyframes.packages/skeleton/src/base/theme.css— new--animate-*theme tokens (Tailwind v4@theme), so durations/easing can be overridden per project.packages/skeleton/src/index.css— imports the new keyframes.@skeletonlabs/skeleton.Verification
packages/skeleton/src/index.csswith Tailwind CSS v4.3.3: all 10animate-*utilities generated, all 10 keyframes emitted.animation-name/duration/iteration-countresolves correctly (e.g.skeleton-shake0.5s × 1,skeleton-wiggle0.6s infinite); animations visibly run (pop/zoom overshoot, wiggle rotation, pulse fade).prettier --checkpasses on all changed files.Entry animations use
bothfill mode (elements start hidden); docs show themotion-reduce:animate-nonepattern for reduced-motion users.