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