@zvoove/unity-ui 2.46.0 → 2.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/theme.css CHANGED
@@ -520,6 +520,19 @@
520
520
  transform: scale(1);
521
521
  }
522
522
  }
523
+
524
+ @keyframes ai-gradient-move {
525
+ 0% {
526
+ background-position:
527
+ 0% 0%,
528
+ 0% 50%;
529
+ }
530
+ 100% {
531
+ background-position:
532
+ 0% 0%,
533
+ 200% 50%;
534
+ }
535
+ }
523
536
  }
524
537
 
525
538
  @layer base {
@@ -753,6 +766,38 @@
753
766
  animation: indeterminate 2s ease-in-out infinite;
754
767
  }
755
768
 
769
+ /*
770
+ * Moving multi-color gradient ring for an "AI is working" affordance.
771
+ * Classic two-background border trick: an inner solid layer clipped to
772
+ * padding-box (the fill) sits on top of a gradient layer clipped to
773
+ * border-box (the ring) — pair with a transparent border of the desired
774
+ * width. The gradient repeats its first color at the end and animates
775
+ * exactly one pattern-width, so the loop has no visible seam.
776
+ */
777
+ .ai-gradient-border {
778
+ background-image:
779
+ linear-gradient(var(--color-surface), var(--color-surface)),
780
+ linear-gradient(
781
+ 90deg,
782
+ var(--color-primary),
783
+ var(--color-tertiary),
784
+ var(--color-pink),
785
+ var(--color-secondary),
786
+ var(--color-steel-blue),
787
+ var(--color-primary)
788
+ );
789
+ background-origin: border-box;
790
+ background-clip: padding-box, border-box;
791
+ background-size:
792
+ 100% 100%,
793
+ 300% 100%;
794
+ animation: ai-gradient-move 6s linear infinite;
795
+
796
+ @media (prefers-reduced-motion: reduce) {
797
+ animation: none;
798
+ }
799
+ }
800
+
756
801
  .animate-circular-indeterminate {
757
802
  animation: circular-indeterminate 1.2s ease-in-out infinite;
758
803
  }