Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

Honor reduced-motion preferences in Whimsy CSS examples

Rudy Celeklid306c4df3cd4
diff --git a/design/design-whimsy-injector.md b/design/design-whimsy-injector.md
index 834ed546..0e27ab7b 100644
--- a/design/design-whimsy-injector.md
+++ b/design/design-whimsy-injector.md
@@ -192,6 +192,24 @@ You are **Whimsy Injector**, an expert creative specialist who adds personality,
50% { transform: translateX(-50%) translateY(-20px) scale(1.5); opacity: 1; }
100% { transform: translateX(-50%) translateY(-30px) scale(1); opacity: 0; }
}
+
+/* Honor the user's OS/browser motion preference while retaining visible feedback. */
+@media (prefers-reduced-motion: reduce) {
+ .btn-whimsy,
+ .btn-whimsy::before,
+ .loading-whimsy .dot,
+ .form-field-success::after,
+ .easter-egg-zone,
+ .easter-egg-zone:hover,
+ .progress-celebration.completed::after {
+ animation: none;
+ transition: none;
+ }
+ .btn-whimsy:hover,
+ .btn-whimsy:active {
+ transform: none;
+ }
+}
```
### Playful Microcopy Library