@aurodesignsystem/design-tokens 5.0.1 → 5.0.2

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 (120) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +62 -86
  3. package/dist/{auro-classic → tokens}/CSSCustomProperties.css +312 -320
  4. package/dist/{auro-classic → tokens}/CSSSizeCustomProperties.css +1 -1
  5. package/dist/{auro-classic → tokens}/JSData--color.js +2071 -3145
  6. package/dist/{auro-classic → tokens}/JSONVariablesFlat.json +4 -12
  7. package/dist/{auro-classic → tokens}/JSONVariablesNested.json +9 -13
  8. package/dist/{auro-classic/JSObject--deprecated.js → tokens/JSObject--allTokens.js} +8777 -14655
  9. package/dist/tokens/JSObject--deprecated.js +3157 -0
  10. package/dist/{auro-classic → tokens}/JSVariables--color.js +312 -308
  11. package/dist/{auro-classic → tokens}/SCSSVariableMap.scss +1 -1
  12. package/dist/{auro-classic → tokens}/SCSSVariables.scss +312 -320
  13. package/dist/{auro-classic → tokens}/SCSSVariablesMapFlat.scss +312 -320
  14. package/dist/{auro-classic → tokens}/SassCustomProperties.scss +312 -320
  15. package/dist/{auro-classic → tokens}/SassSizeCustomProperties.scss +1 -1
  16. package/dist/tokens/base/SCSSVariables.scss +1372 -0
  17. package/dist/tokens/darkmode/CSSCustomProperties.css +28 -0
  18. package/dist/tokens/darkmode/JSDataColor.js +528 -0
  19. package/dist/tokens/darkmode/JSObject--deprecatedDark.js +528 -0
  20. package/dist/tokens/darkmode/JSVariablesColor.js +20 -0
  21. package/dist/tokens/darkmode/SCSSVariables.scss +21 -0
  22. package/dist/tokens/darkmode/SCSSVariablesMapFlat.scss +25 -0
  23. package/dist/tokens/darkmode/SassCustomProperties.scss +28 -0
  24. package/dist/tokens/excursion/JSONVariablesFlat.json +736 -0
  25. package/dist/tokens/excursion/JSONVariablesNested.json +1222 -0
  26. package/dist/tokens/hawaiian/CSSCustomProperties.css +20 -0
  27. package/dist/{transparent/CSSCustomProperties--transparent.css → tokens/transparent/CSSCustomProperties.css} +5 -1
  28. package/package.json +3 -5
  29. package/src/{themes/auro-classic/animation.json → animation.json} +3 -6
  30. package/src/{themes/auro-classic → asset}/font.json +5 -10
  31. package/src/{themes/auro-classic/color → color}/alert.json +0 -7
  32. package/src/{themes/auro-classic/color → color}/background.json +25 -53
  33. package/src/{themes/auro-classic/color → color}/base.json +147 -303
  34. package/src/{themes/auro-classic/color → color}/border.json +32 -68
  35. package/src/{themes/auro-classic/color → color}/brand.json +158 -289
  36. package/src/{themes/auro-classic/color → color}/container.json +50 -101
  37. package/src/{themes/auro-classic/color → color}/icon.json +64 -129
  38. package/src/{themes/auro-classic/color → color}/text.json +28 -58
  39. package/src/{themes/auro-classic/color → color}/tier.json +22 -43
  40. package/src/{themes/auro-classic/color → color}/ui.json +1 -12
  41. package/src/{themes/auro-classic/color → color}/utility.json +30 -60
  42. package/src/color-darkmode/base.json +24 -0
  43. package/src/color-darkmode/border.json +32 -0
  44. package/src/color-darkmode/icon.json +32 -0
  45. package/src/color-darkmode/text.json +71 -0
  46. package/src/color-darkmode/tier.json +34 -0
  47. package/src/comments.json +34 -0
  48. package/src/{themes/auro-classic/depth.json → depth.json} +4 -9
  49. package/src/{themes/auro-classic/elevation.json → elevation.json} +3 -6
  50. package/src/{themes/auro-classic/grid-breakpoint.json → grid-breakpoint.json} +5 -10
  51. package/src/{themes/auro-classic/grid-column.json → grid-column.json} +5 -10
  52. package/src/{themes/auro-classic/grid-gutter.json → grid-gutter.json} +5 -10
  53. package/src/{themes/auro-classic/grid-margin.json → grid-margin.json} +5 -10
  54. package/src/{themes/auro-classic/size → size}/radius.json +1 -2
  55. package/src/size/scale.json +240 -0
  56. package/src/size/unitless-scale.json +82 -0
  57. package/src/{themes/auro-classic/text.json → text.json} +97 -192
  58. package/src/themes/excursion/animation.json +21 -0
  59. package/src/themes/excursion/asset/font.json +35 -0
  60. package/src/themes/excursion/color/alert.json +90 -0
  61. package/src/themes/excursion/color/background.json +280 -0
  62. package/src/themes/excursion/color/base.json +1303 -0
  63. package/src/themes/excursion/color/border.json +288 -0
  64. package/src/themes/excursion/color/brand.json +1549 -0
  65. package/src/themes/excursion/color/container.json +464 -0
  66. package/src/themes/excursion/color/excursion.json +254 -0
  67. package/src/themes/excursion/color/icon.json +476 -0
  68. package/src/themes/excursion/color/text.json +270 -0
  69. package/src/themes/excursion/color/tier.json +180 -0
  70. package/src/themes/excursion/color/ui.json +125 -0
  71. package/src/themes/excursion/comments.json +34 -0
  72. package/src/themes/excursion/depth copy.json +22 -0
  73. package/src/themes/excursion/elevation.json +22 -0
  74. package/src/themes/excursion/grid-breakpoint.json +29 -0
  75. package/src/themes/excursion/grid-column.json +29 -0
  76. package/src/themes/excursion/grid-gutter.json +29 -0
  77. package/src/themes/excursion/grid-margin.json +29 -0
  78. package/src/themes/excursion/size/radius.json +9 -0
  79. package/src/themes/excursion/size/scale.json +234 -0
  80. package/src/themes/excursion/size/unitless-scale.json +82 -0
  81. package/src/themes/excursion/text.json +572 -0
  82. package/src/themes/hawaiian/color/background.json +15 -0
  83. package/src/themes/hawaiian/color/border.json +18 -0
  84. package/src/themes/hawaiian/color/container.json +56 -0
  85. package/src/themes/hawaiian/color/icon.json +24 -0
  86. package/src/themes/hawaiian/color/text.json +44 -0
  87. package/src/themes/transparent/color/alert.json +0 -7
  88. package/src/themes/transparent/color/background.json +2 -30
  89. package/src/themes/transparent/color/base.json +0 -156
  90. package/src/themes/transparent/color/border.json +0 -36
  91. package/src/themes/transparent/color/brand.json +36 -167
  92. package/src/themes/transparent/color/container.json +0 -50
  93. package/src/themes/transparent/color/icon.json +0 -65
  94. package/src/themes/transparent/color/text.json +0 -30
  95. package/src/themes/transparent/color/tier.json +1 -22
  96. package/src/themes/transparent/color/ui.json +1 -12
  97. package/src/themes/transparent/color/utility.json +0 -30
  98. package/src/themes/transparent/elevation.json +0 -3
  99. package/dist/alaska/CSSCustomProperties--alaska.css +0 -66
  100. package/dist/alaska/SCSSVariables--alaska.scss +0 -63
  101. package/dist/alaska/SCSSVariablesMapFlat--alaska.scss +0 -67
  102. package/dist/alaska/primitives--alaska.scss +0 -215
  103. package/dist/hawaiian/CSSCustomProperties--hawaiian.css +0 -66
  104. package/dist/hawaiian/SCSSVariables--hawaiian.scss +0 -63
  105. package/dist/hawaiian/SCSSVariablesMapFlat--hawaiian.scss +0 -67
  106. package/dist/hawaiian/primitives--hawaiian.scss +0 -175
  107. package/src/primitives/alaska/color.json +0 -796
  108. package/src/primitives/alaska/typography.json +0 -27
  109. package/src/primitives/base/color.json +0 -489
  110. package/src/primitives/base/transparency.json +0 -183
  111. package/src/primitives/base/typography.json +0 -210
  112. package/src/primitives/hawaiian/color.json +0 -508
  113. package/src/primitives/hawaiian/typography.json +0 -28
  114. package/src/themes/alaska/color.json +0 -394
  115. package/src/themes/alaska/typography.json +0 -132
  116. package/src/themes/auro-classic/comments.json +0 -50
  117. package/src/themes/auro-classic/size/scale.json +0 -347
  118. package/src/themes/auro-classic/size/unitless-scale.json +0 -126
  119. package/src/themes/hawaiian/color.json +0 -394
  120. package/src/themes/hawaiian/typography.json +0 -132
@@ -0,0 +1,21 @@
1
+ {
2
+ "animation": {
3
+ "default": {
4
+ "property": {
5
+ "value": "all",
6
+ "public": true,
7
+ "deprecated": false
8
+ },
9
+ "duration": {
10
+ "value": "0.3s",
11
+ "public": true,
12
+ "deprecated": false
13
+ },
14
+ "timing": {
15
+ "value": "ease-out",
16
+ "public": true,
17
+ "deprecated": false
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "asset": {
3
+ "font": {
4
+ "circular": {
5
+ "familyName": {
6
+ "value": "AS Circular",
7
+ "public": true,
8
+ "deprecated": false
9
+ },
10
+ "filename": {
11
+ "value": "ASCircularWeb",
12
+ "public": true,
13
+ "deprecated": false
14
+ },
15
+ "weight": {
16
+ "light": {
17
+ "value": "-Light",
18
+ "public": true,
19
+ "deprecated": false
20
+ },
21
+ "medium": {
22
+ "value": "-Medium",
23
+ "public": true,
24
+ "deprecated": false
25
+ },
26
+ "book": {
27
+ "value": "-Book",
28
+ "public": true,
29
+ "deprecated": false
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "color": {
3
+ "alert": {
4
+ "notification": {
5
+ "default": {
6
+ "value": "{color.brand.atlas.400.value}",
7
+ "public": true,
8
+ "default": true,
9
+ "usage": "Notification color on light backgrounds",
10
+ "wcag": "AAA",
11
+ "deprecated": true,
12
+ "version": "4.5.0",
13
+ "reference": "n/a"
14
+ }
15
+ },
16
+ "warning": {
17
+ "default": {
18
+ "value": "{color.state.warning.500.value}",
19
+ "public": true,
20
+ "default": true,
21
+ "usage": "Warning color on light backgrounds",
22
+ "wcag": "AAA",
23
+ "deprecated": true,
24
+ "version": "4.5.0",
25
+ "reference": "n/a"
26
+ }
27
+ },
28
+ "error": {
29
+ "default": {
30
+ "value": "{color.state.error.500.value}",
31
+ "public": true,
32
+ "default": true,
33
+ "usage": "Error color on light backgrounds",
34
+ "wcag": "AAA",
35
+ "deprecated": true,
36
+ "version": "4.5.0",
37
+ "reference": "n/a"
38
+ }
39
+ },
40
+ "success": {
41
+ "default": {
42
+ "value": "{color.state.success.500.value}",
43
+ "public": true,
44
+ "default": true,
45
+ "usage": "Success color on light backgrounds",
46
+ "wcag": "AAA",
47
+ "deprecated": true,
48
+ "version": "4.5.0",
49
+ "reference": "n/a"
50
+ }
51
+ },
52
+ "advisory": {
53
+ "default": {
54
+ "value": "{color.brand.goldcoast.100.value}",
55
+ "public": true,
56
+ "default": true,
57
+ "usage": "Travel advisory or system maintenance color on light backgrounds",
58
+ "wcag": "AAA",
59
+ "deprecated": true,
60
+ "version": "4.5.0",
61
+ "reference": "n/a"
62
+ }
63
+ },
64
+ "bkgSuccess": {
65
+ "default": {
66
+ "value": "DDF6E8",
67
+ "public": true,
68
+ "default": true,
69
+ "usage": "Background success color on light backgrounds",
70
+ "wcag": "AAA",
71
+ "deprecated": true,
72
+ "version": "4.5.0",
73
+ "reference": "n/a"
74
+ }
75
+ },
76
+ "bkgError": {
77
+ "default": {
78
+ "value": "FFEDF1",
79
+ "public": true,
80
+ "default": true,
81
+ "usage": "Background error color on light backgrounds",
82
+ "wcag": "AAA",
83
+ "deprecated": true,
84
+ "version": "4.5.0",
85
+ "reference": "n/a"
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,280 @@
1
+ {
2
+ "color": {
3
+ "background": {
4
+ "primary": {
5
+ "100": {
6
+ "default": {
7
+ "value": "{color.excursion.blue.100.value}",
8
+ "comment": "",
9
+ "public": true,
10
+ "usage": "",
11
+ "wcag": "n/a",
12
+ "deprecated": false
13
+ },
14
+ "inverse": {
15
+ "value": "{color.excursion.blue.700.value}",
16
+ "comment": "",
17
+ "public": true,
18
+ "usage": "",
19
+ "wcag": "n/a",
20
+ "deprecated": false
21
+ }
22
+ },
23
+ "200": {
24
+ "default": {
25
+ "value": "{color.excursion.blue.200.value}",
26
+ "comment": "",
27
+ "public": true,
28
+ "usage": "",
29
+ "wcag": "n/a",
30
+ "deprecated": false
31
+ },
32
+ "inverse": {
33
+ "value": "{color.excursion.blue.800.value}",
34
+ "comment": "",
35
+ "public": true,
36
+ "usage": "",
37
+ "wcag": "n/a",
38
+ "deprecated": false
39
+ }
40
+ },
41
+ "300": {
42
+ "default": {
43
+ "value": "{color.excursion.blue.300.value}",
44
+ "comment": "",
45
+ "public": true,
46
+ "usage": "",
47
+ "wcag": "n/a",
48
+ "deprecated": false
49
+ },
50
+ "inverse": {
51
+ "value": "{color.excursion.blue.900.value}",
52
+ "comment": "",
53
+ "public": true,
54
+ "usage": "",
55
+ "wcag": "n/a",
56
+ "deprecated": false
57
+ }
58
+ },
59
+ "400": {
60
+ "default": {
61
+ "value": "{color.excursion.grey.100.value}",
62
+ "comment": "",
63
+ "public": true,
64
+ "usage": "",
65
+ "wcag": "n/a",
66
+ "deprecated": false
67
+ },
68
+ "inverse": {
69
+ "value": "{color.excursion.grey.100.value}",
70
+ "comment": "",
71
+ "public": true,
72
+ "usage": "",
73
+ "wcag": "n/a",
74
+ "deprecated": false
75
+ }
76
+ }
77
+ },
78
+ "secondary": {
79
+ "100": {
80
+ "default": {
81
+ "value": "{color.excursion.green.100.value}",
82
+ "comment": "",
83
+ "public": true,
84
+ "usage": "",
85
+ "wcag": "n/a",
86
+ "deprecated": false
87
+ },
88
+ "inverse": {
89
+ "value": "{color.excursion.green.800.value}",
90
+ "comment": "",
91
+ "public": true,
92
+ "usage": "",
93
+ "wcag": "n/a",
94
+ "deprecated": false
95
+ }
96
+ },
97
+ "200": {
98
+ "default": {
99
+ "value": "{color.excursion.green.200.value}",
100
+ "comment": "",
101
+ "public": true,
102
+ "usage": "",
103
+ "wcag": "n/a",
104
+ "deprecated": false
105
+ },
106
+ "inverse": {
107
+ "value": "{color.excursion.green.900.value}",
108
+ "comment": "",
109
+ "public": true,
110
+ "usage": "",
111
+ "wcag": "n/a",
112
+ "deprecated": false
113
+ }
114
+ },
115
+ "300": {
116
+ "default": {
117
+ "value": "{color.excursion.green.300.value}",
118
+ "comment": "",
119
+ "public": true,
120
+ "usage": "",
121
+ "wcag": "n/a",
122
+ "deprecated": false
123
+ },
124
+ "inverse": {
125
+ "value": "{color.excursion.green.1000.value}",
126
+ "comment": "",
127
+ "public": true,
128
+ "usage": "",
129
+ "wcag": "n/a",
130
+ "deprecated": false
131
+ }
132
+ },
133
+ "400": {
134
+ "default": {
135
+ "value": "{color.excursion.grey.100.value}",
136
+ "comment": "",
137
+ "public": true,
138
+ "usage": "",
139
+ "wcag": "n/a",
140
+ "deprecated": false
141
+ },
142
+ "inverse": {
143
+ "value": "{color.excursion.grey.100.value}",
144
+ "comment": "",
145
+ "public": true,
146
+ "usage": "",
147
+ "wcag": "n/a",
148
+ "deprecated": false
149
+ }
150
+ }
151
+ },
152
+ "error": {
153
+ "default": {
154
+ "value": "{color.excursion.grey.100.value}",
155
+ "comment": "",
156
+ "public": true,
157
+ "usage": "",
158
+ "wcag": "n/a",
159
+ "deprecated": false
160
+ },
161
+ "inverse": {
162
+ "value": "{color.excursion.grey.100.value}",
163
+ "comment": "",
164
+ "public": true,
165
+ "usage": "",
166
+ "wcag": "n/a",
167
+ "deprecated": false
168
+ }
169
+ },
170
+ "success": {
171
+ "default": {
172
+ "value": "{color.excursion.grey.100.value}",
173
+ "comment": "",
174
+ "public": true,
175
+ "usage": "",
176
+ "wcag": "n/a",
177
+ "deprecated": false
178
+ },
179
+ "inverse": {
180
+ "value": "{color.excursion.green.500.value}",
181
+ "comment": "",
182
+ "public": true,
183
+ "usage": "",
184
+ "wcag": "n/a",
185
+ "deprecated": false
186
+ }
187
+ },
188
+ "warning": {
189
+ "default": {
190
+ "value": "{color.excursion.grey.100.value}",
191
+ "comment": "",
192
+ "public": true,
193
+ "usage": "",
194
+ "wcag": "n/a",
195
+ "deprecated": false
196
+ },
197
+ "inverse": {
198
+ "value": "{color.excursion.grey.100.value}",
199
+ "comment": "",
200
+ "public": true,
201
+ "usage": "",
202
+ "wcag": "n/a",
203
+ "deprecated": false
204
+ }
205
+ },
206
+ "info": {
207
+ "default": {
208
+ "value": "{color.excursion.grey.100.value}",
209
+ "comment": "",
210
+ "public": true,
211
+ "usage": "",
212
+ "wcag": "n/a",
213
+ "deprecated": false
214
+ },
215
+ "inverse": {
216
+ "value": "{color.excursion.grey.100.value}",
217
+ "comment": "",
218
+ "public": true,
219
+ "usage": "",
220
+ "wcag": "n/a",
221
+ "deprecated": false
222
+ }
223
+ },
224
+ "accent": {
225
+ "default": {
226
+ "value": "{color.excursion.grey.100.value}",
227
+ "comment": "",
228
+ "public": true,
229
+ "usage": "",
230
+ "wcag": "n/a",
231
+ "deprecated": false
232
+ },
233
+ "inverse": {
234
+ "value": "{color.excursion.grey.100.value}",
235
+ "comment": "",
236
+ "public": true,
237
+ "usage": "",
238
+ "wcag": "n/a",
239
+ "deprecated": false
240
+ }
241
+ },
242
+ "emphasis": {
243
+ "default": {
244
+ "value": "{color.excursion.grey.100.value}",
245
+ "comment": "",
246
+ "public": true,
247
+ "usage": "",
248
+ "wcag": "n/a",
249
+ "deprecated": false
250
+ },
251
+ "inverse": {
252
+ "value": "{color.excursion.grey.100.value}",
253
+ "comment": "",
254
+ "public": true,
255
+ "usage": "",
256
+ "wcag": "n/a",
257
+ "deprecated": false
258
+ }
259
+ },
260
+ "subtle": {
261
+ "default": {
262
+ "value": "{color.excursion.grey.100.value}",
263
+ "comment": "",
264
+ "public": true,
265
+ "usage": "",
266
+ "wcag": "n/a",
267
+ "deprecated": false
268
+ },
269
+ "inverse": {
270
+ "value": "{color.excursion.grey.100.value}",
271
+ "comment": "",
272
+ "public": true,
273
+ "usage": "",
274
+ "wcag": "n/a",
275
+ "deprecated": false
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }