@greese/ui 0.0.0-stage → 1.1.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.
Files changed (288) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +55 -2
  3. package/bin/greese-utilities.mjs +56 -0
  4. package/dist/_layers.scss +2 -0
  5. package/dist/_maps.scss +1884 -0
  6. package/dist/_tokens-base.scss +174 -0
  7. package/dist/_tokens.scss +2140 -0
  8. package/dist/base.css +67 -0
  9. package/dist/colorScheme.d.ts +16 -0
  10. package/dist/colorScheme.js +13 -0
  11. package/dist/contrast.d.ts +15 -0
  12. package/dist/contrast.js +43 -0
  13. package/dist/css/Accordion.css +9 -0
  14. package/dist/css/ActionSelect.css +6 -0
  15. package/dist/css/Alert.css +84 -0
  16. package/dist/css/AppBar.css +35 -0
  17. package/dist/css/AspectRatio.css +40 -0
  18. package/dist/css/AutoLayout.css +508 -0
  19. package/dist/css/Avatar.css +88 -0
  20. package/dist/css/Badge.css +66 -0
  21. package/dist/css/Box.css +640 -0
  22. package/dist/css/Breadcrumbs.css +57 -0
  23. package/dist/css/Button.css +275 -0
  24. package/dist/css/ButtonGroup.css +40 -0
  25. package/dist/css/Card.css +101 -0
  26. package/dist/css/Carousel.css +170 -0
  27. package/dist/css/Center.css +11 -0
  28. package/dist/css/ChatBubble.css +128 -0
  29. package/dist/css/Checkbox.css +65 -0
  30. package/dist/css/Chip.css +124 -0
  31. package/dist/css/ChoiceGroup.css +57 -0
  32. package/dist/css/Code.css +29 -0
  33. package/dist/css/Collapsible.css +126 -0
  34. package/dist/css/ColorPicker.css +191 -0
  35. package/dist/css/Combobox.css +90 -0
  36. package/dist/css/Container.css +30 -0
  37. package/dist/css/Countdown.css +25 -0
  38. package/dist/css/DateField.css +15 -0
  39. package/dist/css/Dialog.css +640 -0
  40. package/dist/css/Diff.css +103 -0
  41. package/dist/css/Divider.css +19 -0
  42. package/dist/css/Dock.css +91 -0
  43. package/dist/css/Field.css +33 -0
  44. package/dist/css/Fieldset.css +54 -0
  45. package/dist/css/FileInput.css +65 -0
  46. package/dist/css/Footer.css +72 -0
  47. package/dist/css/Grid.css +998 -0
  48. package/dist/css/Header.css +89 -0
  49. package/dist/css/Heading.css +6 -0
  50. package/dist/css/Icon.css +12 -0
  51. package/dist/css/IconButton.css +7 -0
  52. package/dist/css/Image.css +69 -0
  53. package/dist/css/Indicator.css +41 -0
  54. package/dist/css/Input.css +115 -0
  55. package/dist/css/Key.css +42 -0
  56. package/dist/css/Link.css +72 -0
  57. package/dist/css/List.css +52 -0
  58. package/dist/css/Media.css +8 -0
  59. package/dist/css/Menu.css +161 -0
  60. package/dist/css/Motion.css +1356 -0
  61. package/dist/css/NumberField.css +49 -0
  62. package/dist/css/OtpField.css +90 -0
  63. package/dist/css/PageTransition.css +991 -0
  64. package/dist/css/Pagination.css +43 -0
  65. package/dist/css/Popover.css +93 -0
  66. package/dist/css/Progress.css +101 -0
  67. package/dist/css/RadialProgress.css +44 -0
  68. package/dist/css/Radio.css +41 -0
  69. package/dist/css/Rating.css +100 -0
  70. package/dist/css/ScrollSpy.css +6 -0
  71. package/dist/css/SegmentedControl.css +101 -0
  72. package/dist/css/Select.css +115 -0
  73. package/dist/css/Sidebar.css +207 -0
  74. package/dist/css/Skeleton.css +48 -0
  75. package/dist/css/Slider.css +75 -0
  76. package/dist/css/Spacer.css +34 -0
  77. package/dist/css/SpeedDial.css +165 -0
  78. package/dist/css/Spinner.css +44 -0
  79. package/dist/css/Stack.css +528 -0
  80. package/dist/css/Stat.css +107 -0
  81. package/dist/css/Status.css +86 -0
  82. package/dist/css/Steps.css +201 -0
  83. package/dist/css/Swap.css +49 -0
  84. package/dist/css/Switch.css +66 -0
  85. package/dist/css/Table.css +269 -0
  86. package/dist/css/Tabs.css +119 -0
  87. package/dist/css/Text.css +60 -0
  88. package/dist/css/TextRotate.css +147 -0
  89. package/dist/css/Textarea.css +107 -0
  90. package/dist/css/ThemeProvider.css +6 -0
  91. package/dist/css/Tile.css +18 -0
  92. package/dist/css/Toast.css +110 -0
  93. package/dist/css/ToggleButton.css +20 -0
  94. package/dist/css/Tooltip.css +94 -0
  95. package/dist/css/Type.css +211 -0
  96. package/dist/css/Visibility.css +78 -0
  97. package/dist/css/VisuallyHidden.css +15 -0
  98. package/dist/css/core.css +251 -0
  99. package/dist/css.d.ts +29 -0
  100. package/dist/css.js +28 -0
  101. package/dist/effect-classes.d.ts +8 -0
  102. package/dist/effect-classes.js +5 -0
  103. package/dist/effects/css.d.ts +71 -0
  104. package/dist/effects/css.js +184 -0
  105. package/dist/effects/definitions.d.ts +555 -0
  106. package/dist/effects/definitions.js +379 -0
  107. package/dist/effects/frames.d.ts +18 -0
  108. package/dist/effects/frames.js +68 -0
  109. package/dist/effects/sequence.d.ts +33 -0
  110. package/dist/effects/sequence.js +106 -0
  111. package/dist/effects.d.ts +30 -0
  112. package/dist/effects.js +30 -0
  113. package/dist/greese.css +11919 -0
  114. package/dist/index.d.ts +10 -0
  115. package/dist/index.js +10 -0
  116. package/dist/kebab.d.ts +2 -0
  117. package/dist/kebab.js +2 -0
  118. package/dist/palette.css +249 -0
  119. package/dist/palette.d.ts +599 -0
  120. package/dist/palette.js +334 -0
  121. package/dist/shapes.d.ts +193 -0
  122. package/dist/shapes.js +852 -0
  123. package/dist/storage.d.ts +47 -0
  124. package/dist/storage.js +118 -0
  125. package/dist/style-manifest.json +3017 -0
  126. package/dist/theme.d.ts +71 -0
  127. package/dist/theme.js +180 -0
  128. package/dist/tokens.css +253 -0
  129. package/dist/tokens.d.ts +343 -0
  130. package/dist/tokens.js +179 -0
  131. package/dist/typography.d.ts +55 -0
  132. package/dist/typography.js +144 -0
  133. package/dist/utilities.css +6975 -0
  134. package/dist/utilities.d.ts +82 -0
  135. package/dist/utilities.js +636 -0
  136. package/dist/utilitiesFiles.d.ts +18 -0
  137. package/dist/utilitiesFiles.js +26 -0
  138. package/dist/vite.d.ts +40 -0
  139. package/dist/vite.js +43 -0
  140. package/package.json +131 -4
  141. package/src/components/Accordion/Accordion.scss +9 -0
  142. package/src/components/ActionSelect/ActionSelect.scss +6 -0
  143. package/src/components/Alert/Alert.scss +71 -0
  144. package/src/components/AppBar/AppBar.scss +43 -0
  145. package/src/components/AspectRatio/AspectRatio.scss +22 -0
  146. package/src/components/AutoLayout/AutoLayout.scss +90 -0
  147. package/src/components/Avatar/Avatar.scss +91 -0
  148. package/src/components/Badge/Badge.scss +52 -0
  149. package/src/components/Box/Box.scss +63 -0
  150. package/src/components/Breadcrumbs/Breadcrumbs.scss +59 -0
  151. package/src/components/Button/Button.scss +231 -0
  152. package/src/components/ButtonGroup/ButtonGroup.scss +56 -0
  153. package/src/components/Card/Card.scss +99 -0
  154. package/src/components/Carousel/Carousel.scss +161 -0
  155. package/src/components/Center/Center.scss +11 -0
  156. package/src/components/ChatBubble/ChatBubble.scss +119 -0
  157. package/src/components/Checkbox/Checkbox.scss +66 -0
  158. package/src/components/Chip/Chip.scss +119 -0
  159. package/src/components/ChoiceGroup/ChoiceGroup.scss +69 -0
  160. package/src/components/Code/Code.scss +28 -0
  161. package/src/components/Collapsible/Collapsible.scss +136 -0
  162. package/src/components/ColorPicker/ColorPicker.scss +235 -0
  163. package/src/components/Combobox/Combobox.scss +83 -0
  164. package/src/components/Container/Container.scss +28 -0
  165. package/src/components/Countdown/Countdown.scss +28 -0
  166. package/src/components/DateField/DateField.scss +19 -0
  167. package/src/components/Dialog/Dialog.scss +268 -0
  168. package/src/components/Diff/Diff.scss +125 -0
  169. package/src/components/Divider/Divider.scss +22 -0
  170. package/src/components/Dock/Dock.scss +86 -0
  171. package/src/components/Field/Field.scss +38 -0
  172. package/src/components/Fieldset/Fieldset.scss +63 -0
  173. package/src/components/FileInput/FileInput.scss +66 -0
  174. package/src/components/Footer/Footer.scss +79 -0
  175. package/src/components/Grid/Grid.scss +86 -0
  176. package/src/components/Header/Header.scss +111 -0
  177. package/src/components/Heading/Heading.scss +7 -0
  178. package/src/components/Icon/Icon.scss +12 -0
  179. package/src/components/IconButton/IconButton.scss +6 -0
  180. package/src/components/Image/Image.scss +46 -0
  181. package/src/components/Indicator/Indicator.scss +48 -0
  182. package/src/components/Input/Input.scss +58 -0
  183. package/src/components/Key/Key.scss +48 -0
  184. package/src/components/Link/Link.scss +50 -0
  185. package/src/components/List/List.scss +62 -0
  186. package/src/components/Media/Media.scss +7 -0
  187. package/src/components/Menu/Menu.scss +91 -0
  188. package/src/components/Motion/Motion.scss +106 -0
  189. package/src/components/NumberField/NumberField.scss +44 -0
  190. package/src/components/OtpField/OtpField.scss +91 -0
  191. package/src/components/PageTransition/PageTransition.scss +197 -0
  192. package/src/components/Pagination/Pagination.scss +55 -0
  193. package/src/components/Popover/Popover.scss +13 -0
  194. package/src/components/Progress/Progress.scss +126 -0
  195. package/src/components/RadialProgress/RadialProgress.scss +65 -0
  196. package/src/components/Radio/Radio.scss +36 -0
  197. package/src/components/Rating/Rating.scss +121 -0
  198. package/src/components/ScrollSpy/ScrollSpy.scss +6 -0
  199. package/src/components/SegmentedControl/SegmentedControl.scss +107 -0
  200. package/src/components/Select/Select.scss +59 -0
  201. package/src/components/Sidebar/Sidebar.scss +88 -0
  202. package/src/components/Skeleton/Skeleton.scss +60 -0
  203. package/src/components/Slider/Slider.scss +96 -0
  204. package/src/components/Spacer/Spacer.scss +15 -0
  205. package/src/components/SpeedDial/SpeedDial.scss +109 -0
  206. package/src/components/Spinner/Spinner.scss +43 -0
  207. package/src/components/Stack/Stack.scss +57 -0
  208. package/src/components/Stat/Stat.scss +96 -0
  209. package/src/components/Status/Status.scss +60 -0
  210. package/src/components/Steps/Steps.scss +216 -0
  211. package/src/components/Swap/Swap.scss +62 -0
  212. package/src/components/Switch/Switch.scss +63 -0
  213. package/src/components/Table/Table.scss +183 -0
  214. package/src/components/Tabs/Tabs.scss +108 -0
  215. package/src/components/Text/Text.scss +34 -0
  216. package/src/components/TextRotate/TextRotate.scss +51 -0
  217. package/src/components/Textarea/Textarea.scss +56 -0
  218. package/src/components/ThemeProvider/ThemeProvider.scss +7 -0
  219. package/src/components/Tile/Tile.scss +23 -0
  220. package/src/components/Toast/Toast.scss +93 -0
  221. package/src/components/ToggleButton/ToggleButton.scss +23 -0
  222. package/src/components/Tooltip/Tooltip.scss +21 -0
  223. package/src/components/Type/Type.scss +35 -0
  224. package/src/components/Visibility/Visibility.scss +39 -0
  225. package/src/components/VisuallyHidden/VisuallyHidden.scss +17 -0
  226. package/src/styles/_breakpoint-vars.scss +16 -0
  227. package/src/styles/_config.scss +48 -0
  228. package/src/styles/_controls.scss +88 -0
  229. package/src/styles/_core.scss +4 -0
  230. package/src/styles/_effect.scss +51 -0
  231. package/src/styles/_floating.scss +141 -0
  232. package/src/styles/_kit.scss +1548 -0
  233. package/src/styles/_manifest.scss +670 -0
  234. package/src/styles/_mixins.scss +261 -0
  235. package/src/styles/_tones.scss +63 -0
  236. package/src/styles/_type-emit.scss +76 -0
  237. package/src/styles/_typography-vars.scss +8 -0
  238. package/src/styles/base.scss +80 -0
  239. package/src/styles/breakpoints.test.ts +73 -0
  240. package/src/styles/entryPoints.test.ts +68 -0
  241. package/src/styles/index.scss +93 -0
  242. package/src/styles/kit.test.ts +754 -0
  243. package/src/styles/public/_controls.scss +3 -0
  244. package/src/styles/public/_floating.scss +3 -0
  245. package/src/styles/public/_mixins.scss +5 -0
  246. package/src/styles/public/_tones.scss +4 -0
  247. package/themes/bevel.css +1077 -0
  248. package/themes/bevel.scss +1166 -0
  249. package/themes/candy.css +87 -0
  250. package/themes/candy.scss +32 -0
  251. package/themes/depth.css +123 -0
  252. package/themes/depth.scss +46 -0
  253. package/themes/extrude.css +219 -0
  254. package/themes/extrude.scss +255 -0
  255. package/themes/folio.css +986 -0
  256. package/themes/folio.scss +1047 -0
  257. package/themes/forest.css +87 -0
  258. package/themes/forest.scss +32 -0
  259. package/themes/gentle.css +66 -0
  260. package/themes/gentle.scss +39 -0
  261. package/themes/grape.css +87 -0
  262. package/themes/grape.scss +32 -0
  263. package/themes/greese.css +36 -0
  264. package/themes/greese.scss +21 -0
  265. package/themes/mono.css +87 -0
  266. package/themes/mono.scss +32 -0
  267. package/themes/ocean.css +87 -0
  268. package/themes/ocean.scss +32 -0
  269. package/themes/outline.css +127 -0
  270. package/themes/outline.scss +126 -0
  271. package/themes/pebble.css +65 -0
  272. package/themes/pebble.scss +69 -0
  273. package/themes/pocket.css +137 -0
  274. package/themes/pocket.scss +45 -0
  275. package/themes/ridge.css +927 -0
  276. package/themes/ridge.scss +998 -0
  277. package/themes/snappy.css +82 -0
  278. package/themes/snappy.scss +40 -0
  279. package/themes/soft.css +79 -0
  280. package/themes/soft.scss +84 -0
  281. package/themes/sunset.css +87 -0
  282. package/themes/sunset.scss +32 -0
  283. package/themes/ticket.css +960 -0
  284. package/themes/ticket.scss +1031 -0
  285. package/themes/tilt.css +148 -0
  286. package/themes/tilt.scss +169 -0
  287. package/themes/wipe.css +186 -0
  288. package/themes/wipe.scss +46 -0
@@ -0,0 +1,1884 @@
1
+ // GENERATED by @greese/ui from src/tokens.ts - do not edit.
2
+ $breakpoints: (
3
+ 'xs': 0px,
4
+ 'sm': 600px,
5
+ 'md': 900px,
6
+ 'lg': 1200px,
7
+ 'xl': 1536px,
8
+ );
9
+
10
+ $space-keys: (0, 1, 2, 3, 4, 5, 6, 7, 8);
11
+
12
+ // Every token's default, keyed as in its custom property: (accent: (light, dark)).
13
+ $color: (
14
+ 'canvas': (light: "#ffffff", dark: "#11171c"),
15
+ 'surface': (light: "#f5f7f9", dark: "#2a333c"),
16
+ 'surface-overlay': (light: "#ffffff", dark: "#3c4854"),
17
+ 'fg': (light: "#11171c", dark: "#e9edf2"),
18
+ 'fg-muted': (light: "#505e6d", dark: "#a3b3c4"),
19
+ 'border': (light: "#d7dfe7", dark: "#3c4854"),
20
+ 'border-strong': (light: "#a3b3c4", dark: "#505e6d"),
21
+ 'track': (light: "#d7dfe7", dark: "#687889"),
22
+ 'primary': (light: "#2771e0", dark: "#81b2ff"),
23
+ 'primary-strong': (light: "#1356b8", dark: "#aaccff"),
24
+ 'primary-content': (light: "#ffffff", dark: "#11171c"),
25
+ 'secondary': (light: "#7e5bd0", dark: "#b69fff"),
26
+ 'secondary-strong': (light: "#6443ab", dark: "#cdbfff"),
27
+ 'secondary-content': (light: "#ffffff", dark: "#11171c"),
28
+ 'tertiary': (light: "#007069", dark: "#5dcec5"),
29
+ 'tertiary-strong': (light: "#00544f", dark: "#94e1da"),
30
+ 'tertiary-content': (light: "#ffffff", dark: "#11171c"),
31
+ 'accent': (light: "#c13b7b", dark: "#ff81b6"),
32
+ 'accent-strong': (light: "#9c2661", dark: "#ffaecd"),
33
+ 'accent-content': (light: "#ffffff", dark: "#11171c"),
34
+ 'focus-ring': (light: "var(--greese-color-primary)", dark: "var(--greese-color-primary-strong)"),
35
+ 'positive': (light: "#007231", dark: "#61cf7e"),
36
+ 'negative': (light: "#ae0914", dark: "#ff8b7f"),
37
+ 'negative-content': (light: "#ffffff", dark: "#11171c"),
38
+ 'warning': (light: "#8a5f00", dark: "#feb93d"),
39
+ 'info': (light: "#00668f", dark: "#5ac0f7"),
40
+ 'white': (light: "#ffffff", dark: "#ffffff"),
41
+ 'black': (light: "#000000", dark: "#000000"),
42
+ 'scrim': (light: "color-mix(in srgb, var(--greese-color-black) 45%, transparent)", dark: "color-mix(in srgb, var(--greese-color-black) 60%, transparent)"),
43
+ );
44
+
45
+ // Scheme-independent groups: (font-size: (lg: '1.125rem'), ...).
46
+ $scalars: (
47
+ 'space': (
48
+ '0': "0",
49
+ '1': "0.25rem",
50
+ '2': "0.5rem",
51
+ '3': "0.75rem",
52
+ '4': "1rem",
53
+ '5': "1.5rem",
54
+ '6': "2rem",
55
+ '7': "3rem",
56
+ '8': "4rem",
57
+ ),
58
+ 'radius': (
59
+ 'none': "0",
60
+ 'sm': "4px",
61
+ 'md': "8px",
62
+ 'lg': "16px",
63
+ 'xl': "24px",
64
+ 'pill': "999px",
65
+ 'round': "50%",
66
+ ),
67
+ 'corner': (
68
+ 'control': "var(--greese-radius-md)",
69
+ 'field': "var(--greese-radius-md)",
70
+ 'surface': "var(--greese-radius-lg)",
71
+ 'panel': "var(--greese-radius-md)",
72
+ 'inset': "var(--greese-radius-sm)",
73
+ 'pill': "var(--greese-radius-pill)",
74
+ 'round': "var(--greese-radius-round)",
75
+ ),
76
+ 'font': (
77
+ 'body': "system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif",
78
+ 'mono': "ui-monospace, SFMono-Regular, Menlo, monospace",
79
+ ),
80
+ 'font-weight': (
81
+ 'regular': "400",
82
+ 'medium': "500",
83
+ 'semibold': "600",
84
+ 'bold': "700",
85
+ ),
86
+ 'line-height': (
87
+ 'tight': "1.25",
88
+ 'snug': "1.375",
89
+ 'normal': "1.5",
90
+ ),
91
+ 'shadow': (
92
+ 'sm': "0 1px 2px color-mix(in srgb, var(--greese-color-black) 8%, transparent)",
93
+ 'md': "0 4px 12px color-mix(in srgb, var(--greese-color-black) 12%, transparent)",
94
+ 'lg': "0 12px 32px color-mix(in srgb, var(--greese-color-black) 18%, transparent)",
95
+ ),
96
+ 'z-index': (
97
+ 'dropdown': "1000",
98
+ 'sticky': "1100",
99
+ 'overlay': "1300",
100
+ 'modal': "1400",
101
+ 'popover': "1500",
102
+ 'toast': "1600",
103
+ 'tooltip': "1700",
104
+ ),
105
+ 'duration': (
106
+ 'fast': "120ms",
107
+ 'normal': "200ms",
108
+ 'slow': "320ms",
109
+ ),
110
+ 'easing': (
111
+ 'standard': "cubic-bezier(0.2, 0, 0, 1)",
112
+ 'enter': "cubic-bezier(0, 0, 0, 1)",
113
+ 'exit': "cubic-bezier(0.3, 0, 1, 1)",
114
+ ),
115
+ );
116
+
117
+ // The palette: (lavender: (600: #805dd3, ...), ...), for the kit's palette().
118
+ $palette: (
119
+ 'steel': (50: #f5f7f9, 100: #e9edf2, 200: #d7dfe7, 300: #bfcbd8, 400: #a3b3c4, 500: #8597a9, 600: #687889, 700: #505e6d, 800: #3c4854, 900: #2a333c, 999: #11171c),
120
+ 'gray': (50: #f7f7f7, 100: #ededed, 200: #dedede, 300: #cacaca, 400: #b1b1b1, 500: #949494, 600: #767676, 700: #5c5c5c, 800: #464646, 900: #323232, 999: #161616),
121
+ 'silver': (50: #f6f7f7, 100: #ebedee, 200: #dadfe1, 300: #c5cbce, 400: #aab3b7, 500: #8d969b, 600: #6f777c, 700: #565e61, 800: #41474b, 900: #2e3335, 999: #141618),
122
+ 'ash': (50: #f7f7f6, 100: #ededeb, 200: #dfdeda, 300: #cbcac4, 400: #b3b1aa, 500: #97958d, 600: #78766e, 700: #5e5c56, 800: #484641, 900: #33322e, 999: #171614),
123
+ 'taupe': (50: #f8f6f5, 100: #f0ece9, 200: #e4dcd6, 300: #d3c7be, 400: #bdaea2, 500: #a29184, 600: #827366, 700: #67594f, 800: #4f443b, 900: #38302a, 999: #1a1511),
124
+ 'red': (50: #fff4f2, 100: #ffe6e3, 200: #ffd2cc, 300: #ffb4ab, 400: #ff8b7f, 500: #fd4c45, 600: #d52727, 700: #ae0914, 800: #88030c, 900: #620407, 999: #330000),
125
+ 'orange': (50: #fff4ee, 100: #ffe8da, 200: #ffd8c1, 300: #ffc19c, 400: #ff9d5e, 500: #ef7500, 600: #c05d00, 700: #964700, 800: #733400, 900: #522300, 999: #290d00),
126
+ 'gold': (50: #fff5e7, 100: #ffeaca, 200: #ffe1b5, 300: #ffd593, 400: #feb93d, 500: #df9c00, 600: #b37d00, 700: #8a5f00, 800: #664500, 900: #472e00, 999: #211300),
127
+ 'yellow': (50: #fcf8df, 100: #f8efb6, 200: #fce873, 300: #fbe136, 400: #f4d90b, 500: #d3bb00, 600: #ab9700, 700: #817100, 800: #5c5000, 900: #3d3500, 999: #1b1600),
128
+ 'lime': (50: #f2fae9, 100: #e2f4ce, 200: #d2f4a9, 300: #c0ee82, 400: #a6dc51, 500: #87bf0e, 600: #6b9a00, 700: #517600, 800: #3a5600, 900: #263b00, 999: #0e1a00),
129
+ 'green': (50: #effaf1, 100: #dcf5e0, 200: #bdeec6, 300: #95e2a5, 400: #61cf7e, 500: #25b459, 600: #009141, 700: #007231, 800: #005724, 900: #003e17, 999: #001d06),
130
+ 'jade': (50: #eefaf4, 100: #daf4e8, 200: #baedd6, 300: #8ee1be, 400: #54cea1, 500: #00b283, 600: #008e68, 700: #006f51, 800: #00553d, 900: #003c2a, 999: #001c11),
131
+ 'turquoise': (50: #eefaf8, 100: #daf3f0, 200: #bcece7, 300: #94e1da, 400: #5dcec5, 500: #13b3aa, 600: #009088, 700: #007069, 800: #00544f, 900: #003b38, 999: #001b19),
132
+ 'aqua': (50: #eef9fb, 100: #daf2f5, 200: #beecf2, 300: #98e3ec, 400: #64d0de, 500: #23b5c4, 600: #00919f, 700: #00707b, 800: #00545c, 900: #003b41, 999: #001b1e),
133
+ 'azure': (50: #eef9ff, 100: #daf1ff, 200: #bde6ff, 300: #91d6ff, 400: #5ac0f7, 500: #15a4e1, 600: #0082b6, 700: #00668f, 800: #004d6e, 900: #003750, 999: #001927),
134
+ 'blue': (50: #f2f7ff, 100: #e2eeff, 200: #cbdfff, 300: #aaccff, 400: #81b2ff, 500: #4c92ff, 600: #2771e0, 700: #1356b8, 800: #0b4290, 900: #072e68, 999: #001337),
135
+ 'royal': (50: #f4f6ff, 100: #e7ecff, 200: #d4dcff, 300: #bac6ff, 400: #9aaaff, 500: #7787ff, 600: #5963e5, 700: #444abc, 800: #333894, 900: #23276b, 999: #0d0f39),
136
+ 'lavender': (50: #f7f5ff, 100: #edeaff, 200: #dfd8ff, 300: #cdbfff, 400: #b69fff, 500: #9d79f6, 600: #7e5bd0, 700: #6443ab, 800: #4c3285, 900: #362361, 999: #190c33),
137
+ 'purple': (50: #fbf4ff, 100: #f6e6ff, 200: #eed1ff, 300: #e4b4ff, 400: #d78cff, 500: #be68ea, 600: #9d49c5, 700: #7e33a1, 800: #61257d, 900: #46195a, 999: #22062f),
138
+ 'magenta': (50: #fff3fb, 100: #ffe3f7, 200: #ffccf1, 300: #ffa9ea, 400: #f97cde, 500: #e053c6, 600: #bb32a3, 700: #971c83, 800: #761266, 900: #550c49, 999: #2b0124),
139
+ 'pink': (50: #fff3f7, 100: #ffe5ee, 200: #ffcfe0, 300: #ffaecd, 400: #ff81b6, 500: #e75a9a, 600: #c13b7b, 700: #9c2661, 800: #7a1a4a, 900: #581235, 999: #2d0318),
140
+ 'ruby': (50: #fff4f4, 100: #ffe6e8, 200: #ffd0d5, 300: #ffb2ba, 400: #ff8798, 500: #f94b72, 600: #d12655, 700: #aa0b40, 800: #85042f, 900: #600421, 999: #32000b),
141
+ );
142
+
143
+ // The type system: variant -> (base | breakpoint key) -> (prop: value).
144
+ $typography: (
145
+ 'p1': (
146
+ 'base': (
147
+ 'font-size': "1.125rem",
148
+ 'font-weight': "400",
149
+ 'line-height': "1.6",
150
+ 'letter-spacing': "0",
151
+ ),
152
+ 'md': (
153
+ 'font-size': "1.25rem",
154
+ ),
155
+ ),
156
+ 'p2': (
157
+ 'base': (
158
+ 'font-size': "1rem",
159
+ 'font-weight': "400",
160
+ 'line-height': "1.55",
161
+ 'letter-spacing': "0",
162
+ ),
163
+ ),
164
+ 'p3': (
165
+ 'base': (
166
+ 'font-size': "0.875rem",
167
+ 'font-weight': "400",
168
+ 'line-height': "1.5",
169
+ 'letter-spacing': "0",
170
+ ),
171
+ ),
172
+ 'h1': (
173
+ 'base': (
174
+ 'font-size': "2.25rem",
175
+ 'font-weight': "700",
176
+ 'line-height': "1.15",
177
+ 'letter-spacing': "-0.02em",
178
+ 'text-wrap': "balance",
179
+ ),
180
+ 'md': (
181
+ 'font-size': "2.75rem",
182
+ ),
183
+ 'lg': (
184
+ 'font-size': "3.5rem",
185
+ 'line-height': "1.1",
186
+ ),
187
+ ),
188
+ 'h2': (
189
+ 'base': (
190
+ 'font-size': "1.875rem",
191
+ 'font-weight': "700",
192
+ 'line-height': "1.2",
193
+ 'letter-spacing': "-0.015em",
194
+ 'text-wrap': "balance",
195
+ ),
196
+ 'md': (
197
+ 'font-size': "2.25rem",
198
+ ),
199
+ 'lg': (
200
+ 'font-size': "2.75rem",
201
+ ),
202
+ ),
203
+ 'h3': (
204
+ 'base': (
205
+ 'font-size': "1.5rem",
206
+ 'font-weight': "600",
207
+ 'line-height': "1.25",
208
+ 'letter-spacing': "-0.01em",
209
+ 'text-wrap': "balance",
210
+ ),
211
+ 'md': (
212
+ 'font-size': "1.75rem",
213
+ ),
214
+ 'lg': (
215
+ 'font-size': "2rem",
216
+ ),
217
+ ),
218
+ 'h4': (
219
+ 'base': (
220
+ 'font-size': "1.25rem",
221
+ 'font-weight': "600",
222
+ 'line-height': "1.3",
223
+ 'letter-spacing': "0",
224
+ 'text-wrap': "balance",
225
+ ),
226
+ 'md': (
227
+ 'font-size': "1.375rem",
228
+ ),
229
+ 'lg': (
230
+ 'font-size': "1.5rem",
231
+ ),
232
+ ),
233
+ 'h5': (
234
+ 'base': (
235
+ 'font-size': "1.125rem",
236
+ 'font-weight': "600",
237
+ 'line-height': "1.35",
238
+ 'letter-spacing': "0",
239
+ 'text-wrap': "balance",
240
+ ),
241
+ 'md': (
242
+ 'font-size': "1.25rem",
243
+ ),
244
+ ),
245
+ 'h6': (
246
+ 'base': (
247
+ 'font-size': "1rem",
248
+ 'font-weight': "600",
249
+ 'line-height': "1.4",
250
+ 'letter-spacing': "0",
251
+ 'text-wrap': "balance",
252
+ ),
253
+ 'md': (
254
+ 'font-size': "1.0625rem",
255
+ ),
256
+ ),
257
+ 's1': (
258
+ 'base': (
259
+ 'font-size': "1.25rem",
260
+ 'font-weight': "500",
261
+ 'line-height': "1.4",
262
+ 'letter-spacing': "0",
263
+ ),
264
+ 'md': (
265
+ 'font-size': "1.375rem",
266
+ ),
267
+ ),
268
+ 's2': (
269
+ 'base': (
270
+ 'font-size': "1.125rem",
271
+ 'font-weight': "500",
272
+ 'line-height': "1.45",
273
+ 'letter-spacing': "0",
274
+ ),
275
+ ),
276
+ 'caption': (
277
+ 'base': (
278
+ 'font-size': "0.75rem",
279
+ 'font-weight': "400",
280
+ 'line-height': "1.4",
281
+ 'letter-spacing': "0.02em",
282
+ ),
283
+ ),
284
+ 'button': (
285
+ 'base': (
286
+ 'font-size': "0.9375rem",
287
+ 'font-weight': "600",
288
+ 'line-height': "1.25",
289
+ 'letter-spacing': "0",
290
+ ),
291
+ ),
292
+ );
293
+
294
+ // The type properties, named as the CSS properties they set.
295
+ $type-props: (font-size, font-weight, letter-spacing, line-height, color, font-family, font-style, text-transform, font-feature-settings, font-variation-settings, font-stretch, text-wrap, word-spacing, font-variant-numeric);
296
+
297
+ // The greese prop effects, from src/effects.ts: name -> (enter: step -> (property:
298
+ // value)) for those that end at rest (Motion.scss writes their @keyframes), or
299
+ // (exit: (property: value), leave: step -> (property: value)) for those that
300
+ // end away from it (the custom properties an overlay's exit sets, and the
301
+ // keyframes a page transition's old snapshot plays). The kit's motion() takes
302
+ // these names.
303
+ $effects: (
304
+ 'fade-in': (enter: (
305
+ 'from': (
306
+ 'opacity': "0",
307
+ ),
308
+ )),
309
+ 'fade-out': (exit: (
310
+ 'translate': "0px 0px",
311
+ 'scale': "1",
312
+ 'opacity': "0",
313
+ 'mask-image': "none",
314
+ 'transform': "none",
315
+ ), leave: (
316
+ 'from': (
317
+ 'opacity': "1",
318
+ ),
319
+ 'to': (
320
+ 'opacity': "0",
321
+ ),
322
+ )),
323
+ 'scale-in': (enter: (
324
+ 'from': (
325
+ 'scale': "0",
326
+ ),
327
+ )),
328
+ 'scale-out': (exit: (
329
+ 'translate': "0px 0px",
330
+ 'scale': "0",
331
+ 'opacity': "0",
332
+ 'mask-image': "none",
333
+ 'transform': "none",
334
+ ), leave: (
335
+ 'from': (
336
+ 'scale': "1",
337
+ ),
338
+ 'to': (
339
+ 'scale': "0",
340
+ ),
341
+ )),
342
+ 'blur-in': (enter: (
343
+ 'from': (
344
+ 'filter': "blur(8px)",
345
+ ),
346
+ )),
347
+ 'blur-out': (exit: (
348
+ 'translate': "0px 0px",
349
+ 'scale': "1",
350
+ 'opacity': "0",
351
+ 'mask-image': "none",
352
+ 'transform': "none",
353
+ ), leave: (
354
+ 'from': (
355
+ 'filter': "blur(0px)",
356
+ ),
357
+ 'to': (
358
+ 'filter': "blur(8px)",
359
+ ),
360
+ )),
361
+ 'slide-up': (enter: (
362
+ 'from': (
363
+ 'translate': "0px 100%",
364
+ ),
365
+ )),
366
+ 'slide-down': (enter: (
367
+ 'from': (
368
+ 'translate': "0px -100%",
369
+ ),
370
+ )),
371
+ 'slide-right': (enter: (
372
+ 'from': (
373
+ 'translate': "-100% 0px",
374
+ ),
375
+ )),
376
+ 'slide-left': (enter: (
377
+ 'from': (
378
+ 'translate': "100% 0px",
379
+ ),
380
+ )),
381
+ 'pop': (enter: (
382
+ 'from': (
383
+ 'scale': "1",
384
+ ),
385
+ '60%': (
386
+ 'scale': "1.075",
387
+ ),
388
+ )),
389
+ 'squish': (exit: (
390
+ 'translate': "0px 0px",
391
+ 'scale': "0.96",
392
+ 'opacity': "0",
393
+ 'mask-image': "none",
394
+ 'transform': "none",
395
+ ), leave: (
396
+ 'from': (
397
+ 'scale': "1",
398
+ ),
399
+ 'to': (
400
+ 'scale': "0.96",
401
+ ),
402
+ )),
403
+ 'tilt': (exit: (
404
+ 'translate': "0px 0px",
405
+ 'scale': "1",
406
+ 'opacity': "0",
407
+ 'mask-image': "none",
408
+ 'transform': "none",
409
+ ), leave: (
410
+ 'from': (
411
+ 'rotate': "0deg",
412
+ ),
413
+ 'to': (
414
+ 'rotate': "-2deg",
415
+ ),
416
+ )),
417
+ 'glow': (exit: (
418
+ 'translate': "0px 0px",
419
+ 'scale': "1",
420
+ 'opacity': "0",
421
+ 'mask-image': "none",
422
+ 'transform': "none",
423
+ ), leave: (
424
+ 'from': (
425
+ 'filter': "brightness(1)",
426
+ ),
427
+ 'to': (
428
+ 'filter': "brightness(1.12)",
429
+ ),
430
+ )),
431
+ 'wipe-right': (enter: (
432
+ 'from': (
433
+ 'mask-size': "0% 100%",
434
+ 'mask-image': "linear-gradient(black, black)",
435
+ 'mask-repeat': "no-repeat",
436
+ 'mask-position': "0% 50%",
437
+ ),
438
+ 'to': (
439
+ 'mask-size': "100% 100%",
440
+ 'mask-image': "linear-gradient(black, black)",
441
+ 'mask-repeat': "no-repeat",
442
+ 'mask-position': "0% 50%",
443
+ ),
444
+ )),
445
+ 'wipe-out-right': (exit: (
446
+ 'translate': "0px 0px",
447
+ 'scale': "1",
448
+ 'opacity': "1",
449
+ 'mask-image': "linear-gradient(black, black)",
450
+ 'mask-size': "0% 100%",
451
+ 'mask-repeat': "no-repeat",
452
+ 'mask-position': "100% 50%",
453
+ 'transform': "none",
454
+ 'mask-from': "100% 100%",
455
+ ), leave: (
456
+ 'from': (
457
+ 'mask-size': "100% 100%",
458
+ 'mask-image': "linear-gradient(black, black)",
459
+ 'mask-repeat': "no-repeat",
460
+ 'mask-position': "100% 50%",
461
+ ),
462
+ 'to': (
463
+ 'mask-size': "0% 100%",
464
+ 'mask-image': "linear-gradient(black, black)",
465
+ 'mask-repeat': "no-repeat",
466
+ 'mask-position': "100% 50%",
467
+ ),
468
+ )),
469
+ 'wipe-left': (enter: (
470
+ 'from': (
471
+ 'mask-size': "0% 100%",
472
+ 'mask-image': "linear-gradient(black, black)",
473
+ 'mask-repeat': "no-repeat",
474
+ 'mask-position': "100% 50%",
475
+ ),
476
+ 'to': (
477
+ 'mask-size': "100% 100%",
478
+ 'mask-image': "linear-gradient(black, black)",
479
+ 'mask-repeat': "no-repeat",
480
+ 'mask-position': "100% 50%",
481
+ ),
482
+ )),
483
+ 'wipe-out-left': (exit: (
484
+ 'translate': "0px 0px",
485
+ 'scale': "1",
486
+ 'opacity': "1",
487
+ 'mask-image': "linear-gradient(black, black)",
488
+ 'mask-size': "0% 100%",
489
+ 'mask-repeat': "no-repeat",
490
+ 'mask-position': "0% 50%",
491
+ 'transform': "none",
492
+ 'mask-from': "100% 100%",
493
+ ), leave: (
494
+ 'from': (
495
+ 'mask-size': "100% 100%",
496
+ 'mask-image': "linear-gradient(black, black)",
497
+ 'mask-repeat': "no-repeat",
498
+ 'mask-position': "0% 50%",
499
+ ),
500
+ 'to': (
501
+ 'mask-size': "0% 100%",
502
+ 'mask-image': "linear-gradient(black, black)",
503
+ 'mask-repeat': "no-repeat",
504
+ 'mask-position': "0% 50%",
505
+ ),
506
+ )),
507
+ 'wipe-up': (enter: (
508
+ 'from': (
509
+ 'mask-size': "100% 0%",
510
+ 'mask-image': "linear-gradient(black, black)",
511
+ 'mask-repeat': "no-repeat",
512
+ 'mask-position': "50% 100%",
513
+ ),
514
+ 'to': (
515
+ 'mask-size': "100% 100%",
516
+ 'mask-image': "linear-gradient(black, black)",
517
+ 'mask-repeat': "no-repeat",
518
+ 'mask-position': "50% 100%",
519
+ ),
520
+ )),
521
+ 'wipe-out-up': (exit: (
522
+ 'translate': "0px 0px",
523
+ 'scale': "1",
524
+ 'opacity': "1",
525
+ 'mask-image': "linear-gradient(black, black)",
526
+ 'mask-size': "100% 0%",
527
+ 'mask-repeat': "no-repeat",
528
+ 'mask-position': "50% 0%",
529
+ 'transform': "none",
530
+ 'mask-from': "100% 100%",
531
+ ), leave: (
532
+ 'from': (
533
+ 'mask-size': "100% 100%",
534
+ 'mask-image': "linear-gradient(black, black)",
535
+ 'mask-repeat': "no-repeat",
536
+ 'mask-position': "50% 0%",
537
+ ),
538
+ 'to': (
539
+ 'mask-size': "100% 0%",
540
+ 'mask-image': "linear-gradient(black, black)",
541
+ 'mask-repeat': "no-repeat",
542
+ 'mask-position': "50% 0%",
543
+ ),
544
+ )),
545
+ 'wipe-down': (enter: (
546
+ 'from': (
547
+ 'mask-size': "100% 0%",
548
+ 'mask-image': "linear-gradient(black, black)",
549
+ 'mask-repeat': "no-repeat",
550
+ 'mask-position': "50% 0%",
551
+ ),
552
+ 'to': (
553
+ 'mask-size': "100% 100%",
554
+ 'mask-image': "linear-gradient(black, black)",
555
+ 'mask-repeat': "no-repeat",
556
+ 'mask-position': "50% 0%",
557
+ ),
558
+ )),
559
+ 'wipe-out-down': (exit: (
560
+ 'translate': "0px 0px",
561
+ 'scale': "1",
562
+ 'opacity': "1",
563
+ 'mask-image': "linear-gradient(black, black)",
564
+ 'mask-size': "100% 0%",
565
+ 'mask-repeat': "no-repeat",
566
+ 'mask-position': "50% 100%",
567
+ 'transform': "none",
568
+ 'mask-from': "100% 100%",
569
+ ), leave: (
570
+ 'from': (
571
+ 'mask-size': "100% 100%",
572
+ 'mask-image': "linear-gradient(black, black)",
573
+ 'mask-repeat': "no-repeat",
574
+ 'mask-position': "50% 100%",
575
+ ),
576
+ 'to': (
577
+ 'mask-size': "100% 0%",
578
+ 'mask-image': "linear-gradient(black, black)",
579
+ 'mask-repeat': "no-repeat",
580
+ 'mask-position': "50% 100%",
581
+ ),
582
+ )),
583
+ 'wipe-down-right': (enter: (
584
+ 'from': (
585
+ 'mask-size': "0% 0%",
586
+ 'mask-image': "linear-gradient(black, black)",
587
+ 'mask-repeat': "no-repeat",
588
+ 'mask-position': "0% 0%",
589
+ ),
590
+ 'to': (
591
+ 'mask-size': "100% 100%",
592
+ 'mask-image': "linear-gradient(black, black)",
593
+ 'mask-repeat': "no-repeat",
594
+ 'mask-position': "0% 0%",
595
+ ),
596
+ )),
597
+ 'wipe-out-down-right': (exit: (
598
+ 'translate': "0px 0px",
599
+ 'scale': "1",
600
+ 'opacity': "1",
601
+ 'mask-image': "linear-gradient(black, black)",
602
+ 'mask-size': "0% 0%",
603
+ 'mask-repeat': "no-repeat",
604
+ 'mask-position': "100% 100%",
605
+ 'transform': "none",
606
+ 'mask-from': "100% 100%",
607
+ ), leave: (
608
+ 'from': (
609
+ 'mask-size': "100% 100%",
610
+ 'mask-image': "linear-gradient(black, black)",
611
+ 'mask-repeat': "no-repeat",
612
+ 'mask-position': "100% 100%",
613
+ ),
614
+ 'to': (
615
+ 'mask-size': "0% 0%",
616
+ 'mask-image': "linear-gradient(black, black)",
617
+ 'mask-repeat': "no-repeat",
618
+ 'mask-position': "100% 100%",
619
+ ),
620
+ )),
621
+ 'wipe-down-left': (enter: (
622
+ 'from': (
623
+ 'mask-size': "0% 0%",
624
+ 'mask-image': "linear-gradient(black, black)",
625
+ 'mask-repeat': "no-repeat",
626
+ 'mask-position': "100% 0%",
627
+ ),
628
+ 'to': (
629
+ 'mask-size': "100% 100%",
630
+ 'mask-image': "linear-gradient(black, black)",
631
+ 'mask-repeat': "no-repeat",
632
+ 'mask-position': "100% 0%",
633
+ ),
634
+ )),
635
+ 'wipe-out-down-left': (exit: (
636
+ 'translate': "0px 0px",
637
+ 'scale': "1",
638
+ 'opacity': "1",
639
+ 'mask-image': "linear-gradient(black, black)",
640
+ 'mask-size': "0% 0%",
641
+ 'mask-repeat': "no-repeat",
642
+ 'mask-position': "0% 100%",
643
+ 'transform': "none",
644
+ 'mask-from': "100% 100%",
645
+ ), leave: (
646
+ 'from': (
647
+ 'mask-size': "100% 100%",
648
+ 'mask-image': "linear-gradient(black, black)",
649
+ 'mask-repeat': "no-repeat",
650
+ 'mask-position': "0% 100%",
651
+ ),
652
+ 'to': (
653
+ 'mask-size': "0% 0%",
654
+ 'mask-image': "linear-gradient(black, black)",
655
+ 'mask-repeat': "no-repeat",
656
+ 'mask-position': "0% 100%",
657
+ ),
658
+ )),
659
+ 'wipe-up-right': (enter: (
660
+ 'from': (
661
+ 'mask-size': "0% 0%",
662
+ 'mask-image': "linear-gradient(black, black)",
663
+ 'mask-repeat': "no-repeat",
664
+ 'mask-position': "0% 100%",
665
+ ),
666
+ 'to': (
667
+ 'mask-size': "100% 100%",
668
+ 'mask-image': "linear-gradient(black, black)",
669
+ 'mask-repeat': "no-repeat",
670
+ 'mask-position': "0% 100%",
671
+ ),
672
+ )),
673
+ 'wipe-out-up-right': (exit: (
674
+ 'translate': "0px 0px",
675
+ 'scale': "1",
676
+ 'opacity': "1",
677
+ 'mask-image': "linear-gradient(black, black)",
678
+ 'mask-size': "0% 0%",
679
+ 'mask-repeat': "no-repeat",
680
+ 'mask-position': "100% 0%",
681
+ 'transform': "none",
682
+ 'mask-from': "100% 100%",
683
+ ), leave: (
684
+ 'from': (
685
+ 'mask-size': "100% 100%",
686
+ 'mask-image': "linear-gradient(black, black)",
687
+ 'mask-repeat': "no-repeat",
688
+ 'mask-position': "100% 0%",
689
+ ),
690
+ 'to': (
691
+ 'mask-size': "0% 0%",
692
+ 'mask-image': "linear-gradient(black, black)",
693
+ 'mask-repeat': "no-repeat",
694
+ 'mask-position': "100% 0%",
695
+ ),
696
+ )),
697
+ 'wipe-up-left': (enter: (
698
+ 'from': (
699
+ 'mask-size': "0% 0%",
700
+ 'mask-image': "linear-gradient(black, black)",
701
+ 'mask-repeat': "no-repeat",
702
+ 'mask-position': "100% 100%",
703
+ ),
704
+ 'to': (
705
+ 'mask-size': "100% 100%",
706
+ 'mask-image': "linear-gradient(black, black)",
707
+ 'mask-repeat': "no-repeat",
708
+ 'mask-position': "100% 100%",
709
+ ),
710
+ )),
711
+ 'wipe-out-up-left': (exit: (
712
+ 'translate': "0px 0px",
713
+ 'scale': "1",
714
+ 'opacity': "1",
715
+ 'mask-image': "linear-gradient(black, black)",
716
+ 'mask-size': "0% 0%",
717
+ 'mask-repeat': "no-repeat",
718
+ 'mask-position': "0% 0%",
719
+ 'transform': "none",
720
+ 'mask-from': "100% 100%",
721
+ ), leave: (
722
+ 'from': (
723
+ 'mask-size': "100% 100%",
724
+ 'mask-image': "linear-gradient(black, black)",
725
+ 'mask-repeat': "no-repeat",
726
+ 'mask-position': "0% 0%",
727
+ ),
728
+ 'to': (
729
+ 'mask-size': "0% 0%",
730
+ 'mask-image': "linear-gradient(black, black)",
731
+ 'mask-repeat': "no-repeat",
732
+ 'mask-position': "0% 0%",
733
+ ),
734
+ )),
735
+ 'wipe-open-x': (enter: (
736
+ 'from': (
737
+ 'mask-size': "0% 100%",
738
+ 'mask-image': "linear-gradient(black, black)",
739
+ 'mask-repeat': "no-repeat",
740
+ 'mask-position': "50% 50%",
741
+ ),
742
+ 'to': (
743
+ 'mask-size': "100% 100%",
744
+ 'mask-image': "linear-gradient(black, black)",
745
+ 'mask-repeat': "no-repeat",
746
+ 'mask-position': "50% 50%",
747
+ ),
748
+ )),
749
+ 'wipe-open-y': (enter: (
750
+ 'from': (
751
+ 'mask-size': "100% 0%",
752
+ 'mask-image': "linear-gradient(black, black)",
753
+ 'mask-repeat': "no-repeat",
754
+ 'mask-position': "50% 50%",
755
+ ),
756
+ 'to': (
757
+ 'mask-size': "100% 100%",
758
+ 'mask-image': "linear-gradient(black, black)",
759
+ 'mask-repeat': "no-repeat",
760
+ 'mask-position': "50% 50%",
761
+ ),
762
+ )),
763
+ 'wipe-close-x': (exit: (
764
+ 'translate': "0px 0px",
765
+ 'scale': "1",
766
+ 'opacity': "1",
767
+ 'mask-image': "linear-gradient(black, black)",
768
+ 'mask-size': "0% 100%",
769
+ 'mask-repeat': "no-repeat",
770
+ 'mask-position': "50% 50%",
771
+ 'transform': "none",
772
+ 'mask-from': "100% 100%",
773
+ ), leave: (
774
+ 'from': (
775
+ 'mask-size': "100% 100%",
776
+ 'mask-image': "linear-gradient(black, black)",
777
+ 'mask-repeat': "no-repeat",
778
+ 'mask-position': "50% 50%",
779
+ ),
780
+ 'to': (
781
+ 'mask-size': "0% 100%",
782
+ 'mask-image': "linear-gradient(black, black)",
783
+ 'mask-repeat': "no-repeat",
784
+ 'mask-position': "50% 50%",
785
+ ),
786
+ )),
787
+ 'wipe-close-y': (exit: (
788
+ 'translate': "0px 0px",
789
+ 'scale': "1",
790
+ 'opacity': "1",
791
+ 'mask-image': "linear-gradient(black, black)",
792
+ 'mask-size': "100% 0%",
793
+ 'mask-repeat': "no-repeat",
794
+ 'mask-position': "50% 50%",
795
+ 'transform': "none",
796
+ 'mask-from': "100% 100%",
797
+ ), leave: (
798
+ 'from': (
799
+ 'mask-size': "100% 100%",
800
+ 'mask-image': "linear-gradient(black, black)",
801
+ 'mask-repeat': "no-repeat",
802
+ 'mask-position': "50% 50%",
803
+ ),
804
+ 'to': (
805
+ 'mask-size': "100% 0%",
806
+ 'mask-image': "linear-gradient(black, black)",
807
+ 'mask-repeat': "no-repeat",
808
+ 'mask-position': "50% 50%",
809
+ ),
810
+ )),
811
+ 'iris-in': (enter: (
812
+ 'from': (
813
+ 'mask-size': "0% 0%",
814
+ 'mask-image': "radial-gradient(closest-side, black 98%, transparent)",
815
+ 'mask-repeat': "no-repeat",
816
+ 'mask-position': "50% 50%",
817
+ ),
818
+ 'to': (
819
+ 'mask-size': "142% 142%",
820
+ 'mask-image': "radial-gradient(closest-side, black 98%, transparent)",
821
+ 'mask-repeat': "no-repeat",
822
+ 'mask-position': "50% 50%",
823
+ ),
824
+ )),
825
+ 'iris-out': (exit: (
826
+ 'translate': "0px 0px",
827
+ 'scale': "1",
828
+ 'opacity': "1",
829
+ 'mask-image': "radial-gradient(closest-side, black 98%, transparent)",
830
+ 'mask-size': "0% 0%",
831
+ 'mask-repeat': "no-repeat",
832
+ 'mask-position': "50% 50%",
833
+ 'transform': "none",
834
+ 'mask-from': "142% 142%",
835
+ ), leave: (
836
+ 'from': (
837
+ 'mask-size': "142% 142%",
838
+ 'mask-image': "radial-gradient(closest-side, black 98%, transparent)",
839
+ 'mask-repeat': "no-repeat",
840
+ 'mask-position': "50% 50%",
841
+ ),
842
+ 'to': (
843
+ 'mask-size': "0% 0%",
844
+ 'mask-image': "radial-gradient(closest-side, black 98%, transparent)",
845
+ 'mask-repeat': "no-repeat",
846
+ 'mask-position': "50% 50%",
847
+ ),
848
+ )),
849
+ 'iris-right': (enter: (
850
+ 'from': (
851
+ 'mask-size': "0% 0%",
852
+ 'mask-image': "radial-gradient(farthest-side at 100% 50%, black 98%, transparent)",
853
+ 'mask-repeat': "no-repeat",
854
+ 'mask-position': "100% 50%",
855
+ ),
856
+ 'to': (
857
+ 'mask-size': "142% 142%",
858
+ 'mask-image': "radial-gradient(farthest-side at 100% 50%, black 98%, transparent)",
859
+ 'mask-repeat': "no-repeat",
860
+ 'mask-position': "100% 50%",
861
+ ),
862
+ )),
863
+ 'iris-out-right': (exit: (
864
+ 'translate': "0px 0px",
865
+ 'scale': "1",
866
+ 'opacity': "1",
867
+ 'mask-image': "radial-gradient(farthest-side at 100% 50%, black 98%, transparent)",
868
+ 'mask-size': "0% 0%",
869
+ 'mask-repeat': "no-repeat",
870
+ 'mask-position': "100% 50%",
871
+ 'transform': "none",
872
+ 'mask-from': "142% 142%",
873
+ ), leave: (
874
+ 'from': (
875
+ 'mask-size': "142% 142%",
876
+ 'mask-image': "radial-gradient(farthest-side at 100% 50%, black 98%, transparent)",
877
+ 'mask-repeat': "no-repeat",
878
+ 'mask-position': "100% 50%",
879
+ ),
880
+ 'to': (
881
+ 'mask-size': "0% 0%",
882
+ 'mask-image': "radial-gradient(farthest-side at 100% 50%, black 98%, transparent)",
883
+ 'mask-repeat': "no-repeat",
884
+ 'mask-position': "100% 50%",
885
+ ),
886
+ )),
887
+ 'iris-left': (enter: (
888
+ 'from': (
889
+ 'mask-size': "0% 0%",
890
+ 'mask-image': "radial-gradient(farthest-side at 0% 50%, black 98%, transparent)",
891
+ 'mask-repeat': "no-repeat",
892
+ 'mask-position': "0% 50%",
893
+ ),
894
+ 'to': (
895
+ 'mask-size': "142% 142%",
896
+ 'mask-image': "radial-gradient(farthest-side at 0% 50%, black 98%, transparent)",
897
+ 'mask-repeat': "no-repeat",
898
+ 'mask-position': "0% 50%",
899
+ ),
900
+ )),
901
+ 'iris-out-left': (exit: (
902
+ 'translate': "0px 0px",
903
+ 'scale': "1",
904
+ 'opacity': "1",
905
+ 'mask-image': "radial-gradient(farthest-side at 0% 50%, black 98%, transparent)",
906
+ 'mask-size': "0% 0%",
907
+ 'mask-repeat': "no-repeat",
908
+ 'mask-position': "0% 50%",
909
+ 'transform': "none",
910
+ 'mask-from': "142% 142%",
911
+ ), leave: (
912
+ 'from': (
913
+ 'mask-size': "142% 142%",
914
+ 'mask-image': "radial-gradient(farthest-side at 0% 50%, black 98%, transparent)",
915
+ 'mask-repeat': "no-repeat",
916
+ 'mask-position': "0% 50%",
917
+ ),
918
+ 'to': (
919
+ 'mask-size': "0% 0%",
920
+ 'mask-image': "radial-gradient(farthest-side at 0% 50%, black 98%, transparent)",
921
+ 'mask-repeat': "no-repeat",
922
+ 'mask-position': "0% 50%",
923
+ ),
924
+ )),
925
+ 'iris-up': (enter: (
926
+ 'from': (
927
+ 'mask-size': "0% 0%",
928
+ 'mask-image': "radial-gradient(farthest-side at 50% 0%, black 98%, transparent)",
929
+ 'mask-repeat': "no-repeat",
930
+ 'mask-position': "50% 0%",
931
+ ),
932
+ 'to': (
933
+ 'mask-size': "142% 142%",
934
+ 'mask-image': "radial-gradient(farthest-side at 50% 0%, black 98%, transparent)",
935
+ 'mask-repeat': "no-repeat",
936
+ 'mask-position': "50% 0%",
937
+ ),
938
+ )),
939
+ 'iris-out-up': (exit: (
940
+ 'translate': "0px 0px",
941
+ 'scale': "1",
942
+ 'opacity': "1",
943
+ 'mask-image': "radial-gradient(farthest-side at 50% 0%, black 98%, transparent)",
944
+ 'mask-size': "0% 0%",
945
+ 'mask-repeat': "no-repeat",
946
+ 'mask-position': "50% 0%",
947
+ 'transform': "none",
948
+ 'mask-from': "142% 142%",
949
+ ), leave: (
950
+ 'from': (
951
+ 'mask-size': "142% 142%",
952
+ 'mask-image': "radial-gradient(farthest-side at 50% 0%, black 98%, transparent)",
953
+ 'mask-repeat': "no-repeat",
954
+ 'mask-position': "50% 0%",
955
+ ),
956
+ 'to': (
957
+ 'mask-size': "0% 0%",
958
+ 'mask-image': "radial-gradient(farthest-side at 50% 0%, black 98%, transparent)",
959
+ 'mask-repeat': "no-repeat",
960
+ 'mask-position': "50% 0%",
961
+ ),
962
+ )),
963
+ 'iris-down': (enter: (
964
+ 'from': (
965
+ 'mask-size': "0% 0%",
966
+ 'mask-image': "radial-gradient(farthest-side at 50% 100%, black 98%, transparent)",
967
+ 'mask-repeat': "no-repeat",
968
+ 'mask-position': "50% 100%",
969
+ ),
970
+ 'to': (
971
+ 'mask-size': "142% 142%",
972
+ 'mask-image': "radial-gradient(farthest-side at 50% 100%, black 98%, transparent)",
973
+ 'mask-repeat': "no-repeat",
974
+ 'mask-position': "50% 100%",
975
+ ),
976
+ )),
977
+ 'iris-out-down': (exit: (
978
+ 'translate': "0px 0px",
979
+ 'scale': "1",
980
+ 'opacity': "1",
981
+ 'mask-image': "radial-gradient(farthest-side at 50% 100%, black 98%, transparent)",
982
+ 'mask-size': "0% 0%",
983
+ 'mask-repeat': "no-repeat",
984
+ 'mask-position': "50% 100%",
985
+ 'transform': "none",
986
+ 'mask-from': "142% 142%",
987
+ ), leave: (
988
+ 'from': (
989
+ 'mask-size': "142% 142%",
990
+ 'mask-image': "radial-gradient(farthest-side at 50% 100%, black 98%, transparent)",
991
+ 'mask-repeat': "no-repeat",
992
+ 'mask-position': "50% 100%",
993
+ ),
994
+ 'to': (
995
+ 'mask-size': "0% 0%",
996
+ 'mask-image': "radial-gradient(farthest-side at 50% 100%, black 98%, transparent)",
997
+ 'mask-repeat': "no-repeat",
998
+ 'mask-position': "50% 100%",
999
+ ),
1000
+ )),
1001
+ 'iris-down-right': (enter: (
1002
+ 'from': (
1003
+ 'mask-size': "0% 0%",
1004
+ 'mask-image': "radial-gradient(farthest-side at 100% 100%, black 98%, transparent)",
1005
+ 'mask-repeat': "no-repeat",
1006
+ 'mask-position': "100% 100%",
1007
+ ),
1008
+ 'to': (
1009
+ 'mask-size': "142% 142%",
1010
+ 'mask-image': "radial-gradient(farthest-side at 100% 100%, black 98%, transparent)",
1011
+ 'mask-repeat': "no-repeat",
1012
+ 'mask-position': "100% 100%",
1013
+ ),
1014
+ )),
1015
+ 'iris-out-down-right': (exit: (
1016
+ 'translate': "0px 0px",
1017
+ 'scale': "1",
1018
+ 'opacity': "1",
1019
+ 'mask-image': "radial-gradient(farthest-side at 100% 100%, black 98%, transparent)",
1020
+ 'mask-size': "0% 0%",
1021
+ 'mask-repeat': "no-repeat",
1022
+ 'mask-position': "100% 100%",
1023
+ 'transform': "none",
1024
+ 'mask-from': "142% 142%",
1025
+ ), leave: (
1026
+ 'from': (
1027
+ 'mask-size': "142% 142%",
1028
+ 'mask-image': "radial-gradient(farthest-side at 100% 100%, black 98%, transparent)",
1029
+ 'mask-repeat': "no-repeat",
1030
+ 'mask-position': "100% 100%",
1031
+ ),
1032
+ 'to': (
1033
+ 'mask-size': "0% 0%",
1034
+ 'mask-image': "radial-gradient(farthest-side at 100% 100%, black 98%, transparent)",
1035
+ 'mask-repeat': "no-repeat",
1036
+ 'mask-position': "100% 100%",
1037
+ ),
1038
+ )),
1039
+ 'iris-down-left': (enter: (
1040
+ 'from': (
1041
+ 'mask-size': "0% 0%",
1042
+ 'mask-image': "radial-gradient(farthest-side at 0% 100%, black 98%, transparent)",
1043
+ 'mask-repeat': "no-repeat",
1044
+ 'mask-position': "0% 100%",
1045
+ ),
1046
+ 'to': (
1047
+ 'mask-size': "142% 142%",
1048
+ 'mask-image': "radial-gradient(farthest-side at 0% 100%, black 98%, transparent)",
1049
+ 'mask-repeat': "no-repeat",
1050
+ 'mask-position': "0% 100%",
1051
+ ),
1052
+ )),
1053
+ 'iris-out-down-left': (exit: (
1054
+ 'translate': "0px 0px",
1055
+ 'scale': "1",
1056
+ 'opacity': "1",
1057
+ 'mask-image': "radial-gradient(farthest-side at 0% 100%, black 98%, transparent)",
1058
+ 'mask-size': "0% 0%",
1059
+ 'mask-repeat': "no-repeat",
1060
+ 'mask-position': "0% 100%",
1061
+ 'transform': "none",
1062
+ 'mask-from': "142% 142%",
1063
+ ), leave: (
1064
+ 'from': (
1065
+ 'mask-size': "142% 142%",
1066
+ 'mask-image': "radial-gradient(farthest-side at 0% 100%, black 98%, transparent)",
1067
+ 'mask-repeat': "no-repeat",
1068
+ 'mask-position': "0% 100%",
1069
+ ),
1070
+ 'to': (
1071
+ 'mask-size': "0% 0%",
1072
+ 'mask-image': "radial-gradient(farthest-side at 0% 100%, black 98%, transparent)",
1073
+ 'mask-repeat': "no-repeat",
1074
+ 'mask-position': "0% 100%",
1075
+ ),
1076
+ )),
1077
+ 'iris-up-right': (enter: (
1078
+ 'from': (
1079
+ 'mask-size': "0% 0%",
1080
+ 'mask-image': "radial-gradient(farthest-side at 100% 0%, black 98%, transparent)",
1081
+ 'mask-repeat': "no-repeat",
1082
+ 'mask-position': "100% 0%",
1083
+ ),
1084
+ 'to': (
1085
+ 'mask-size': "142% 142%",
1086
+ 'mask-image': "radial-gradient(farthest-side at 100% 0%, black 98%, transparent)",
1087
+ 'mask-repeat': "no-repeat",
1088
+ 'mask-position': "100% 0%",
1089
+ ),
1090
+ )),
1091
+ 'iris-out-up-right': (exit: (
1092
+ 'translate': "0px 0px",
1093
+ 'scale': "1",
1094
+ 'opacity': "1",
1095
+ 'mask-image': "radial-gradient(farthest-side at 100% 0%, black 98%, transparent)",
1096
+ 'mask-size': "0% 0%",
1097
+ 'mask-repeat': "no-repeat",
1098
+ 'mask-position': "100% 0%",
1099
+ 'transform': "none",
1100
+ 'mask-from': "142% 142%",
1101
+ ), leave: (
1102
+ 'from': (
1103
+ 'mask-size': "142% 142%",
1104
+ 'mask-image': "radial-gradient(farthest-side at 100% 0%, black 98%, transparent)",
1105
+ 'mask-repeat': "no-repeat",
1106
+ 'mask-position': "100% 0%",
1107
+ ),
1108
+ 'to': (
1109
+ 'mask-size': "0% 0%",
1110
+ 'mask-image': "radial-gradient(farthest-side at 100% 0%, black 98%, transparent)",
1111
+ 'mask-repeat': "no-repeat",
1112
+ 'mask-position': "100% 0%",
1113
+ ),
1114
+ )),
1115
+ 'iris-up-left': (enter: (
1116
+ 'from': (
1117
+ 'mask-size': "0% 0%",
1118
+ 'mask-image': "radial-gradient(farthest-side at 0% 0%, black 98%, transparent)",
1119
+ 'mask-repeat': "no-repeat",
1120
+ 'mask-position': "0% 0%",
1121
+ ),
1122
+ 'to': (
1123
+ 'mask-size': "142% 142%",
1124
+ 'mask-image': "radial-gradient(farthest-side at 0% 0%, black 98%, transparent)",
1125
+ 'mask-repeat': "no-repeat",
1126
+ 'mask-position': "0% 0%",
1127
+ ),
1128
+ )),
1129
+ 'iris-out-up-left': (exit: (
1130
+ 'translate': "0px 0px",
1131
+ 'scale': "1",
1132
+ 'opacity': "1",
1133
+ 'mask-image': "radial-gradient(farthest-side at 0% 0%, black 98%, transparent)",
1134
+ 'mask-size': "0% 0%",
1135
+ 'mask-repeat': "no-repeat",
1136
+ 'mask-position': "0% 0%",
1137
+ 'transform': "none",
1138
+ 'mask-from': "142% 142%",
1139
+ ), leave: (
1140
+ 'from': (
1141
+ 'mask-size': "142% 142%",
1142
+ 'mask-image': "radial-gradient(farthest-side at 0% 0%, black 98%, transparent)",
1143
+ 'mask-repeat': "no-repeat",
1144
+ 'mask-position': "0% 0%",
1145
+ ),
1146
+ 'to': (
1147
+ 'mask-size': "0% 0%",
1148
+ 'mask-image': "radial-gradient(farthest-side at 0% 0%, black 98%, transparent)",
1149
+ 'mask-repeat': "no-repeat",
1150
+ 'mask-position': "0% 0%",
1151
+ ),
1152
+ )),
1153
+ 'turn-x': (enter: (
1154
+ 'from': (
1155
+ 'transform': "perspective(800px) rotateX(0deg)",
1156
+ ),
1157
+ )),
1158
+ 'turn-y': (enter: (
1159
+ 'from': (
1160
+ 'transform': "perspective(800px) rotateY(0deg)",
1161
+ ),
1162
+ )),
1163
+ 'depth': (enter: (
1164
+ 'from': (
1165
+ 'transform': "perspective(800px) translateZ(0px)",
1166
+ ),
1167
+ )),
1168
+ 'hinge': (enter: (
1169
+ 'from': (
1170
+ 'transform': "perspective(800px) rotateX(0deg)",
1171
+ 'transform-origin': "50% 0%",
1172
+ ),
1173
+ )),
1174
+ 'flip-over-up': (enter: (
1175
+ 'from': (
1176
+ 'transform': "perspective(2000px) rotateX(180deg)",
1177
+ 'backface-visibility': "hidden",
1178
+ ),
1179
+ )),
1180
+ 'flip-over-out-up': (exit: (
1181
+ 'translate': "0px 0px",
1182
+ 'scale': "1",
1183
+ 'opacity': "0",
1184
+ 'mask-image': "none",
1185
+ 'transform': "perspective(2000px) rotateX(180deg)",
1186
+ ), leave: (
1187
+ 'from': (
1188
+ 'transform': "perspective(2000px) rotateX(0deg)",
1189
+ 'backface-visibility': "hidden",
1190
+ ),
1191
+ 'to': (
1192
+ 'transform': "perspective(2000px) rotateX(180deg)",
1193
+ 'backface-visibility': "hidden",
1194
+ ),
1195
+ )),
1196
+ 'flip-over-down': (enter: (
1197
+ 'from': (
1198
+ 'transform': "perspective(2000px) rotateX(-180deg)",
1199
+ 'backface-visibility': "hidden",
1200
+ ),
1201
+ )),
1202
+ 'flip-over-out-down': (exit: (
1203
+ 'translate': "0px 0px",
1204
+ 'scale': "1",
1205
+ 'opacity': "0",
1206
+ 'mask-image': "none",
1207
+ 'transform': "perspective(2000px) rotateX(-180deg)",
1208
+ ), leave: (
1209
+ 'from': (
1210
+ 'transform': "perspective(2000px) rotateX(0deg)",
1211
+ 'backface-visibility': "hidden",
1212
+ ),
1213
+ 'to': (
1214
+ 'transform': "perspective(2000px) rotateX(-180deg)",
1215
+ 'backface-visibility': "hidden",
1216
+ ),
1217
+ )),
1218
+ 'flip-over-left': (enter: (
1219
+ 'from': (
1220
+ 'transform': "perspective(2000px) rotateY(180deg)",
1221
+ 'backface-visibility': "hidden",
1222
+ ),
1223
+ )),
1224
+ 'flip-over-out-left': (exit: (
1225
+ 'translate': "0px 0px",
1226
+ 'scale': "1",
1227
+ 'opacity': "0",
1228
+ 'mask-image': "none",
1229
+ 'transform': "perspective(2000px) rotateY(180deg)",
1230
+ ), leave: (
1231
+ 'from': (
1232
+ 'transform': "perspective(2000px) rotateY(0deg)",
1233
+ 'backface-visibility': "hidden",
1234
+ ),
1235
+ 'to': (
1236
+ 'transform': "perspective(2000px) rotateY(180deg)",
1237
+ 'backface-visibility': "hidden",
1238
+ ),
1239
+ )),
1240
+ 'flip-over-right': (enter: (
1241
+ 'from': (
1242
+ 'transform': "perspective(2000px) rotateY(-180deg)",
1243
+ 'backface-visibility': "hidden",
1244
+ ),
1245
+ )),
1246
+ 'flip-over-out-right': (exit: (
1247
+ 'translate': "0px 0px",
1248
+ 'scale': "1",
1249
+ 'opacity': "0",
1250
+ 'mask-image': "none",
1251
+ 'transform': "perspective(2000px) rotateY(-180deg)",
1252
+ ), leave: (
1253
+ 'from': (
1254
+ 'transform': "perspective(2000px) rotateY(0deg)",
1255
+ 'backface-visibility': "hidden",
1256
+ ),
1257
+ 'to': (
1258
+ 'transform': "perspective(2000px) rotateY(-180deg)",
1259
+ 'backface-visibility': "hidden",
1260
+ ),
1261
+ )),
1262
+ 'fade-up': (enter: (
1263
+ 'from': (
1264
+ 'translate': "0px var(--greese-motion-distance, 1rem)",
1265
+ 'opacity': "0",
1266
+ ),
1267
+ )),
1268
+ 'fade-down': (enter: (
1269
+ 'from': (
1270
+ 'translate': "0px calc(-1 * var(--greese-motion-distance, 1rem))",
1271
+ 'opacity': "0",
1272
+ ),
1273
+ )),
1274
+ 'fade-start': (enter: (
1275
+ 'from': (
1276
+ 'translate': "calc(-1 * var(--greese-motion-dir, 1) * var(--greese-motion-distance, 1rem)) 0px",
1277
+ 'opacity': "0",
1278
+ ),
1279
+ )),
1280
+ 'fade-end': (enter: (
1281
+ 'from': (
1282
+ 'translate': "calc(var(--greese-motion-dir, 1) * var(--greese-motion-distance, 1rem)) 0px",
1283
+ 'opacity': "0",
1284
+ ),
1285
+ )),
1286
+ 'fade-out-up': (exit: (
1287
+ 'translate': "0px calc(-1 * var(--greese-motion-distance, 1rem))",
1288
+ 'scale': "1",
1289
+ 'opacity': "0",
1290
+ 'mask-image': "none",
1291
+ 'transform': "none",
1292
+ ), leave: (
1293
+ 'from': (
1294
+ 'translate': "0px 0px",
1295
+ 'opacity': "1",
1296
+ ),
1297
+ 'to': (
1298
+ 'translate': "0px calc(-1 * var(--greese-motion-distance, 1rem))",
1299
+ 'opacity': "0",
1300
+ ),
1301
+ )),
1302
+ 'fade-out-down': (exit: (
1303
+ 'translate': "0px var(--greese-motion-distance, 1rem)",
1304
+ 'scale': "1",
1305
+ 'opacity': "0",
1306
+ 'mask-image': "none",
1307
+ 'transform': "none",
1308
+ ), leave: (
1309
+ 'from': (
1310
+ 'translate': "0px 0px",
1311
+ 'opacity': "1",
1312
+ ),
1313
+ 'to': (
1314
+ 'translate': "0px var(--greese-motion-distance, 1rem)",
1315
+ 'opacity': "0",
1316
+ ),
1317
+ )),
1318
+ 'pop-in': (enter: (
1319
+ 'from': (
1320
+ 'scale': "0.8",
1321
+ 'opacity': "0",
1322
+ ),
1323
+ '60%': (
1324
+ 'scale': "1.04",
1325
+ 'opacity': "1",
1326
+ ),
1327
+ )),
1328
+ 'pop-out': (exit: (
1329
+ 'translate': "0px 0px",
1330
+ 'scale': "0.8",
1331
+ 'opacity': "0",
1332
+ 'mask-image': "none",
1333
+ 'transform': "none",
1334
+ ), leave: (
1335
+ 'from': (
1336
+ 'scale': "1",
1337
+ ),
1338
+ '40%': (
1339
+ 'scale': "1.04",
1340
+ 'opacity': "1",
1341
+ ),
1342
+ 'to': (
1343
+ 'scale': "0.8",
1344
+ 'opacity': "0",
1345
+ ),
1346
+ )),
1347
+ 'rise': (exit: (
1348
+ 'translate': "0px -4px",
1349
+ 'scale': "1.02",
1350
+ 'opacity': "0",
1351
+ 'mask-image': "none",
1352
+ 'transform': "none",
1353
+ ), leave: (
1354
+ 'from': (
1355
+ 'translate': "0px 0px",
1356
+ 'scale': "1",
1357
+ ),
1358
+ 'to': (
1359
+ 'translate': "0px -4px",
1360
+ 'scale': "1.02",
1361
+ ),
1362
+ )),
1363
+ 'fall': (exit: (
1364
+ 'translate': "0px 4px",
1365
+ 'scale': "0.98",
1366
+ 'opacity': "0",
1367
+ 'mask-image': "none",
1368
+ 'transform': "none",
1369
+ ), leave: (
1370
+ 'from': (
1371
+ 'translate': "0px 0px",
1372
+ 'scale': "1",
1373
+ ),
1374
+ 'to': (
1375
+ 'translate': "0px 4px",
1376
+ 'scale': "0.98",
1377
+ ),
1378
+ )),
1379
+ 'pocket-right': (enter: (
1380
+ 'from': (
1381
+ 'translate': "-100% 0px",
1382
+ 'mask-size': "0% 100%",
1383
+ 'mask-image': "linear-gradient(black, black)",
1384
+ 'mask-repeat': "no-repeat",
1385
+ 'mask-position': "100% 50%",
1386
+ ),
1387
+ 'to': (
1388
+ 'translate': "0px 0px",
1389
+ 'mask-size': "100% 100%",
1390
+ 'mask-image': "linear-gradient(black, black)",
1391
+ 'mask-repeat': "no-repeat",
1392
+ 'mask-position': "100% 50%",
1393
+ ),
1394
+ )),
1395
+ 'pocket-out-right': (exit: (
1396
+ 'translate': "100% 0px",
1397
+ 'scale': "1",
1398
+ 'opacity': "1",
1399
+ 'mask-image': "linear-gradient(black, black)",
1400
+ 'mask-size': "0% 100%",
1401
+ 'mask-repeat': "no-repeat",
1402
+ 'mask-position': "0% 50%",
1403
+ 'transform': "none",
1404
+ 'mask-from': "100% 100%",
1405
+ ), leave: (
1406
+ 'from': (
1407
+ 'translate': "0px 0px",
1408
+ 'mask-size': "100% 100%",
1409
+ 'mask-image': "linear-gradient(black, black)",
1410
+ 'mask-repeat': "no-repeat",
1411
+ 'mask-position': "0% 50%",
1412
+ ),
1413
+ 'to': (
1414
+ 'translate': "100% 0px",
1415
+ 'mask-size': "0% 100%",
1416
+ 'mask-image': "linear-gradient(black, black)",
1417
+ 'mask-repeat': "no-repeat",
1418
+ 'mask-position': "0% 50%",
1419
+ ),
1420
+ )),
1421
+ 'pocket-left': (enter: (
1422
+ 'from': (
1423
+ 'translate': "100% 0px",
1424
+ 'mask-size': "0% 100%",
1425
+ 'mask-image': "linear-gradient(black, black)",
1426
+ 'mask-repeat': "no-repeat",
1427
+ 'mask-position': "0% 50%",
1428
+ ),
1429
+ 'to': (
1430
+ 'translate': "0px 0px",
1431
+ 'mask-size': "100% 100%",
1432
+ 'mask-image': "linear-gradient(black, black)",
1433
+ 'mask-repeat': "no-repeat",
1434
+ 'mask-position': "0% 50%",
1435
+ ),
1436
+ )),
1437
+ 'pocket-out-left': (exit: (
1438
+ 'translate': "-100% 0px",
1439
+ 'scale': "1",
1440
+ 'opacity': "1",
1441
+ 'mask-image': "linear-gradient(black, black)",
1442
+ 'mask-size': "0% 100%",
1443
+ 'mask-repeat': "no-repeat",
1444
+ 'mask-position': "100% 50%",
1445
+ 'transform': "none",
1446
+ 'mask-from': "100% 100%",
1447
+ ), leave: (
1448
+ 'from': (
1449
+ 'translate': "0px 0px",
1450
+ 'mask-size': "100% 100%",
1451
+ 'mask-image': "linear-gradient(black, black)",
1452
+ 'mask-repeat': "no-repeat",
1453
+ 'mask-position': "100% 50%",
1454
+ ),
1455
+ 'to': (
1456
+ 'translate': "-100% 0px",
1457
+ 'mask-size': "0% 100%",
1458
+ 'mask-image': "linear-gradient(black, black)",
1459
+ 'mask-repeat': "no-repeat",
1460
+ 'mask-position': "100% 50%",
1461
+ ),
1462
+ )),
1463
+ 'pocket-up': (enter: (
1464
+ 'from': (
1465
+ 'translate': "0px 100%",
1466
+ 'mask-size': "100% 0%",
1467
+ 'mask-image': "linear-gradient(black, black)",
1468
+ 'mask-repeat': "no-repeat",
1469
+ 'mask-position': "50% 0%",
1470
+ ),
1471
+ 'to': (
1472
+ 'translate': "0px 0px",
1473
+ 'mask-size': "100% 100%",
1474
+ 'mask-image': "linear-gradient(black, black)",
1475
+ 'mask-repeat': "no-repeat",
1476
+ 'mask-position': "50% 0%",
1477
+ ),
1478
+ )),
1479
+ 'pocket-out-up': (exit: (
1480
+ 'translate': "0px -100%",
1481
+ 'scale': "1",
1482
+ 'opacity': "1",
1483
+ 'mask-image': "linear-gradient(black, black)",
1484
+ 'mask-size': "100% 0%",
1485
+ 'mask-repeat': "no-repeat",
1486
+ 'mask-position': "50% 100%",
1487
+ 'transform': "none",
1488
+ 'mask-from': "100% 100%",
1489
+ ), leave: (
1490
+ 'from': (
1491
+ 'translate': "0px 0px",
1492
+ 'mask-size': "100% 100%",
1493
+ 'mask-image': "linear-gradient(black, black)",
1494
+ 'mask-repeat': "no-repeat",
1495
+ 'mask-position': "50% 100%",
1496
+ ),
1497
+ 'to': (
1498
+ 'translate': "0px -100%",
1499
+ 'mask-size': "100% 0%",
1500
+ 'mask-image': "linear-gradient(black, black)",
1501
+ 'mask-repeat': "no-repeat",
1502
+ 'mask-position': "50% 100%",
1503
+ ),
1504
+ )),
1505
+ 'pocket-down': (enter: (
1506
+ 'from': (
1507
+ 'translate': "0px -100%",
1508
+ 'mask-size': "100% 0%",
1509
+ 'mask-image': "linear-gradient(black, black)",
1510
+ 'mask-repeat': "no-repeat",
1511
+ 'mask-position': "50% 100%",
1512
+ ),
1513
+ 'to': (
1514
+ 'translate': "0px 0px",
1515
+ 'mask-size': "100% 100%",
1516
+ 'mask-image': "linear-gradient(black, black)",
1517
+ 'mask-repeat': "no-repeat",
1518
+ 'mask-position': "50% 100%",
1519
+ ),
1520
+ )),
1521
+ 'pocket-out-down': (exit: (
1522
+ 'translate': "0px 100%",
1523
+ 'scale': "1",
1524
+ 'opacity': "1",
1525
+ 'mask-image': "linear-gradient(black, black)",
1526
+ 'mask-size': "100% 0%",
1527
+ 'mask-repeat': "no-repeat",
1528
+ 'mask-position': "50% 0%",
1529
+ 'transform': "none",
1530
+ 'mask-from': "100% 100%",
1531
+ ), leave: (
1532
+ 'from': (
1533
+ 'translate': "0px 0px",
1534
+ 'mask-size': "100% 100%",
1535
+ 'mask-image': "linear-gradient(black, black)",
1536
+ 'mask-repeat': "no-repeat",
1537
+ 'mask-position': "50% 0%",
1538
+ ),
1539
+ 'to': (
1540
+ 'translate': "0px 100%",
1541
+ 'mask-size': "100% 0%",
1542
+ 'mask-image': "linear-gradient(black, black)",
1543
+ 'mask-repeat': "no-repeat",
1544
+ 'mask-position': "50% 0%",
1545
+ ),
1546
+ )),
1547
+ 'pocket-down-right': (enter: (
1548
+ 'from': (
1549
+ 'translate': "-100% -100%",
1550
+ 'mask-size': "0% 0%",
1551
+ 'mask-image': "linear-gradient(black, black)",
1552
+ 'mask-repeat': "no-repeat",
1553
+ 'mask-position': "100% 100%",
1554
+ ),
1555
+ 'to': (
1556
+ 'translate': "0px 0px",
1557
+ 'mask-size': "100% 100%",
1558
+ 'mask-image': "linear-gradient(black, black)",
1559
+ 'mask-repeat': "no-repeat",
1560
+ 'mask-position': "100% 100%",
1561
+ ),
1562
+ )),
1563
+ 'pocket-out-down-right': (exit: (
1564
+ 'translate': "100% 100%",
1565
+ 'scale': "1",
1566
+ 'opacity': "1",
1567
+ 'mask-image': "linear-gradient(black, black)",
1568
+ 'mask-size': "0% 0%",
1569
+ 'mask-repeat': "no-repeat",
1570
+ 'mask-position': "0% 0%",
1571
+ 'transform': "none",
1572
+ 'mask-from': "100% 100%",
1573
+ ), leave: (
1574
+ 'from': (
1575
+ 'translate': "0px 0px",
1576
+ 'mask-size': "100% 100%",
1577
+ 'mask-image': "linear-gradient(black, black)",
1578
+ 'mask-repeat': "no-repeat",
1579
+ 'mask-position': "0% 0%",
1580
+ ),
1581
+ 'to': (
1582
+ 'translate': "100% 100%",
1583
+ 'mask-size': "0% 0%",
1584
+ 'mask-image': "linear-gradient(black, black)",
1585
+ 'mask-repeat': "no-repeat",
1586
+ 'mask-position': "0% 0%",
1587
+ ),
1588
+ )),
1589
+ 'pocket-down-left': (enter: (
1590
+ 'from': (
1591
+ 'translate': "100% -100%",
1592
+ 'mask-size': "0% 0%",
1593
+ 'mask-image': "linear-gradient(black, black)",
1594
+ 'mask-repeat': "no-repeat",
1595
+ 'mask-position': "0% 100%",
1596
+ ),
1597
+ 'to': (
1598
+ 'translate': "0px 0px",
1599
+ 'mask-size': "100% 100%",
1600
+ 'mask-image': "linear-gradient(black, black)",
1601
+ 'mask-repeat': "no-repeat",
1602
+ 'mask-position': "0% 100%",
1603
+ ),
1604
+ )),
1605
+ 'pocket-out-down-left': (exit: (
1606
+ 'translate': "-100% 100%",
1607
+ 'scale': "1",
1608
+ 'opacity': "1",
1609
+ 'mask-image': "linear-gradient(black, black)",
1610
+ 'mask-size': "0% 0%",
1611
+ 'mask-repeat': "no-repeat",
1612
+ 'mask-position': "100% 0%",
1613
+ 'transform': "none",
1614
+ 'mask-from': "100% 100%",
1615
+ ), leave: (
1616
+ 'from': (
1617
+ 'translate': "0px 0px",
1618
+ 'mask-size': "100% 100%",
1619
+ 'mask-image': "linear-gradient(black, black)",
1620
+ 'mask-repeat': "no-repeat",
1621
+ 'mask-position': "100% 0%",
1622
+ ),
1623
+ 'to': (
1624
+ 'translate': "-100% 100%",
1625
+ 'mask-size': "0% 0%",
1626
+ 'mask-image': "linear-gradient(black, black)",
1627
+ 'mask-repeat': "no-repeat",
1628
+ 'mask-position': "100% 0%",
1629
+ ),
1630
+ )),
1631
+ 'pocket-up-right': (enter: (
1632
+ 'from': (
1633
+ 'translate': "-100% 100%",
1634
+ 'mask-size': "0% 0%",
1635
+ 'mask-image': "linear-gradient(black, black)",
1636
+ 'mask-repeat': "no-repeat",
1637
+ 'mask-position': "100% 0%",
1638
+ ),
1639
+ 'to': (
1640
+ 'translate': "0px 0px",
1641
+ 'mask-size': "100% 100%",
1642
+ 'mask-image': "linear-gradient(black, black)",
1643
+ 'mask-repeat': "no-repeat",
1644
+ 'mask-position': "100% 0%",
1645
+ ),
1646
+ )),
1647
+ 'pocket-out-up-right': (exit: (
1648
+ 'translate': "100% -100%",
1649
+ 'scale': "1",
1650
+ 'opacity': "1",
1651
+ 'mask-image': "linear-gradient(black, black)",
1652
+ 'mask-size': "0% 0%",
1653
+ 'mask-repeat': "no-repeat",
1654
+ 'mask-position': "0% 100%",
1655
+ 'transform': "none",
1656
+ 'mask-from': "100% 100%",
1657
+ ), leave: (
1658
+ 'from': (
1659
+ 'translate': "0px 0px",
1660
+ 'mask-size': "100% 100%",
1661
+ 'mask-image': "linear-gradient(black, black)",
1662
+ 'mask-repeat': "no-repeat",
1663
+ 'mask-position': "0% 100%",
1664
+ ),
1665
+ 'to': (
1666
+ 'translate': "100% -100%",
1667
+ 'mask-size': "0% 0%",
1668
+ 'mask-image': "linear-gradient(black, black)",
1669
+ 'mask-repeat': "no-repeat",
1670
+ 'mask-position': "0% 100%",
1671
+ ),
1672
+ )),
1673
+ 'pocket-up-left': (enter: (
1674
+ 'from': (
1675
+ 'translate': "100% 100%",
1676
+ 'mask-size': "0% 0%",
1677
+ 'mask-image': "linear-gradient(black, black)",
1678
+ 'mask-repeat': "no-repeat",
1679
+ 'mask-position': "0% 0%",
1680
+ ),
1681
+ 'to': (
1682
+ 'translate': "0px 0px",
1683
+ 'mask-size': "100% 100%",
1684
+ 'mask-image': "linear-gradient(black, black)",
1685
+ 'mask-repeat': "no-repeat",
1686
+ 'mask-position': "0% 0%",
1687
+ ),
1688
+ )),
1689
+ 'pocket-out-up-left': (exit: (
1690
+ 'translate': "-100% -100%",
1691
+ 'scale': "1",
1692
+ 'opacity': "1",
1693
+ 'mask-image': "linear-gradient(black, black)",
1694
+ 'mask-size': "0% 0%",
1695
+ 'mask-repeat': "no-repeat",
1696
+ 'mask-position': "100% 100%",
1697
+ 'transform': "none",
1698
+ 'mask-from': "100% 100%",
1699
+ ), leave: (
1700
+ 'from': (
1701
+ 'translate': "0px 0px",
1702
+ 'mask-size': "100% 100%",
1703
+ 'mask-image': "linear-gradient(black, black)",
1704
+ 'mask-repeat': "no-repeat",
1705
+ 'mask-position': "100% 100%",
1706
+ ),
1707
+ 'to': (
1708
+ 'translate': "-100% -100%",
1709
+ 'mask-size': "0% 0%",
1710
+ 'mask-image': "linear-gradient(black, black)",
1711
+ 'mask-repeat': "no-repeat",
1712
+ 'mask-position': "100% 100%",
1713
+ ),
1714
+ )),
1715
+ 'flip-up': (enter: (
1716
+ 'from': (
1717
+ 'opacity': "0",
1718
+ 'transform': "perspective(800px) rotateX(75deg)",
1719
+ ),
1720
+ '50%': (
1721
+ 'opacity': "1",
1722
+ ),
1723
+ )),
1724
+ 'flip-out-up': (exit: (
1725
+ 'translate': "0px 0px",
1726
+ 'scale': "1",
1727
+ 'opacity': "0",
1728
+ 'mask-image': "none",
1729
+ 'transform': "perspective(800px) rotateX(75deg)",
1730
+ ), leave: (
1731
+ 'from': (
1732
+ 'transform': "perspective(800px) rotateX(0deg)",
1733
+ ),
1734
+ '50%': (
1735
+ 'opacity': "1",
1736
+ ),
1737
+ 'to': (
1738
+ 'opacity': "0",
1739
+ 'transform': "perspective(800px) rotateX(75deg)",
1740
+ ),
1741
+ )),
1742
+ 'flip-down': (enter: (
1743
+ 'from': (
1744
+ 'opacity': "0",
1745
+ 'transform': "perspective(800px) rotateX(-75deg)",
1746
+ ),
1747
+ '50%': (
1748
+ 'opacity': "1",
1749
+ ),
1750
+ )),
1751
+ 'flip-out-down': (exit: (
1752
+ 'translate': "0px 0px",
1753
+ 'scale': "1",
1754
+ 'opacity': "0",
1755
+ 'mask-image': "none",
1756
+ 'transform': "perspective(800px) rotateX(-75deg)",
1757
+ ), leave: (
1758
+ 'from': (
1759
+ 'transform': "perspective(800px) rotateX(0deg)",
1760
+ ),
1761
+ '50%': (
1762
+ 'opacity': "1",
1763
+ ),
1764
+ 'to': (
1765
+ 'opacity': "0",
1766
+ 'transform': "perspective(800px) rotateX(-75deg)",
1767
+ ),
1768
+ )),
1769
+ 'flip-left': (enter: (
1770
+ 'from': (
1771
+ 'opacity': "0",
1772
+ 'transform': "perspective(800px) rotateY(75deg)",
1773
+ ),
1774
+ '50%': (
1775
+ 'opacity': "1",
1776
+ ),
1777
+ )),
1778
+ 'flip-out-left': (exit: (
1779
+ 'translate': "0px 0px",
1780
+ 'scale': "1",
1781
+ 'opacity': "0",
1782
+ 'mask-image': "none",
1783
+ 'transform': "perspective(800px) rotateY(75deg)",
1784
+ ), leave: (
1785
+ 'from': (
1786
+ 'transform': "perspective(800px) rotateY(0deg)",
1787
+ ),
1788
+ '50%': (
1789
+ 'opacity': "1",
1790
+ ),
1791
+ 'to': (
1792
+ 'opacity': "0",
1793
+ 'transform': "perspective(800px) rotateY(75deg)",
1794
+ ),
1795
+ )),
1796
+ 'flip-right': (enter: (
1797
+ 'from': (
1798
+ 'opacity': "0",
1799
+ 'transform': "perspective(800px) rotateY(-75deg)",
1800
+ ),
1801
+ '50%': (
1802
+ 'opacity': "1",
1803
+ ),
1804
+ )),
1805
+ 'flip-out-right': (exit: (
1806
+ 'translate': "0px 0px",
1807
+ 'scale': "1",
1808
+ 'opacity': "0",
1809
+ 'mask-image': "none",
1810
+ 'transform': "perspective(800px) rotateY(-75deg)",
1811
+ ), leave: (
1812
+ 'from': (
1813
+ 'transform': "perspective(800px) rotateY(0deg)",
1814
+ ),
1815
+ '50%': (
1816
+ 'opacity': "1",
1817
+ ),
1818
+ 'to': (
1819
+ 'opacity': "0",
1820
+ 'transform': "perspective(800px) rotateY(-75deg)",
1821
+ ),
1822
+ )),
1823
+ 'depth-in': (enter: (
1824
+ 'from': (
1825
+ 'opacity': "0",
1826
+ 'transform': "perspective(800px) translateZ(-240px)",
1827
+ ),
1828
+ '60%': (
1829
+ 'opacity': "1",
1830
+ ),
1831
+ )),
1832
+ 'depth-out': (exit: (
1833
+ 'translate': "0px 0px",
1834
+ 'scale': "1",
1835
+ 'opacity': "0",
1836
+ 'mask-image': "none",
1837
+ 'transform': "perspective(800px) translateZ(-240px)",
1838
+ ), leave: (
1839
+ 'from': (
1840
+ 'transform': "perspective(800px) translateZ(0px)",
1841
+ ),
1842
+ '40%': (
1843
+ 'opacity': "1",
1844
+ ),
1845
+ 'to': (
1846
+ 'opacity': "0",
1847
+ 'transform': "perspective(800px) translateZ(-240px)",
1848
+ ),
1849
+ )),
1850
+ 'swing-in': (enter: (
1851
+ 'from': (
1852
+ 'opacity': "0",
1853
+ 'transform': "perspective(800px) rotateX(-80deg)",
1854
+ 'transform-origin': "50% 0%",
1855
+ ),
1856
+ '50%': (
1857
+ 'opacity': "1",
1858
+ ),
1859
+ )),
1860
+ 'swing-out': (exit: (
1861
+ 'translate': "0px 0px",
1862
+ 'scale': "1",
1863
+ 'opacity': "0",
1864
+ 'mask-image': "none",
1865
+ 'transform': "perspective(800px) rotateX(-80deg)",
1866
+ 'transform-origin': "50% 0%",
1867
+ ), leave: (
1868
+ 'from': (
1869
+ 'transform': "perspective(800px) rotateX(0deg)",
1870
+ 'transform-origin': "50% 0%",
1871
+ ),
1872
+ '50%': (
1873
+ 'opacity': "1",
1874
+ ),
1875
+ 'to': (
1876
+ 'opacity': "0",
1877
+ 'transform': "perspective(800px) rotateX(-80deg)",
1878
+ 'transform-origin': "50% 0%",
1879
+ ),
1880
+ )),
1881
+ );
1882
+
1883
+ // The cascade layer order, for stylesheets that emit it themselves.
1884
+ $layer-order: 'greese.reset, greese.tokens, greese.theme, greese.base, greese.components, greese.overrides, greese.utilities';