@servicetitan/hammer-token 2.1.1 → 2.2.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 (51) hide show
  1. package/.turbo/turbo-build.log +4 -1
  2. package/CHANGELOG.md +14 -0
  3. package/build/web/core/component-variables.scss +139 -0
  4. package/build/web/core/component.js +645 -0
  5. package/build/web/core/component.scss +69 -0
  6. package/build/web/core/css-utils/border.css +45 -29
  7. package/build/web/core/css-utils/color.css +219 -103
  8. package/build/web/core/css-utils/font.css +45 -43
  9. package/build/web/core/css-utils/spacing.css +71 -1
  10. package/build/web/core/css-utils/utils.css +562 -368
  11. package/build/web/core/index.js +2 -1
  12. package/build/web/core/raw.js +28 -24
  13. package/build/web/core/semantic-variables.scss +28 -24
  14. package/build/web/core/semantic.js +44 -24
  15. package/build/web/core/semantic.scss +13 -11
  16. package/config.js +97 -23
  17. package/package.json +3 -2
  18. package/src/global/primitive/breakpoint.js +19 -0
  19. package/src/global/primitive/color.js +231 -0
  20. package/src/global/primitive/duration.js +16 -0
  21. package/src/global/primitive/font.js +60 -0
  22. package/src/global/primitive/radius.js +31 -0
  23. package/src/global/primitive/size.js +55 -0
  24. package/src/global/primitive/transition.js +16 -0
  25. package/src/theme/core/background.js +148 -0
  26. package/src/theme/core/border.js +93 -0
  27. package/src/theme/core/component/button.js +708 -0
  28. package/src/theme/core/component/checkbox.js +405 -0
  29. package/src/theme/core/focus.js +35 -0
  30. package/src/theme/core/foreground.js +148 -0
  31. package/src/theme/core/overlay.js +137 -0
  32. package/src/theme/core/shadow.js +29 -0
  33. package/src/theme/core/status.js +49 -0
  34. package/src/theme/core/typography.js +82 -0
  35. package/src/utils/css-utils-format-utils.js +104 -34
  36. package/type/types.ts +75 -0
  37. package/src/global/primitive/breakpoint.json +0 -19
  38. package/src/global/primitive/color.json +0 -231
  39. package/src/global/primitive/duration.json +0 -16
  40. package/src/global/primitive/font.json +0 -60
  41. package/src/global/primitive/radius.json +0 -31
  42. package/src/global/primitive/size.json +0 -55
  43. package/src/global/primitive/transition.json +0 -16
  44. package/src/theme/core/background.json +0 -144
  45. package/src/theme/core/border.json +0 -87
  46. package/src/theme/core/focus.json +0 -31
  47. package/src/theme/core/foreground.json +0 -132
  48. package/src/theme/core/overlay.json +0 -134
  49. package/src/theme/core/shadow.json +0 -25
  50. package/src/theme/core/status.json +0 -46
  51. package/src/theme/core/typography.json +0 -79
@@ -0,0 +1,29 @@
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ const { color } = require("../../global/primitive/color");
3
+ const { size } = require("../../global/primitive/size");
4
+
5
+ module.exports = {
6
+ shadow: {
7
+ color: {
8
+ value: `${color.neutral["400"].value}14`,
9
+ attributes: {
10
+ appearance: {
11
+ dark: {
12
+ value: `${color.neutral["0"].value}14`,
13
+ },
14
+ },
15
+ },
16
+ },
17
+ size: {
18
+ flat: {
19
+ value: `${size["0"].value} ${size["0"].value} ${size["0"].value}`,
20
+ },
21
+ float: {
22
+ value: `${size["0"].value} ${size.half.value} ${size["2"].value}`,
23
+ },
24
+ overlay: {
25
+ value: `${size["0"].value} ${size["2"].value} ${size["6"].value}`,
26
+ },
27
+ },
28
+ },
29
+ };
@@ -0,0 +1,49 @@
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ const { color } = require("../../global/primitive/color");
3
+
4
+ module.exports = {
5
+ status: {
6
+ color: {
7
+ info: {
8
+ value: color.blue["500"].value,
9
+ attributes: {
10
+ appearance: {
11
+ dark: {
12
+ value: color.blue["300"].value,
13
+ },
14
+ },
15
+ },
16
+ },
17
+ danger: {
18
+ value: color.red["500"].value,
19
+ attributes: {
20
+ appearance: {
21
+ dark: {
22
+ value: color.red["300"].value,
23
+ },
24
+ },
25
+ },
26
+ },
27
+ success: {
28
+ value: color.green["500"].value,
29
+ attributes: {
30
+ appearance: {
31
+ dark: {
32
+ value: color.green["300"].value,
33
+ },
34
+ },
35
+ },
36
+ },
37
+ warning: {
38
+ value: color.yellow["500"].value,
39
+ attributes: {
40
+ appearance: {
41
+ dark: {
42
+ value: color.yellow["300"].value,
43
+ },
44
+ },
45
+ },
46
+ },
47
+ },
48
+ },
49
+ };
@@ -0,0 +1,82 @@
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ const { font } = require("../../global/primitive/font");
3
+
4
+ module.exports = {
5
+ typography: {
6
+ paragraph: {
7
+ size: {
8
+ xsmall: {
9
+ value: font.size["200"].value,
10
+ },
11
+ small: {
12
+ value: font.size["300"].value,
13
+ },
14
+ default: {
15
+ value: font.size["400"].value,
16
+ },
17
+ large: {
18
+ value: font.size["500"].value,
19
+ },
20
+ xlarge: {
21
+ value: font.size["600"].value,
22
+ },
23
+ },
24
+ "font-weight": {
25
+ value: font.weight.normal.value,
26
+ },
27
+ "font-family": {
28
+ value: font.family.base.value,
29
+ },
30
+ },
31
+ heading: {
32
+ size: {
33
+ xsmall: {
34
+ value: font.size["300"].value,
35
+ },
36
+ small: {
37
+ value: font.size["400"].value,
38
+ },
39
+ default: {
40
+ value: font.size["500"].value,
41
+ },
42
+ large: {
43
+ value: font.size["600"].value,
44
+ },
45
+ xlarge: {
46
+ value: font.size["800"].value,
47
+ },
48
+ },
49
+ "font-weight": {
50
+ value: font.weight.bold.value,
51
+ },
52
+ "font-family": {
53
+ value: font.family.display.value,
54
+ },
55
+ },
56
+ label: {
57
+ size: {
58
+ xsmall: {
59
+ value: font.size["100"].value,
60
+ },
61
+ small: {
62
+ value: font.size["200"].value,
63
+ },
64
+ default: {
65
+ value: font.size["300"].value,
66
+ },
67
+ large: {
68
+ value: font.size["400"].value,
69
+ },
70
+ xlarge: {
71
+ value: font.size["500"].value,
72
+ },
73
+ },
74
+ "font-weight": {
75
+ value: font.weight.semibold.value,
76
+ },
77
+ "font-family": {
78
+ value: font.family.base.value,
79
+ },
80
+ },
81
+ },
82
+ };
@@ -1,8 +1,10 @@
1
1
  const cssUtilsFormatter = (dictionary, generateFn, hasDarkValues) => {
2
2
  const result = dictionary.allTokens
3
+ .filter((token) => token.name.includes("color"))
3
4
  .map((token) => {
4
5
  let value = getVarValue(dictionary, token);
5
6
  const name = `${token.name.replace("Default", "")}`;
7
+
6
8
  if (hasDarkValues && token.attributes.appearance) {
7
9
  const darkValue = getVarValue(dictionary, token, true);
8
10
  return generateFn(name, value, darkValue);
@@ -14,12 +16,37 @@ const cssUtilsFormatter = (dictionary, generateFn, hasDarkValues) => {
14
16
  .sort((a, b) => a.localeCompare(b))
15
17
  .join(`\n`);
16
18
 
19
+ const fallback = dictionary.allTokens
20
+ .map((token) => {
21
+ let value = getVarValue(dictionary, token);
22
+ const name = `${token.name.replace("Default", "")}`;
23
+ return generateFn(name, value);
24
+ })
25
+ .flat()
26
+ .map((t) => `${t}`)
27
+ .sort((a, b) => a.localeCompare(b))
28
+ .join(`\n`);
29
+
17
30
  return `@layer starter, reset, base, state, application;
18
-
19
- ${result}
20
31
 
21
- @layer application {
32
+ ${fallback}
33
+ ${
34
+ result.length > 0
35
+ ? `\n@supports (color: light-dark(#fff, #000)) {
22
36
  ${result.replaceAll("\n", "\n ")}
37
+ }`
38
+ : ""
39
+ }
40
+
41
+ @layer application {
42
+ ${fallback.replaceAll("\n", "\n ")}
43
+ ${
44
+ result.length > 0
45
+ ? `\n @supports (color: light-dark(#fff, #000)) {
46
+ ${result.replaceAll("\n", "\n ")}
47
+ }`
48
+ : ""
49
+ }
23
50
  }`;
24
51
  };
25
52
 
@@ -76,53 +103,94 @@ const getVarValue = (dictionary, token, isDarkValue) => {
76
103
  return value.replaceAll('"', "");
77
104
  };
78
105
 
106
+ const removeDefaultFromName = (name) => {
107
+ return name.replace("-default", "");
108
+ };
109
+
79
110
  const generateBorderClasses = (name, value, darkValue) => {
80
111
  const classes = [];
81
112
 
82
113
  if (name.startsWith("border-radius")) {
83
- classes.push(`.${name} {border-radius: ${value}}`);
114
+ classes.push(
115
+ `.${name} {border-radius: var(--${removeDefaultFromName(name)}, ${value})}`,
116
+ );
84
117
  } else if (name.startsWith("border-width")) {
85
- classes.push(`.${name} {border-width: ${value}}`);
118
+ classes.push(
119
+ `.${name} {border-width: var(--${removeDefaultFromName(name)}, ${value})}`,
120
+ );
86
121
  } else if (name.startsWith("border-color")) {
87
- classes.push(`.${name} {border-color: light-dark(${value}, ${darkValue})}`);
122
+ if (darkValue) {
123
+ classes.push(
124
+ `.${name} {border-color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
125
+ );
126
+ } else {
127
+ classes.push(
128
+ `.${name} {border-color: var(--${removeDefaultFromName(name)}, ${value})}`,
129
+ );
130
+ }
88
131
  }
89
-
90
132
  return classes;
91
133
  };
92
134
 
93
135
  const generateColorClasses = (name, value, darkValue) => {
94
136
  const classes = [];
95
137
 
96
- if (name.startsWith("background-color")) {
97
- classes.push(
98
- `.${name.replace("background-color", "bg")} {background-color: light-dark(${value}, ${darkValue})}`,
99
- );
100
- } else if (name.startsWith("foreground-color")) {
101
- classes.push(
102
- `.${name.replace("foreground-color", "c")} {color: light-dark(${value}, ${darkValue})}`,
103
- );
104
- } else if (name.startsWith("overlay-color")) {
105
- classes.push(
106
- `.${name.replace("overlay-color", "bg-overlay")} {background-color: light-dark(${value}, ${darkValue})}`,
107
- );
108
- // primitives
109
- // } else if (name.startsWith("color")) {
110
- // classes.push(
111
- // `.${name.replace("color", "c")} {color: ${value}}`,
112
- // `.${name.replace("color", "bg")} {background-color: ${value}}`,
113
- // );
114
- } else if (name.startsWith("status-color")) {
115
- classes.push(
116
- `.${name.replace("status-color", "c-status")} {color: light-dark(${value}, ${darkValue})}`,
117
- `.${name.replace("status-color", "bg-status")} {background-color: light-dark(${value}, ${darkValue})}`,
118
- );
119
- if (!name.includes("danger")) {
138
+ if (darkValue) {
139
+ if (name.startsWith("background-color")) {
140
+ classes.push(
141
+ `.${name.replace("background-color", "bg")} {background-color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
142
+ );
143
+ } else if (name.startsWith("foreground-color")) {
144
+ classes.push(
145
+ `.${name.replace("foreground-color", "c")} {color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
146
+ );
147
+ } else if (name.startsWith("overlay-color")) {
148
+ classes.push(
149
+ `.${name.replace("overlay-color", "bg-overlay")} {background-color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
150
+ );
151
+ } else if (name.startsWith("status-color")) {
152
+ classes.push(
153
+ `.${name.replace("status-color", "c-status")} {color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
154
+ `.${name.replace("status-color", "bg-status")} {background-color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
155
+ );
156
+ if (!name.includes("danger")) {
157
+ classes.push(
158
+ `.${name.replace("status-color", "border-color-status")} {border-color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
159
+ );
160
+ }
161
+ } else if (name.startsWith("border-color")) {
120
162
  classes.push(
121
- `.${name.replace("status-color", "border-color-status")} {border-color: light-dark(${value}, ${darkValue})}`,
163
+ `.${name} {border-color: var(--${removeDefaultFromName(name)}, light-dark(${value}, ${darkValue}))}`,
164
+ );
165
+ }
166
+ } else {
167
+ if (name.startsWith("background-color")) {
168
+ classes.push(
169
+ `.${name.replace("background-color", "bg")} {background-color: var(--${removeDefaultFromName(name)}, ${value})}`,
170
+ );
171
+ } else if (name.startsWith("foreground-color")) {
172
+ classes.push(
173
+ `.${name.replace("foreground-color", "c")} {color: var(--${removeDefaultFromName(name)}, ${value})}`,
174
+ );
175
+ } else if (name.startsWith("overlay-color")) {
176
+ classes.push(
177
+ `.${name.replace("overlay-color", "bg-overlay")} {background-color: var(--${removeDefaultFromName(name)}, ${value})}`,
178
+ );
179
+ } else if (name.startsWith("status-color")) {
180
+ classes.push(
181
+ `.${name.replace("status-color", "c-status")} {color: var(--${removeDefaultFromName(name)}, ${value})}`,
182
+ `.${name.replace("status-color", "bg-status")} {background-color: var(--${removeDefaultFromName(name)}, ${value})}`,
183
+ );
184
+ if (!name.includes("danger")) {
185
+ classes.push(
186
+ `.${name.replace("status-color", "border-color-status")} {border-color: var(--${removeDefaultFromName(name)}, ${value})}`,
187
+ );
188
+ }
189
+ } else if (name.startsWith("border-color")) {
190
+ classes.push(
191
+ `.${name} {border-color: var(--${removeDefaultFromName(name)}, ${value})}`,
122
192
  );
123
193
  }
124
- } else if (name.startsWith("border-color")) {
125
- classes.push(`.${name} {border-color: light-dark(${value}, ${darkValue})}`);
126
194
  }
127
195
 
128
196
  return classes;
@@ -171,6 +239,8 @@ const generateSpacingClasses = (name, value) => {
171
239
  `.p-${direction}${nameWithoutPrefix} {padding-${direction}: var(--${name}, ${value})}`,
172
240
  );
173
241
  });
242
+ classes.push(`.m${nameWithoutPrefix} {margin: var(--${name}, ${value})}`);
243
+ classes.push(`.p${nameWithoutPrefix} {padding: var(--${name}, ${value})}`);
174
244
 
175
245
  return classes;
176
246
  };
package/type/types.ts CHANGED
@@ -206,9 +206,84 @@ export type Semantic = {
206
206
  TypographyLabelFontFamily: TokenObj;
207
207
  };
208
208
 
209
+ type Component = {
210
+ // Button
211
+ ButtonPrimaryForegroundColor: TokenObj;
212
+ ButtonPrimaryForegroundColorHover: TokenObj;
213
+ ButtonPrimaryForegroundColorActive: TokenObj;
214
+ ButtonPrimaryBackgroundColor: TokenObj;
215
+ ButtonPrimaryBackgroundColorHover: TokenObj;
216
+ ButtonPrimaryBackgroundColorActive: TokenObj;
217
+ ButtonPrimaryBorderColor: TokenObj;
218
+ ButtonPrimaryFocusRingColor: TokenObj;
219
+ ButtonSecondaryForegroundColor: TokenObj;
220
+ ButtonSecondaryForegroundColorHover: TokenObj;
221
+ ButtonSecondaryForegroundColorActive: TokenObj;
222
+ ButtonSecondaryBackgroundColor: TokenObj;
223
+ ButtonSecondaryBackgroundColorHover: TokenObj;
224
+ ButtonSecondaryBackgroundColorActive: TokenObj;
225
+ ButtonSecondaryBorderColor: TokenObj;
226
+ ButtonSecondaryFocusRingColor: TokenObj;
227
+ ButtonGhostForegroundColor: TokenObj;
228
+ ButtonGhostForegroundColorHover: TokenObj;
229
+ ButtonGhostForegroundColorActive: TokenObj;
230
+ ButtonGhostBackgroundColor: TokenObj;
231
+ ButtonGhostBackgroundColorHover: TokenObj;
232
+ ButtonGhostBackgroundColorActive: TokenObj;
233
+ ButtonGhostBorderColor: TokenObj;
234
+ ButtonGhostFocusRingColor: TokenObj;
235
+ ButtonDangerPrimaryForegroundColor: TokenObj;
236
+ ButtonDangerPrimaryForegroundColorHover: TokenObj;
237
+ ButtonDangerPrimaryForegroundColorActive: TokenObj;
238
+ ButtonDangerPrimaryBackgroundColor: TokenObj;
239
+ ButtonDangerPrimaryBackgroundColorHover: TokenObj;
240
+ ButtonDangerPrimaryBackgroundColorActive: TokenObj;
241
+ ButtonDangerPrimaryBorderColor: TokenObj;
242
+ ButtonDangerPrimaryFocusRingColor: TokenObj;
243
+ ButtonDangerSecondaryForegroundColor: TokenObj;
244
+ ButtonDangerSecondaryForegroundColorHover: TokenObj;
245
+ ButtonDangerSecondaryForegroundColorActive: TokenObj;
246
+ ButtonDangerSecondaryBackgroundColor: TokenObj;
247
+ ButtonDangerSecondaryBackgroundColorHover: TokenObj;
248
+ ButtonDangerSecondaryBackgroundColorActive: TokenObj;
249
+ ButtonDangerSecondaryBorderColor: TokenObj;
250
+ ButtonDangerSecondaryFocusRingColor: TokenObj;
251
+ ButtonPrimaryBorderRadius: TokenObj;
252
+ ButtonSecondaryBorderRadius: TokenObj;
253
+ ButtonGhostBorderRadius: TokenObj;
254
+ ButtonDangerPrimaryBorderRadius: TokenObj;
255
+ ButtonDangerSecondaryBorderRadius: TokenObj;
256
+
257
+ // Checkbox
258
+ CheckboxUncheckedFillColor: TokenObj;
259
+ CheckboxUncheckedFillColorHover: TokenObj;
260
+ CheckboxUncheckedFillColorActive: TokenObj;
261
+ CheckboxUncheckedBackgroundColor: TokenObj;
262
+ CheckboxUncheckedBackgroundColorHover: TokenObj;
263
+ CheckboxUncheckedBackgroundColorActive: TokenObj;
264
+ CheckboxCheckedFillColor: TokenObj;
265
+ CheckboxCheckedFillColorHover: TokenObj;
266
+ CheckboxCheckedFillColorActive: TokenObj;
267
+ CheckboxCheckedBackgroundColor: TokenObj;
268
+ CheckboxCheckedBackgroundColorHover: TokenObj;
269
+ CheckboxCheckedBackgroundColorActive: TokenObj;
270
+ CheckboxUncheckedErrorFillColor: TokenObj;
271
+ CheckboxUncheckedErrorFillColorHover: TokenObj;
272
+ CheckboxUncheckedErrorFillColorActive: TokenObj;
273
+ CheckboxUncheckedErrorBackgroundColor: TokenObj;
274
+ CheckboxUncheckedErrorBackgroundColorHover: TokenObj;
275
+ CheckboxUncheckedErrorBackgroundColorActive: TokenObj;
276
+ CheckboxCheckedErrorFillColor: TokenObj;
277
+ CheckboxCheckedErrorFillColorHover: TokenObj;
278
+ CheckboxCheckedErrorFillColorActive: TokenObj;
279
+ CheckboxCheckedErrorBackgroundColor: TokenObj;
280
+ CheckboxCheckedErrorBackgroundColorHover: TokenObj;
281
+ CheckboxCheckedErrorBackgroundColorActive: TokenObj;
282
+ };
209
283
  type Token = {
210
284
  primitive: Primitive;
211
285
  semantic: Semantic;
286
+ component: Component;
212
287
  name: string;
213
288
  };
214
289
 
@@ -1,19 +0,0 @@
1
- {
2
- "breakpoint": {
3
- "sm": {
4
- "value": "640px"
5
- },
6
- "md": {
7
- "value": "768px"
8
- },
9
- "lg": {
10
- "value": "1024px"
11
- },
12
- "xl": {
13
- "value": "1280px"
14
- },
15
- "xxl": {
16
- "value": "1536px"
17
- }
18
- }
19
- }
@@ -1,231 +0,0 @@
1
- {
2
- "color": {
3
- "blue": {
4
- "100": {
5
- "value": "#E0F2FF"
6
- },
7
- "200": {
8
- "value": "#B5DEFF"
9
- },
10
- "300": {
11
- "value": "#78BBFA"
12
- },
13
- "400": {
14
- "value": "#3892F3"
15
- },
16
- "500": {
17
- "value": "#0265DC"
18
- },
19
- "600": {
20
- "value": "#004491"
21
- }
22
- },
23
- "neutral": {
24
- "0": {
25
- "value": "#ffffff"
26
- },
27
- "10": {
28
- "value": "#fcfcfc"
29
- },
30
- "20": {
31
- "value": "#fafafa"
32
- },
33
- "30": {
34
- "value": "#f7f7f7"
35
- },
36
- "40": {
37
- "value": "#f5f5f5"
38
- },
39
- "50": {
40
- "value": "#eeeeee"
41
- },
42
- "60": {
43
- "value": "#dfe0e1"
44
- },
45
- "70": {
46
- "value": "#bcbcbd"
47
- },
48
- "80": {
49
- "value": "#949596"
50
- },
51
- "90": {
52
- "value": "#737475"
53
- },
54
- "100": {
55
- "value": "#606162"
56
- },
57
- "200": {
58
- "value": "#444445"
59
- },
60
- "300": {
61
- "value": "#2d2e31"
62
- },
63
- "400": {
64
- "value": "#141414"
65
- },
66
- "500": {
67
- "value": "#040404"
68
- }
69
- },
70
- "blue-grey": {
71
- "100": {
72
- "value": "#eaeff2"
73
- },
74
- "200": {
75
- "value": "#d0d8dd"
76
- },
77
- "300": {
78
- "value": "#b4c1c8"
79
- },
80
- "400": {
81
- "value": "#8c9ca5"
82
- },
83
- "500": {
84
- "value": "#6a7a85"
85
- },
86
- "600": {
87
- "value": "#576671"
88
- }
89
- },
90
- "orange": {
91
- "100": {
92
- "value": "#ffeccc"
93
- },
94
- "200": {
95
- "value": "#fdd291"
96
- },
97
- "300": {
98
- "value": "#ffa037"
99
- },
100
- "400": {
101
- "value": "#e46f00"
102
- },
103
- "500": {
104
- "value": "#b14c00"
105
- },
106
- "600": {
107
- "value": "#7a2f00"
108
- }
109
- },
110
- "yellow": {
111
- "100": {
112
- "value": "#fff9e2"
113
- },
114
- "200": {
115
- "value": "#fff0b1"
116
- },
117
- "300": {
118
- "value": "#ffe278"
119
- },
120
- "400": {
121
- "value": "#ffc902"
122
- },
123
- "500": {
124
- "value": "#ffbe00"
125
- },
126
- "600": {
127
- "value": "#de9500"
128
- }
129
- },
130
- "green": {
131
- "100": {
132
- "value": "#CEF8E0"
133
- },
134
- "200": {
135
- "value": "#89ECBC"
136
- },
137
- "300": {
138
- "value": "#49CC93"
139
- },
140
- "400": {
141
- "value": "#15A46E"
142
- },
143
- "500": {
144
- "value": "#007A4D"
145
- },
146
- "600": {
147
- "value": "#005132"
148
- }
149
- },
150
- "cyan": {
151
- "100": {
152
- "value": "#e3fcff"
153
- },
154
- "200": {
155
- "value": "#b1f3fa"
156
- },
157
- "300": {
158
- "value": "#13ceea"
159
- },
160
- "400": {
161
- "value": "#08bfdf"
162
- },
163
- "500": {
164
- "value": "#0ca5c0"
165
- },
166
- "600": {
167
- "value": "#038299"
168
- }
169
- },
170
- "purple": {
171
- "100": {
172
- "value": "#f1edff"
173
- },
174
- "200": {
175
- "value": "#c1b6f2"
176
- },
177
- "300": {
178
- "value": "#8772e5"
179
- },
180
- "400": {
181
- "value": "#6954c0"
182
- },
183
- "500": {
184
- "value": "#4f3a9e"
185
- },
186
- "600": {
187
- "value": "#422799"
188
- }
189
- },
190
- "red": {
191
- "100": {
192
- "value": "#ffece9"
193
- },
194
- "200": {
195
- "value": "#ffb2a0"
196
- },
197
- "300": {
198
- "value": "#ff745f"
199
- },
200
- "400": {
201
- "value": "#f94d32"
202
- },
203
- "500": {
204
- "value": "#e13212"
205
- },
206
- "600": {
207
- "value": "#bf2a00"
208
- }
209
- },
210
- "magenta": {
211
- "100": {
212
- "value": "#fbeaf5"
213
- },
214
- "200": {
215
- "value": "#faafe2"
216
- },
217
- "300": {
218
- "value": "#d949a9"
219
- },
220
- "400": {
221
- "value": "#b52d88"
222
- },
223
- "500": {
224
- "value": "#982071"
225
- },
226
- "600": {
227
- "value": "#7d165b"
228
- }
229
- }
230
- }
231
- }
@@ -1,16 +0,0 @@
1
- {
2
- "duration": {
3
- "default": {
4
- "value": "200ms"
5
- },
6
- "instant": {
7
- "value": "0ms"
8
- },
9
- "fast": {
10
- "value": "100ms"
11
- },
12
- "slow": {
13
- "value": "300ms"
14
- }
15
- }
16
- }