@neo-ui-kit/react 1.0.0 → 1.0.1

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.
Files changed (55) hide show
  1. package/README.md +12 -2
  2. package/dist/components/artwork/DatabaseArt/styles.css +58 -58
  3. package/dist/components/artwork/Landscape/styles.css +79 -79
  4. package/dist/components/artwork/Planet/styles.css +52 -52
  5. package/dist/components/artwork/QuantumField/UPSTREAM-LICENSE.txt +21 -21
  6. package/dist/components/artwork/ServerArt/styles.css +43 -43
  7. package/dist/components/artwork/Spectrum/styles.css +35 -35
  8. package/dist/components/controls/Autocomplete/styles.css +1 -1
  9. package/dist/components/controls/Checkbox/styles.css +58 -58
  10. package/dist/components/controls/InputBase/styles.css +374 -374
  11. package/dist/components/controls/Link/styles.css +50 -50
  12. package/dist/components/controls/SegmentedControl/styles.css +9 -9
  13. package/dist/components/controls/Switch/styles.css +54 -54
  14. package/dist/components/controls/Tabs/styles.css +239 -239
  15. package/dist/components/controls/ToggleButton/styles.css +49 -49
  16. package/dist/components/controls/shared.css +694 -694
  17. package/dist/components/editor/shared.css +1 -1
  18. package/dist/components/effects/Beacon/styles.css +38 -38
  19. package/dist/components/effects/Equalizer/styles.css +34 -34
  20. package/dist/components/effects/GlowText/styles.css +56 -56
  21. package/dist/components/effects/Marquee/styles.css +46 -46
  22. package/dist/components/effects/Reveal/styles.css +25 -25
  23. package/dist/components/effects/Shimmer/styles.css +48 -48
  24. package/dist/components/effects/Sparkles/styles.css +28 -28
  25. package/dist/components/effects/Spotlight/styles.css +45 -45
  26. package/dist/components/effects/Tilt/styles.css +67 -67
  27. package/dist/components/feedback/CollapsibleSection/styles.css +76 -76
  28. package/dist/components/feedback/DataTable/styles.css +522 -522
  29. package/dist/components/feedback/EmptyState/styles.css +80 -80
  30. package/dist/components/feedback/KeyValueList/styles.css +51 -51
  31. package/dist/components/feedback/MenuItem/styles.css +71 -71
  32. package/dist/components/feedback/Popover/styles.css +44 -44
  33. package/dist/components/feedback/Steps/styles.css +152 -152
  34. package/dist/components/feedback/Toast/styles.css +89 -89
  35. package/dist/components/forms/FormFields/styles.css +21 -21
  36. package/dist/components/foundation/ThemeProvider/styles.css +31 -31
  37. package/dist/components/layout/Avatar/styles.css +151 -151
  38. package/dist/components/layout/Card/styles.css +37 -37
  39. package/dist/components/layout/DialogActions/styles.css +31 -31
  40. package/dist/components/layout/DialogBody/styles.css +17 -17
  41. package/dist/components/layout/Illustration/styles.css +104 -104
  42. package/dist/components/layout/ScrollArea/styles.css +61 -61
  43. package/dist/components/layout/TabPanel/styles.css +16 -16
  44. package/dist/components/layout/shared.css +65 -65
  45. package/dist/components/media/AudioPlayer/styles.css +86 -86
  46. package/dist/components/media/LevelMeter/styles.css +30 -30
  47. package/dist/components/media/MelodyRoll/styles.css +196 -196
  48. package/dist/components/media/RotaryKnob/styles.css +319 -319
  49. package/dist/components/media/Sparkline/styles.css +69 -69
  50. package/dist/components/media/WaveDecoration/styles.css +1 -1
  51. package/dist/components/media/shared.css +7 -7
  52. package/dist/fonts/melodix.css +123 -123
  53. package/dist/index.js +2101 -2101
  54. package/dist/theme/base.css +210 -210
  55. package/package.json +1 -1
@@ -1,152 +1,152 @@
1
- /* Styles owned by Steps: nodes on a rail; energy flows along the rail into the current step. */
2
- .ad-steps {
3
- --ad-step-node: 1.9rem;
4
- display: grid;
5
- grid-auto-flow: column;
6
- grid-auto-columns: minmax(0, 1fr);
7
- padding: 0;
8
- margin: 0;
9
- list-style: none;
10
- }
11
- .ad-steps > li {
12
- position: relative;
13
- display: grid;
14
- justify-items: center;
15
- align-content: start;
16
- gap: 0.5rem;
17
- min-width: 0;
18
- text-align: center;
19
- }
20
- /* Rail segment from the previous node to this one. */
21
- .ad-steps > li + li::before {
22
- content: "";
23
- position: absolute;
24
- z-index: 0;
25
- top: calc(var(--ad-step-node) / 2 - 0.0625rem);
26
- right: calc(50% + var(--ad-step-node) / 2 + 0.25rem);
27
- left: calc(-50% + var(--ad-step-node) / 2 + 0.25rem);
28
- height: 0.125rem;
29
- border-radius: 999rem;
30
- background: #ffffff14;
31
- }
32
- .ad-steps > li[data-state="done"] + li::before,
33
- .ad-steps > li + li[data-state="done"]::before {
34
- background: linear-gradient(90deg, var(--ad-primary), var(--ad-secondary));
35
- box-shadow: 0 0 0.5rem rgb(from var(--ad-primary) r g b / 0.53);
36
- }
37
- .ad-steps > li + li[data-state="current"]::before {
38
- overflow: hidden;
39
- background: linear-gradient(90deg, var(--ad-primary) 0 40%, rgb(from var(--ad-primary) r g b / 0.25) 100%);
40
- box-shadow: 0 0 0.5rem rgb(from var(--ad-primary) r g b / 0.53);
41
- }
42
- /* The line toward the current step carries a running glint. */
43
- .ad-steps > li[data-state="current"] {
44
- --ad-steps-glint: 1;
45
- }
46
- .ad-steps-glint {
47
- position: absolute;
48
- top: calc(var(--ad-step-node) / 2 - 0.0625rem);
49
- right: calc(50% + var(--ad-step-node) / 2 + 0.25rem);
50
- left: calc(-50% + var(--ad-step-node) / 2 + 0.25rem);
51
- height: 0.125rem;
52
- overflow: hidden;
53
- border-radius: 999rem;
54
- clip-path: inset(0 round 999rem);
55
- pointer-events: none;
56
- }
57
- /* The glint is 30% of the line and slides from 28% left of it to 98% across, on its own layer. */
58
- .ad-steps-glint::before {
59
- content: "";
60
- position: absolute;
61
- inset: 0;
62
- width: 30%;
63
- background: linear-gradient(90deg, transparent, var(--ad-neutral-200), transparent);
64
- transform: translateX(-93.333%);
65
- animation: ad-steps-flow 1.6s linear infinite;
66
- will-change: transform;
67
- }
68
- .ad-step-node {
69
- position: relative;
70
- z-index: 1;
71
- display: grid;
72
- place-items: center;
73
- width: var(--ad-step-node);
74
- height: var(--ad-step-node);
75
- border-radius: 50%;
76
- font-size: 0.75rem;
77
- font-weight: 700;
78
- color: var(--ad-neutral-500);
79
- background: var(--ad-neutral-900);
80
- box-shadow: inset 0 0 0 0.0625rem #ffffff26;
81
- transition:
82
- background 0.3s,
83
- box-shadow 0.3s,
84
- color 0.3s;
85
- }
86
- .ad-step-node > .ad-icon {
87
- --ad-icon-size: 1rem;
88
- animation: ad-steps-pop 0.45s cubic-bezier(0.34, 1.6, 0.5, 1) both;
89
- }
90
- .ad-steps > li[data-state="done"] .ad-step-node {
91
- color: #fff;
92
- background: linear-gradient(180deg, var(--ad-primary), var(--ad-primary-700));
93
- box-shadow:
94
- inset 0 0.0625rem 0 rgb(from var(--ad-secondary-100) r g b / 0.53),
95
- 0 0 0.6rem rgb(from var(--ad-primary) r g b / 0.4);
96
- }
97
- .ad-steps > li[data-state="current"] .ad-step-node {
98
- color: #fff;
99
- background: radial-gradient(circle, rgb(from var(--ad-primary) r g b / 0.33), var(--ad-neutral-900) 70%);
100
- box-shadow:
101
- inset 0 0 0 0.125rem var(--ad-secondary),
102
- 0 0 0.9rem rgb(from var(--ad-primary) r g b / 0.53);
103
- }
104
- .ad-steps > li[data-state="current"] .ad-step-node::before {
105
- content: "";
106
- position: absolute;
107
- inset: 0;
108
- border-radius: 50%;
109
- box-shadow: inset 0 0 0 0.125rem var(--ad-secondary-200), 0 0 1.4rem rgb(from var(--ad-primary) r g b / 0.67);
110
- opacity: 0;
111
- animation: ad-steps-pulse 1.8s ease-in-out infinite;
112
- }
113
- /* Orbiting dashed ring around the current node. */
114
- .ad-steps > li[data-state="current"] .ad-step-node::after {
115
- content: "";
116
- position: absolute;
117
- inset: -0.3rem;
118
- border-radius: 50%;
119
- border: 0.0625rem dashed rgb(from var(--ad-secondary) r g b / 0.67);
120
- animation: ad-steps-orbit 6s linear infinite;
121
- }
122
- .ad-step-label {
123
- max-width: 100%;
124
- font-size: var(--ad-font-size-caption);
125
- font-weight: 600;
126
- color: var(--ad-neutral-500);
127
- overflow-wrap: anywhere;
128
- }
129
- .ad-steps > li:is([data-state="done"], [data-state="current"]) .ad-step-label {
130
- color: var(--ad-neutral-200);
131
- }
132
- @keyframes ad-steps-flow {
133
- to {
134
- transform: translateX(326.667%);
135
- }
136
- }
137
- @keyframes ad-steps-pulse {
138
- 50% {
139
- opacity: 1;
140
- }
141
- }
142
- @keyframes ad-steps-orbit {
143
- to {
144
- rotate: 1turn;
145
- }
146
- }
147
- @keyframes ad-steps-pop {
148
- from {
149
- scale: 0;
150
- rotate: -45deg;
151
- }
152
- }
1
+ /* Styles owned by Steps: nodes on a rail; energy flows along the rail into the current step. */
2
+ .ad-steps {
3
+ --ad-step-node: 1.9rem;
4
+ display: grid;
5
+ grid-auto-flow: column;
6
+ grid-auto-columns: minmax(0, 1fr);
7
+ padding: 0;
8
+ margin: 0;
9
+ list-style: none;
10
+ }
11
+ .ad-steps > li {
12
+ position: relative;
13
+ display: grid;
14
+ justify-items: center;
15
+ align-content: start;
16
+ gap: 0.5rem;
17
+ min-width: 0;
18
+ text-align: center;
19
+ }
20
+ /* Rail segment from the previous node to this one. */
21
+ .ad-steps > li + li::before {
22
+ content: "";
23
+ position: absolute;
24
+ z-index: 0;
25
+ top: calc(var(--ad-step-node) / 2 - 0.0625rem);
26
+ right: calc(50% + var(--ad-step-node) / 2 + 0.25rem);
27
+ left: calc(-50% + var(--ad-step-node) / 2 + 0.25rem);
28
+ height: 0.125rem;
29
+ border-radius: 999rem;
30
+ background: #ffffff14;
31
+ }
32
+ .ad-steps > li[data-state="done"] + li::before,
33
+ .ad-steps > li + li[data-state="done"]::before {
34
+ background: linear-gradient(90deg, var(--ad-primary), var(--ad-secondary));
35
+ box-shadow: 0 0 0.5rem rgb(from var(--ad-primary) r g b / 0.53);
36
+ }
37
+ .ad-steps > li + li[data-state="current"]::before {
38
+ overflow: hidden;
39
+ background: linear-gradient(90deg, var(--ad-primary) 0 40%, rgb(from var(--ad-primary) r g b / 0.25) 100%);
40
+ box-shadow: 0 0 0.5rem rgb(from var(--ad-primary) r g b / 0.53);
41
+ }
42
+ /* The line toward the current step carries a running glint. */
43
+ .ad-steps > li[data-state="current"] {
44
+ --ad-steps-glint: 1;
45
+ }
46
+ .ad-steps-glint {
47
+ position: absolute;
48
+ top: calc(var(--ad-step-node) / 2 - 0.0625rem);
49
+ right: calc(50% + var(--ad-step-node) / 2 + 0.25rem);
50
+ left: calc(-50% + var(--ad-step-node) / 2 + 0.25rem);
51
+ height: 0.125rem;
52
+ overflow: hidden;
53
+ border-radius: 999rem;
54
+ clip-path: inset(0 round 999rem);
55
+ pointer-events: none;
56
+ }
57
+ /* The glint is 30% of the line and slides from 28% left of it to 98% across, on its own layer. */
58
+ .ad-steps-glint::before {
59
+ content: "";
60
+ position: absolute;
61
+ inset: 0;
62
+ width: 30%;
63
+ background: linear-gradient(90deg, transparent, var(--ad-neutral-200), transparent);
64
+ transform: translateX(-93.333%);
65
+ animation: ad-steps-flow 1.6s linear infinite;
66
+ will-change: transform;
67
+ }
68
+ .ad-step-node {
69
+ position: relative;
70
+ z-index: 1;
71
+ display: grid;
72
+ place-items: center;
73
+ width: var(--ad-step-node);
74
+ height: var(--ad-step-node);
75
+ border-radius: 50%;
76
+ font-size: 0.75rem;
77
+ font-weight: 700;
78
+ color: var(--ad-neutral-500);
79
+ background: var(--ad-neutral-900);
80
+ box-shadow: inset 0 0 0 0.0625rem #ffffff26;
81
+ transition:
82
+ background 0.3s,
83
+ box-shadow 0.3s,
84
+ color 0.3s;
85
+ }
86
+ .ad-step-node > .ad-icon {
87
+ --ad-icon-size: 1rem;
88
+ animation: ad-steps-pop 0.45s cubic-bezier(0.34, 1.6, 0.5, 1) both;
89
+ }
90
+ .ad-steps > li[data-state="done"] .ad-step-node {
91
+ color: #fff;
92
+ background: linear-gradient(180deg, var(--ad-primary), var(--ad-primary-700));
93
+ box-shadow:
94
+ inset 0 0.0625rem 0 rgb(from var(--ad-secondary-100) r g b / 0.53),
95
+ 0 0 0.6rem rgb(from var(--ad-primary) r g b / 0.4);
96
+ }
97
+ .ad-steps > li[data-state="current"] .ad-step-node {
98
+ color: #fff;
99
+ background: radial-gradient(circle, rgb(from var(--ad-primary) r g b / 0.33), var(--ad-neutral-900) 70%);
100
+ box-shadow:
101
+ inset 0 0 0 0.125rem var(--ad-secondary),
102
+ 0 0 0.9rem rgb(from var(--ad-primary) r g b / 0.53);
103
+ }
104
+ .ad-steps > li[data-state="current"] .ad-step-node::before {
105
+ content: "";
106
+ position: absolute;
107
+ inset: 0;
108
+ border-radius: 50%;
109
+ box-shadow: inset 0 0 0 0.125rem var(--ad-secondary-200), 0 0 1.4rem rgb(from var(--ad-primary) r g b / 0.67);
110
+ opacity: 0;
111
+ animation: ad-steps-pulse 1.8s ease-in-out infinite;
112
+ }
113
+ /* Orbiting dashed ring around the current node. */
114
+ .ad-steps > li[data-state="current"] .ad-step-node::after {
115
+ content: "";
116
+ position: absolute;
117
+ inset: -0.3rem;
118
+ border-radius: 50%;
119
+ border: 0.0625rem dashed rgb(from var(--ad-secondary) r g b / 0.67);
120
+ animation: ad-steps-orbit 6s linear infinite;
121
+ }
122
+ .ad-step-label {
123
+ max-width: 100%;
124
+ font-size: var(--ad-font-size-caption);
125
+ font-weight: 600;
126
+ color: var(--ad-neutral-500);
127
+ overflow-wrap: anywhere;
128
+ }
129
+ .ad-steps > li:is([data-state="done"], [data-state="current"]) .ad-step-label {
130
+ color: var(--ad-neutral-200);
131
+ }
132
+ @keyframes ad-steps-flow {
133
+ to {
134
+ transform: translateX(326.667%);
135
+ }
136
+ }
137
+ @keyframes ad-steps-pulse {
138
+ 50% {
139
+ opacity: 1;
140
+ }
141
+ }
142
+ @keyframes ad-steps-orbit {
143
+ to {
144
+ rotate: 1turn;
145
+ }
146
+ }
147
+ @keyframes ad-steps-pop {
148
+ from {
149
+ scale: 0;
150
+ rotate: -45deg;
151
+ }
152
+ }
@@ -1,89 +1,89 @@
1
- /* Styles owned by Toast: springs in with a tone-lit icon ring; a burning fuse shows the time left. */
2
- .ad-toast {
3
- position: relative;
4
- display: flex;
5
- align-items: center;
6
- gap: 0.8rem;
7
- min-width: min(18rem, 100%);
8
- max-width: 100%;
9
- font-size: var(--ad-font-size-body-sm);
10
- font-weight: 600;
11
- padding: 0.7rem 1.2rem 0.75rem 0.7rem;
12
- border: 0.0625rem solid color-mix(in srgb, var(--ad-tone) 40%, transparent);
13
- border-radius: 2rem;
14
- background:
15
- radial-gradient(
16
- 60% 140% at 0 50%,
17
- color-mix(in srgb, var(--ad-tone) 22%, transparent),
18
- transparent 70%
19
- ),
20
- rgb(from var(--ad-neutral-900) r g b / 0.95);
21
- box-shadow:
22
- 0 0.8rem 2rem #000b,
23
- 0 0 1.2rem color-mix(in srgb, var(--ad-tone) 25%, transparent);
24
- backdrop-filter: blur(1rem);
25
- overflow: hidden;
26
- animation: ad-toast-in 0.55s cubic-bezier(0.34, 1.5, 0.5, 1) both;
27
- }
28
- .ad-toast > :nth-child(2) {
29
- min-width: 0;
30
- overflow-wrap: anywhere;
31
- }
32
- .ad-toast-icon {
33
- display: grid;
34
- place-items: center;
35
- flex: none;
36
- width: 2rem;
37
- height: 2rem;
38
- border-radius: 50%;
39
- color: #fff;
40
- background: radial-gradient(
41
- circle at 35% 30%,
42
- color-mix(in srgb, var(--ad-tone) 70%, #fff),
43
- var(--ad-tone) 70%
44
- );
45
- box-shadow: 0 0 0.9rem var(--ad-tone);
46
- animation: ad-toast-icon 0.6s 0.15s cubic-bezier(0.34, 1.6, 0.5, 1) both;
47
- }
48
- .ad-toast-icon > .ad-icon {
49
- --ad-icon-size: 1.05rem;
50
- color: var(--ad-neutral-900);
51
- }
52
- .ad-toast-floating {
53
- position: fixed;
54
- bottom: 1.5rem;
55
- left: 50%;
56
- translate: -50% 0;
57
- z-index: 9999;
58
- min-width: min(18rem, 90vw);
59
- max-width: min(90vw, 46.875rem);
60
- }
61
- .ad-toast-timer {
62
- position: absolute;
63
- left: 1.5rem;
64
- right: 1.5rem;
65
- bottom: 0;
66
- height: 0.125rem;
67
- border-radius: 999rem;
68
- background: linear-gradient(90deg, var(--ad-tone), #fff);
69
- box-shadow: 0 0 0.5rem var(--ad-tone);
70
- transform-origin: left;
71
- animation: ad-toast-timer var(--ad-toast-duration, 3.6s) linear both;
72
- }
73
- @keyframes ad-toast-in {
74
- from {
75
- opacity: 0;
76
- transform: translateY(1.5rem) scale(0.85);
77
- filter: blur(0.3rem);
78
- }
79
- }
80
- @keyframes ad-toast-icon {
81
- from {
82
- transform: scale(0) rotate(-90deg);
83
- }
84
- }
85
- @keyframes ad-toast-timer {
86
- to {
87
- transform: scaleX(0);
88
- }
89
- }
1
+ /* Styles owned by Toast: springs in with a tone-lit icon ring; a burning fuse shows the time left. */
2
+ .ad-toast {
3
+ position: relative;
4
+ display: flex;
5
+ align-items: center;
6
+ gap: 0.8rem;
7
+ min-width: min(18rem, 100%);
8
+ max-width: 100%;
9
+ font-size: var(--ad-font-size-body-sm);
10
+ font-weight: 600;
11
+ padding: 0.7rem 1.2rem 0.75rem 0.7rem;
12
+ border: 0.0625rem solid color-mix(in srgb, var(--ad-tone) 40%, transparent);
13
+ border-radius: 2rem;
14
+ background:
15
+ radial-gradient(
16
+ 60% 140% at 0 50%,
17
+ color-mix(in srgb, var(--ad-tone) 22%, transparent),
18
+ transparent 70%
19
+ ),
20
+ rgb(from var(--ad-neutral-900) r g b / 0.95);
21
+ box-shadow:
22
+ 0 0.8rem 2rem #000b,
23
+ 0 0 1.2rem color-mix(in srgb, var(--ad-tone) 25%, transparent);
24
+ backdrop-filter: blur(1rem);
25
+ overflow: hidden;
26
+ animation: ad-toast-in 0.55s cubic-bezier(0.34, 1.5, 0.5, 1) both;
27
+ }
28
+ .ad-toast > :nth-child(2) {
29
+ min-width: 0;
30
+ overflow-wrap: anywhere;
31
+ }
32
+ .ad-toast-icon {
33
+ display: grid;
34
+ place-items: center;
35
+ flex: none;
36
+ width: 2rem;
37
+ height: 2rem;
38
+ border-radius: 50%;
39
+ color: #fff;
40
+ background: radial-gradient(
41
+ circle at 35% 30%,
42
+ color-mix(in srgb, var(--ad-tone) 70%, #fff),
43
+ var(--ad-tone) 70%
44
+ );
45
+ box-shadow: 0 0 0.9rem var(--ad-tone);
46
+ animation: ad-toast-icon 0.6s 0.15s cubic-bezier(0.34, 1.6, 0.5, 1) both;
47
+ }
48
+ .ad-toast-icon > .ad-icon {
49
+ --ad-icon-size: 1.05rem;
50
+ color: var(--ad-neutral-900);
51
+ }
52
+ .ad-toast-floating {
53
+ position: fixed;
54
+ bottom: 1.5rem;
55
+ left: 50%;
56
+ translate: -50% 0;
57
+ z-index: 9999;
58
+ min-width: min(18rem, 90vw);
59
+ max-width: min(90vw, 46.875rem);
60
+ }
61
+ .ad-toast-timer {
62
+ position: absolute;
63
+ left: 1.5rem;
64
+ right: 1.5rem;
65
+ bottom: 0;
66
+ height: 0.125rem;
67
+ border-radius: 999rem;
68
+ background: linear-gradient(90deg, var(--ad-tone), #fff);
69
+ box-shadow: 0 0 0.5rem var(--ad-tone);
70
+ transform-origin: left;
71
+ animation: ad-toast-timer var(--ad-toast-duration, 3.6s) linear both;
72
+ }
73
+ @keyframes ad-toast-in {
74
+ from {
75
+ opacity: 0;
76
+ transform: translateY(1.5rem) scale(0.85);
77
+ filter: blur(0.3rem);
78
+ }
79
+ }
80
+ @keyframes ad-toast-icon {
81
+ from {
82
+ transform: scale(0) rotate(-90deg);
83
+ }
84
+ }
85
+ @keyframes ad-toast-timer {
86
+ to {
87
+ transform: scaleX(0);
88
+ }
89
+ }
@@ -49,24 +49,24 @@
49
49
  }
50
50
  }
51
51
  /* Fields of a declarative form arrive in a quick cascade. */
52
- form .ad-grid > .ad-grid-item {
53
- animation: ad-fields-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
54
- }
55
- form .ad-grid > .ad-grid-item:nth-child(2) {
56
- animation-delay: 0.06s;
57
- }
58
- form .ad-grid > .ad-grid-item:nth-child(3) {
59
- animation-delay: 0.12s;
60
- }
61
- form .ad-grid > .ad-grid-item:nth-child(4) {
62
- animation-delay: 0.18s;
63
- }
64
- form .ad-grid > .ad-grid-item:nth-child(n + 5) {
65
- animation-delay: 0.24s;
66
- }
67
- @keyframes ad-fields-in {
68
- from {
69
- opacity: 0;
70
- transform: translateY(0.6rem);
71
- }
72
- }
52
+ form .ad-grid > .ad-grid-item {
53
+ animation: ad-fields-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
54
+ }
55
+ form .ad-grid > .ad-grid-item:nth-child(2) {
56
+ animation-delay: 0.06s;
57
+ }
58
+ form .ad-grid > .ad-grid-item:nth-child(3) {
59
+ animation-delay: 0.12s;
60
+ }
61
+ form .ad-grid > .ad-grid-item:nth-child(4) {
62
+ animation-delay: 0.18s;
63
+ }
64
+ form .ad-grid > .ad-grid-item:nth-child(n + 5) {
65
+ animation-delay: 0.24s;
66
+ }
67
+ @keyframes ad-fields-in {
68
+ from {
69
+ opacity: 0;
70
+ transform: translateY(0.6rem);
71
+ }
72
+ }
@@ -1,38 +1,38 @@
1
- /* Styles owned by ThemeProvider: switching theme morphs the accent colours instead of snapping. */
2
- @property --ad-red {
3
- syntax: "<color>";
4
- inherits: true;
5
- initial-value: #ff244c;
6
- }
7
- @property --ad-pink {
8
- syntax: "<color>";
9
- inherits: true;
10
- initial-value: #ff7c97;
11
- }
12
- @property --ad-focus {
13
- syntax: "<color>";
14
- inherits: true;
15
- initial-value: #ffdce4;
16
- }
17
- @property --ad-text {
18
- syntax: "<color>";
19
- inherits: true;
20
- initial-value: #f7f5f8;
21
- }
22
- @property --ad-muted {
23
- syntax: "<color>";
24
- inherits: true;
25
- initial-value: #bfc0d9;
26
- }
1
+ /* Styles owned by ThemeProvider: switching theme morphs the accent colours instead of snapping. */
2
+ @property --ad-red {
3
+ syntax: "<color>";
4
+ inherits: true;
5
+ initial-value: #ff244c;
6
+ }
7
+ @property --ad-pink {
8
+ syntax: "<color>";
9
+ inherits: true;
10
+ initial-value: #ff7c97;
11
+ }
12
+ @property --ad-focus {
13
+ syntax: "<color>";
14
+ inherits: true;
15
+ initial-value: #ffdce4;
16
+ }
17
+ @property --ad-text {
18
+ syntax: "<color>";
19
+ inherits: true;
20
+ initial-value: #f7f5f8;
21
+ }
22
+ @property --ad-muted {
23
+ syntax: "<color>";
24
+ inherits: true;
25
+ initial-value: #bfc0d9;
26
+ }
27
27
  .ad-theme {
28
28
  --ad-primary: inherit;
29
29
  --ad-secondary: inherit;
30
30
  transition:
31
- --ad-red 0.7s ease,
32
- --ad-pink 0.7s ease,
33
- --ad-focus 0.7s ease,
34
- --ad-text 0.7s ease,
35
- --ad-muted 0.7s ease;
31
+ --ad-red 0.7s ease,
32
+ --ad-pink 0.7s ease,
33
+ --ad-focus 0.7s ease,
34
+ --ad-text 0.7s ease,
35
+ --ad-muted 0.7s ease;
36
36
  }
37
37
 
38
38
  /* A nested provider keeps the active scheme while still recomputing its palette from its own accent. */