Skip to content

Commit 0450c28

Browse files
authored
feat(tokens): adds global animation vars (#1570)
1 parent b622b6e commit 0450c28

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

components/tokens/custom-spectrum/custom-vars.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,24 @@ governing permissions and limitations under the License.
1616
}
1717

1818
.spectrum {
19+
--spectrum-animation-linear: cubic-bezier(0, 0, 1, 1);
20+
--spectrum-animation-duration-0: 0ms;
1921
--spectrum-animation-duration-100: 130ms;
2022
--spectrum-animation-duration-200: 160ms;
23+
--spectrum-animation-duration-300: 190ms;
24+
--spectrum-animation-duration-400: 220ms;
2125
--spectrum-animation-duration-500: 250ms;
26+
--spectrum-animation-duration-600: 300ms;
27+
--spectrum-animation-duration-700: 350ms;
28+
--spectrum-animation-duration-800: 400ms;
29+
--spectrum-animation-duration-900: 450ms;
30+
--spectrum-animation-duration-1000: 500ms;
31+
--spectrum-animation-duration-2000: 1000ms;
32+
--spectrum-animation-duration-4000: 2000ms;
33+
--spectrum-animation-ease-in-out: cubic-bezier(.45, 0, .40, 1);
34+
--spectrum-animation-ease-in: cubic-bezier(.50, 0, 1, 1);
35+
--spectrum-animation-ease-out: cubic-bezier(0, 0, 0.40, 1);
36+
--spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1);
2237

2338
--spectrum-font-family-base: adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif;
2439
--spectrum-font-family-serif: adobe-clean-serif, 'Source Serif Pro', Georgia, serif;

0 commit comments

Comments
 (0)