Skip to content

fix: remove duplicate keyframe definitions in animations.css (#740)#1235

Merged
SAPTARSHI-coder merged 2 commits into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:fix/duplicate-keyframes-740-clean
Jun 4, 2026
Merged

fix: remove duplicate keyframe definitions in animations.css (#740)#1235
SAPTARSHI-coder merged 2 commits into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:fix/duplicate-keyframes-740-clean

Conversation

@Pcmhacker-piro
Copy link
Copy Markdown

Description

Removes @keyframes ease-kf-slide-image-exit, @keyframes ease-kf-shimmer-sweep, and .ease-shimmer-sweep from core/animations.css. These definitions are already present in the modular easemotion/ files (slide.css, hover.css, misc.css) where they belong — removing them from core eliminates duplication.

This also fixes a CSS syntax error in core/animations.css where the .ease-shimmer-sweep block was missing its closing }, causing .ease-squish-button:hover and .ease-gradient-rotation to be unintentionally nested inside it.

Changes

  • core/animations.css — removed 4 blocks (2 keyframes + 2 classes), cleaned up whitespace
  • easemotion.min.css — regenerated via npm run build

Closes #740

…HI-coder#740)

Remove '@Keyframes ease-kf-slide-image-exit',
'@Keyframes ease-kf-shimmer-sweep', and '.ease-shimmer-sweep'
from core/animations.css since they are already defined in the
modular easemotion/ files (slide.css, hover.css, misc.css).

This also fixes a CSS syntax error where .ease-shimmer-sweep was
missing its closing brace, causing subsequent rules to be nested.

Closes SAPTARSHI-coder#740
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

📊 CSS Bundle Size Benchmark

This PR changes the size of easemotion.min.css.

Metric Base Branch This PR Difference
Raw 44.30 KB 43.77 KB 📉 -0.54 KB
Gzip 7.90 KB 7.82 KB 📉 -0.08 KB
Brotli 6.82 KB 6.75 KB 📉 -0.07 KB

@Pcmhacker-piro
Copy link
Copy Markdown
Author

hey i fixed the assign issue so pls check thsi

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 4, 2026
@SAPTARSHI-coder SAPTARSHI-coder merged commit 5ddf723 into SAPTARSHI-coder:main Jun 4, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) core enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove duplicate keyframe definitions in animations.css

2 participants