SEV-337: add shared animations.css #7

Merged
bastian merged 1 commits from sev-337/shared-animations into main 2026-06-11 14:04:57 -04:00
Owner

Adds src/animations.css to @switchev/web-shared — the animation primitives currently copy-pasted across public-site/vendor-site/admin-site style.css:

  • @keyframes shimmer + .skeleton + .ai-shimmer
  • @keyframes fadeIn + .fade-in, @keyframes fadeInUp + .fade-in-up
  • stagger .delay-100..400
  • @keyframes shake + .shake

Plain CSS (no Tailwind utilities), exported as @switchev/web-shared/animations.css and added to sideEffects so bundlers keep it. Version → 0.6.0. App-specific, non-animation styles (brand theme, star ratings, gradient text) stay per-app.

Consuming PRs (public/vendor/admin bump the pin to this SHA, import the file, drop their local copies) follow.

🤖 Generated with Claude Code

Adds `src/animations.css` to `@switchev/web-shared` — the animation primitives currently copy-pasted across public-site/vendor-site/admin-site `style.css`: - `@keyframes shimmer` + `.skeleton` + `.ai-shimmer` - `@keyframes fadeIn` + `.fade-in`, `@keyframes fadeInUp` + `.fade-in-up` - stagger `.delay-100..400` - `@keyframes shake` + `.shake` Plain CSS (no Tailwind utilities), exported as `@switchev/web-shared/animations.css` and added to `sideEffects` so bundlers keep it. Version → 0.6.0. App-specific, non-animation styles (brand theme, star ratings, gradient text) stay per-app. Consuming PRs (public/vendor/admin bump the pin to this SHA, import the file, drop their local copies) follow. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bastian added 1 commit 2026-06-11 14:04:51 -04:00
Centralizes the animation primitives duplicated across public/vendor/admin
style.css — shimmer/.skeleton/.ai-shimmer, fadeIn/.fade-in, fadeInUp/.fade-in-up,
stagger delays, shake/.shake — as a plain-CSS export each app can import
(@switchev/web-shared/animations.css). Bumps to 0.6.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bastian merged commit 6aeb4685fc into main 2026-06-11 14:04:57 -04:00
bastian deleted branch sev-337/shared-animations 2026-06-11 14:04:58 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SwitchEV/shared#7