@telus-uds/theme-allium 3.12.0 → 3.14.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.
- package/build/android/schema.json +912 -836
- package/build/android/theme.json +327 -17
- package/build/ios/schema.json +912 -836
- package/build/ios/theme.json +327 -17
- package/build/rn/schema.json +912 -836
- package/build/rn/theme.js +136 -38
- package/package.json +5 -5
- package/theme.json +192 -40
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 07 Mar 2023 21:06:38 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -10,6 +10,8 @@ const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/Car
|
|
|
10
10
|
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
11
11
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
12
12
|
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
13
|
+
const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
|
|
14
|
+
const PaletteIconChevronRight = require('@telus-uds/palette-allium/build/rn/icons/ChevronRight')
|
|
13
15
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
14
16
|
const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
|
|
15
17
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
@@ -37,13 +39,17 @@ module.exports = {
|
|
|
37
39
|
background: {
|
|
38
40
|
description: 'Background colour of box. Transparent if not specified.',
|
|
39
41
|
values: [
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
42
|
+
'lightest', 'lighter',
|
|
43
|
+
'light', 'dark',
|
|
44
|
+
'darker', 'darkest',
|
|
45
|
+
'critical', 'danger',
|
|
46
|
+
'warning', 'positive',
|
|
47
|
+
'brand', 'white',
|
|
48
|
+
'black', 'purpleGradient',
|
|
49
|
+
'greenGradient', 'neutralGradient',
|
|
50
|
+
'brandGradient', 'featurePrimary',
|
|
51
|
+
'featureSecondary', 'featureNeutral',
|
|
52
|
+
'featureBrand'
|
|
47
53
|
]
|
|
48
54
|
}
|
|
49
55
|
},
|
|
@@ -53,8 +59,8 @@ module.exports = {
|
|
|
53
59
|
tokens: { backgroundColor: '#ffffff' }
|
|
54
60
|
},
|
|
55
61
|
{
|
|
56
|
-
if: { background: '
|
|
57
|
-
tokens: { backgroundColor: '#
|
|
62
|
+
if: { background: 'lighter' },
|
|
63
|
+
tokens: { backgroundColor: '#ffffff' }
|
|
58
64
|
},
|
|
59
65
|
{
|
|
60
66
|
if: { background: 'light' },
|
|
@@ -65,9 +71,13 @@ module.exports = {
|
|
|
65
71
|
tokens: { backgroundColor: '#414547' }
|
|
66
72
|
},
|
|
67
73
|
{
|
|
68
|
-
if: { background: '
|
|
74
|
+
if: { background: 'darker' },
|
|
69
75
|
tokens: { backgroundColor: '#2c2e30' }
|
|
70
76
|
},
|
|
77
|
+
{
|
|
78
|
+
if: { background: 'darkest' },
|
|
79
|
+
tokens: { backgroundColor: '#000000' }
|
|
80
|
+
},
|
|
71
81
|
{
|
|
72
82
|
if: { background: 'critical' },
|
|
73
83
|
tokens: { backgroundColor: '#c12335' }
|
|
@@ -88,6 +98,14 @@ module.exports = {
|
|
|
88
98
|
if: { background: 'brand' },
|
|
89
99
|
tokens: { backgroundColor: '#4b286d' }
|
|
90
100
|
},
|
|
101
|
+
{
|
|
102
|
+
if: { background: 'white' },
|
|
103
|
+
tokens: { backgroundColor: '#ffffff' }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
if: { background: 'black' },
|
|
107
|
+
tokens: { backgroundColor: '#000000' }
|
|
108
|
+
},
|
|
91
109
|
{
|
|
92
110
|
if: { background: 'brandGradient' },
|
|
93
111
|
tokens: {
|
|
@@ -143,6 +161,62 @@ module.exports = {
|
|
|
143
161
|
type: 'linear'
|
|
144
162
|
}
|
|
145
163
|
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
if: { background: 'featurePrimary' },
|
|
167
|
+
tokens: {
|
|
168
|
+
backgroundColor: null,
|
|
169
|
+
gradient: {
|
|
170
|
+
angle: 135,
|
|
171
|
+
stops: [
|
|
172
|
+
{ color: '#4b286d', stop: 0 },
|
|
173
|
+
{ color: '#e53293', stop: 1 }
|
|
174
|
+
],
|
|
175
|
+
type: 'linear'
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
if: { background: 'featureSecondary' },
|
|
181
|
+
tokens: {
|
|
182
|
+
backgroundColor: null,
|
|
183
|
+
gradient: {
|
|
184
|
+
angle: 135,
|
|
185
|
+
stops: [
|
|
186
|
+
{ color: '#00784a', stop: 0 },
|
|
187
|
+
{ color: '#66cc00', stop: 1 }
|
|
188
|
+
],
|
|
189
|
+
type: 'linear'
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
if: { background: 'featureNeutral' },
|
|
195
|
+
tokens: {
|
|
196
|
+
backgroundColor: null,
|
|
197
|
+
gradient: {
|
|
198
|
+
angle: 180,
|
|
199
|
+
stops: [
|
|
200
|
+
{ color: '#ffffff', stop: 0 },
|
|
201
|
+
{ color: '#f4f4f7', stop: 1 }
|
|
202
|
+
],
|
|
203
|
+
type: 'linear'
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
if: { background: 'featureBrand' },
|
|
209
|
+
tokens: {
|
|
210
|
+
backgroundColor: null,
|
|
211
|
+
gradient: {
|
|
212
|
+
angle: 135,
|
|
213
|
+
stops: [
|
|
214
|
+
{ color: '#4b286d', stop: 0 },
|
|
215
|
+
{ color: '#613889', stop: 1 }
|
|
216
|
+
],
|
|
217
|
+
type: 'linear'
|
|
218
|
+
}
|
|
219
|
+
}
|
|
146
220
|
}
|
|
147
221
|
],
|
|
148
222
|
tokens: { backgroundColor: null, gradient: null }
|
|
@@ -208,10 +282,6 @@ module.exports = {
|
|
|
208
282
|
color: '#ffffff'
|
|
209
283
|
}
|
|
210
284
|
},
|
|
211
|
-
{
|
|
212
|
-
if: { hover: true, priority: 'high' },
|
|
213
|
-
tokens: { backgroundColor: '#1f5c09' }
|
|
214
|
-
},
|
|
215
285
|
{
|
|
216
286
|
if: { pressed: true },
|
|
217
287
|
tokens: {
|
|
@@ -224,10 +294,6 @@ module.exports = {
|
|
|
224
294
|
if: { focus: true },
|
|
225
295
|
tokens: { outerBorderColor: '#2b8000' }
|
|
226
296
|
},
|
|
227
|
-
{
|
|
228
|
-
if: { focus: true, pressed: true },
|
|
229
|
-
tokens: { outerBorderColor: '#163e06' }
|
|
230
|
-
},
|
|
231
297
|
{
|
|
232
298
|
if: { inverse: true },
|
|
233
299
|
tokens: {
|
|
@@ -236,6 +302,14 @@ module.exports = {
|
|
|
236
302
|
color: '#ffffff'
|
|
237
303
|
}
|
|
238
304
|
},
|
|
305
|
+
{
|
|
306
|
+
if: { hover: true, priority: 'high' },
|
|
307
|
+
tokens: { backgroundColor: '#1f5c09' }
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
if: { focus: true, pressed: true },
|
|
311
|
+
tokens: { outerBorderColor: '#163e06' }
|
|
312
|
+
},
|
|
239
313
|
{
|
|
240
314
|
if: { inverse: true, priority: 'high' },
|
|
241
315
|
tokens: { backgroundColor: '#ffffff', color: '#414547' }
|
|
@@ -324,6 +398,7 @@ module.exports = {
|
|
|
324
398
|
{
|
|
325
399
|
if: { focus: true, text: true },
|
|
326
400
|
tokens: {
|
|
401
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
327
402
|
borderRadius: 0,
|
|
328
403
|
color: '#2b8000',
|
|
329
404
|
outerBorderColor: '#2b8000'
|
|
@@ -354,14 +429,6 @@ module.exports = {
|
|
|
354
429
|
textLine: 'none'
|
|
355
430
|
}
|
|
356
431
|
},
|
|
357
|
-
{
|
|
358
|
-
if: { focus: true, text: true },
|
|
359
|
-
tokens: {
|
|
360
|
-
borderColor: 'rgba(0, 0, 0, 0)',
|
|
361
|
-
color: '#2b8000',
|
|
362
|
-
outerBorderColor: '#2b8000'
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
432
|
{
|
|
366
433
|
if: { focus: true, pressed: true, text: true },
|
|
367
434
|
tokens: {
|
|
@@ -1081,28 +1148,58 @@ module.exports = {
|
|
|
1081
1148
|
CheckboxGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
|
|
1082
1149
|
ChevronLink: {
|
|
1083
1150
|
appearances: {
|
|
1151
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
1084
1152
|
hover: {
|
|
1085
1153
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1086
1154
|
platforms: [ 'rn' ],
|
|
1087
1155
|
type: 'state',
|
|
1088
1156
|
values: [ true ]
|
|
1089
1157
|
},
|
|
1158
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
1159
|
+
pressed: {
|
|
1160
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1161
|
+
type: 'state',
|
|
1162
|
+
values: [ true ]
|
|
1163
|
+
},
|
|
1090
1164
|
size: {
|
|
1091
|
-
description: 'Sets the size of the text and icon; these variants are shared with
|
|
1165
|
+
description: 'Sets the size of the text and icon; these variants are shared with ChevronLink',
|
|
1092
1166
|
type: 'variant',
|
|
1093
1167
|
values: [ 'large', 'small', 'micro' ]
|
|
1094
1168
|
}
|
|
1095
1169
|
},
|
|
1096
1170
|
rules: [
|
|
1097
|
-
{ if: { hover: true }, tokens: {
|
|
1098
|
-
{ if: {
|
|
1171
|
+
{ if: { hover: true }, tokens: { color: '#1f5c09' } },
|
|
1172
|
+
{ if: { pressed: true }, tokens: { color: '#163e06' } },
|
|
1173
|
+
{ if: { alternative: true }, tokens: { color: '#414547' } },
|
|
1174
|
+
{
|
|
1175
|
+
if: { alternative: true, hover: true },
|
|
1176
|
+
tokens: { color: '#2c2e30' }
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
if: { alternative: true, pressed: true },
|
|
1180
|
+
tokens: { color: '#2c2e30' }
|
|
1181
|
+
},
|
|
1182
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
1183
|
+
{
|
|
1184
|
+
if: { hover: true, inverse: true },
|
|
1185
|
+
tokens: { color: '#f4f4f7' }
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
if: { inverse: true, pressed: true },
|
|
1189
|
+
tokens: { color: '#e3e6e8' }
|
|
1190
|
+
},
|
|
1191
|
+
{ if: { size: 'large' }, tokens: { iconSize: 20 } },
|
|
1192
|
+
{ if: { size: 'small' }, tokens: { iconSize: 14 } },
|
|
1193
|
+
{ if: { size: 'micro' }, tokens: { iconSize: 12 } }
|
|
1099
1194
|
],
|
|
1100
1195
|
tokens: {
|
|
1196
|
+
color: '#2b8000',
|
|
1101
1197
|
iconDisplace: 0,
|
|
1102
|
-
iconSize:
|
|
1198
|
+
iconSize: 24,
|
|
1103
1199
|
iconSpace: 1,
|
|
1104
|
-
leftIcon:
|
|
1105
|
-
|
|
1200
|
+
leftIcon: PaletteIconChevronLeft,
|
|
1201
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1202
|
+
rightIcon: PaletteIconChevronRight,
|
|
1106
1203
|
textLine: 'none'
|
|
1107
1204
|
}
|
|
1108
1205
|
},
|
|
@@ -1307,7 +1404,7 @@ module.exports = {
|
|
|
1307
1404
|
{ if: { color: 'brand' }, tokens: { color: '#4b286d' } },
|
|
1308
1405
|
{ if: { color: 'default' }, tokens: { color: '#414547' } },
|
|
1309
1406
|
{ if: { color: 'subtle' }, tokens: { color: '#676e73' } },
|
|
1310
|
-
{ if: { color: 'success' }, tokens: { color: '#
|
|
1407
|
+
{ if: { color: 'success' }, tokens: { color: '#2b8000' } },
|
|
1311
1408
|
{ if: { color: 'danger' }, tokens: { color: '#c12335' } },
|
|
1312
1409
|
{ if: { color: 'warning' }, tokens: { color: '#b4872c' } },
|
|
1313
1410
|
{ if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
|
|
@@ -4020,9 +4117,9 @@ module.exports = {
|
|
|
4020
4117
|
description: 'Index of the intended position on the spacing scale',
|
|
4021
4118
|
type: 'state',
|
|
4022
4119
|
values: [
|
|
4023
|
-
0,
|
|
4024
|
-
|
|
4025
|
-
|
|
4120
|
+
0, 1, 2, 3, 4, 5,
|
|
4121
|
+
6, 7, 8, 9, 10, 11,
|
|
4122
|
+
12
|
|
4026
4123
|
]
|
|
4027
4124
|
},
|
|
4028
4125
|
viewport: {
|
|
@@ -4034,6 +4131,7 @@ module.exports = {
|
|
|
4034
4131
|
rules: [
|
|
4035
4132
|
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { size: 120 } },
|
|
4036
4133
|
{ if: { space: 11 }, tokens: { size: 96 } },
|
|
4134
|
+
{ if: { space: 12 }, tokens: { size: 120 } },
|
|
4037
4135
|
{ if: { space: 10 }, tokens: { size: 80 } },
|
|
4038
4136
|
{ if: { space: 9 }, tokens: { size: 64 } },
|
|
4039
4137
|
{ if: { space: 8 }, tokens: { size: 48 } },
|
|
@@ -4073,5 +4171,5 @@ module.exports = {
|
|
|
4073
4171
|
tokens: { size: 96 }
|
|
4074
4172
|
}
|
|
4075
4173
|
},
|
|
4076
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4174
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.12.0' }
|
|
4077
4175
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.10.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.6.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.10.2",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.12.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.4"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.10.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.10.2"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -30,20 +30,27 @@
|
|
|
30
30
|
"background": {
|
|
31
31
|
"description": "Background colour of box. Transparent if not specified.",
|
|
32
32
|
"values": [
|
|
33
|
-
"light",
|
|
34
33
|
"lightest",
|
|
34
|
+
"lighter",
|
|
35
|
+
"light",
|
|
35
36
|
"dark",
|
|
37
|
+
"darker",
|
|
36
38
|
"darkest",
|
|
37
39
|
"critical",
|
|
38
40
|
"danger",
|
|
39
41
|
"warning",
|
|
40
42
|
"positive",
|
|
41
43
|
"brand",
|
|
44
|
+
"white",
|
|
42
45
|
"black",
|
|
43
|
-
"
|
|
46
|
+
"purpleGradient",
|
|
44
47
|
"greenGradient",
|
|
45
48
|
"neutralGradient",
|
|
46
|
-
"
|
|
49
|
+
"brandGradient",
|
|
50
|
+
"featurePrimary",
|
|
51
|
+
"featureSecondary",
|
|
52
|
+
"featureNeutral",
|
|
53
|
+
"featureBrand"
|
|
47
54
|
]
|
|
48
55
|
}
|
|
49
56
|
},
|
|
@@ -58,10 +65,10 @@
|
|
|
58
65
|
},
|
|
59
66
|
{
|
|
60
67
|
"if": {
|
|
61
|
-
"background": "
|
|
68
|
+
"background": "lighter"
|
|
62
69
|
},
|
|
63
70
|
"tokens": {
|
|
64
|
-
"backgroundColor": "{palette.color.
|
|
71
|
+
"backgroundColor": "{palette.color.white}"
|
|
65
72
|
}
|
|
66
73
|
},
|
|
67
74
|
{
|
|
@@ -82,12 +89,20 @@
|
|
|
82
89
|
},
|
|
83
90
|
{
|
|
84
91
|
"if": {
|
|
85
|
-
"background": "
|
|
92
|
+
"background": "darker"
|
|
86
93
|
},
|
|
87
94
|
"tokens": {
|
|
88
95
|
"backgroundColor": "{palette.color.greyThunder}"
|
|
89
96
|
}
|
|
90
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"if": {
|
|
100
|
+
"background": "darkest"
|
|
101
|
+
},
|
|
102
|
+
"tokens": {
|
|
103
|
+
"backgroundColor": "{palette.color.black}"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
91
106
|
{
|
|
92
107
|
"if": {
|
|
93
108
|
"background": "critical"
|
|
@@ -128,6 +143,22 @@
|
|
|
128
143
|
"backgroundColor": "{palette.color.purpleTelus}"
|
|
129
144
|
}
|
|
130
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"if": {
|
|
148
|
+
"background": "white"
|
|
149
|
+
},
|
|
150
|
+
"tokens": {
|
|
151
|
+
"backgroundColor": "{palette.color.white}"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"if": {
|
|
156
|
+
"background": "black"
|
|
157
|
+
},
|
|
158
|
+
"tokens": {
|
|
159
|
+
"backgroundColor": "{palette.color.black}"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
131
162
|
{
|
|
132
163
|
"if": {
|
|
133
164
|
"background": "brandGradient"
|
|
@@ -163,6 +194,42 @@
|
|
|
163
194
|
"backgroundColor": "{system.color.none}",
|
|
164
195
|
"gradient": "{palette.gradient.purple}"
|
|
165
196
|
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"if": {
|
|
200
|
+
"background": "featurePrimary"
|
|
201
|
+
},
|
|
202
|
+
"tokens": {
|
|
203
|
+
"backgroundColor": "{system.color.none}",
|
|
204
|
+
"gradient": "{palette.gradient.purple}"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"if": {
|
|
209
|
+
"background": "featureSecondary"
|
|
210
|
+
},
|
|
211
|
+
"tokens": {
|
|
212
|
+
"backgroundColor": "{system.color.none}",
|
|
213
|
+
"gradient": "{palette.gradient.green}"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"if": {
|
|
218
|
+
"background": "featureNeutral"
|
|
219
|
+
},
|
|
220
|
+
"tokens": {
|
|
221
|
+
"backgroundColor": "{system.color.none}",
|
|
222
|
+
"gradient": "{palette.gradient.neutral}"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"if": {
|
|
227
|
+
"background": "featureBrand"
|
|
228
|
+
},
|
|
229
|
+
"tokens": {
|
|
230
|
+
"backgroundColor": "{system.color.none}",
|
|
231
|
+
"gradient": "{palette.gradient.brand}"
|
|
232
|
+
}
|
|
166
233
|
}
|
|
167
234
|
],
|
|
168
235
|
"tokens": {
|
|
@@ -225,15 +292,6 @@
|
|
|
225
292
|
"color": "{palette.color.white}"
|
|
226
293
|
}
|
|
227
294
|
},
|
|
228
|
-
{
|
|
229
|
-
"if": {
|
|
230
|
-
"hover": true,
|
|
231
|
-
"priority": "high"
|
|
232
|
-
},
|
|
233
|
-
"tokens": {
|
|
234
|
-
"backgroundColor": "{palette.color.greenSanFelix}"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
295
|
{
|
|
238
296
|
"if": {
|
|
239
297
|
"pressed": true
|
|
@@ -254,21 +312,30 @@
|
|
|
254
312
|
},
|
|
255
313
|
{
|
|
256
314
|
"if": {
|
|
257
|
-
"
|
|
258
|
-
"pressed": true
|
|
315
|
+
"inverse": true
|
|
259
316
|
},
|
|
260
317
|
"tokens": {
|
|
261
|
-
"
|
|
318
|
+
"backgroundColor": "{system.color.none}",
|
|
319
|
+
"borderColor": "{palette.color.white}",
|
|
320
|
+
"color": "{palette.color.white}"
|
|
262
321
|
}
|
|
263
322
|
},
|
|
264
323
|
{
|
|
265
324
|
"if": {
|
|
266
|
-
"
|
|
325
|
+
"hover": true,
|
|
326
|
+
"priority": "high"
|
|
267
327
|
},
|
|
268
328
|
"tokens": {
|
|
269
|
-
"backgroundColor": "{
|
|
270
|
-
|
|
271
|
-
|
|
329
|
+
"backgroundColor": "{palette.color.greenSanFelix}"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"if": {
|
|
334
|
+
"focus": true,
|
|
335
|
+
"pressed": true
|
|
336
|
+
},
|
|
337
|
+
"tokens": {
|
|
338
|
+
"outerBorderColor": "{palette.color.greenDarkFern}"
|
|
272
339
|
}
|
|
273
340
|
},
|
|
274
341
|
{
|
|
@@ -449,6 +516,7 @@
|
|
|
449
516
|
"text": true
|
|
450
517
|
},
|
|
451
518
|
"tokens": {
|
|
519
|
+
"borderColor": "{palette.color.transparent}",
|
|
452
520
|
"borderRadius": "{palette.radius.none}",
|
|
453
521
|
"color": "{palette.color.greenAccessible}",
|
|
454
522
|
"outerBorderColor": "{palette.color.greenAccessible}"
|
|
@@ -506,17 +574,6 @@
|
|
|
506
574
|
"textLine": "{system.textLine.none}"
|
|
507
575
|
}
|
|
508
576
|
},
|
|
509
|
-
{
|
|
510
|
-
"if": {
|
|
511
|
-
"focus": true,
|
|
512
|
-
"text": true
|
|
513
|
-
},
|
|
514
|
-
"tokens": {
|
|
515
|
-
"borderColor": "{palette.color.transparent}",
|
|
516
|
-
"color": "{palette.color.greenAccessible}",
|
|
517
|
-
"outerBorderColor": "{palette.color.greenAccessible}"
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
577
|
{
|
|
521
578
|
"if": {
|
|
522
579
|
"focus": true,
|
|
@@ -1354,9 +1411,18 @@
|
|
|
1354
1411
|
},
|
|
1355
1412
|
"ChevronLink": {
|
|
1356
1413
|
"appearances": {
|
|
1414
|
+
"alternative": {
|
|
1415
|
+
"type": "variant",
|
|
1416
|
+
"values": [true]
|
|
1417
|
+
},
|
|
1357
1418
|
"hover": "{appearances.ChevronLink.hover}",
|
|
1419
|
+
"inverse": {
|
|
1420
|
+
"type": "variant",
|
|
1421
|
+
"values": [true]
|
|
1422
|
+
},
|
|
1423
|
+
"pressed": "{appearances.ChevronLink.pressed}",
|
|
1358
1424
|
"size": {
|
|
1359
|
-
"description": "Sets the size of the text and icon; these variants are shared with
|
|
1425
|
+
"description": "Sets the size of the text and icon; these variants are shared with ChevronLink",
|
|
1360
1426
|
"type": "variant",
|
|
1361
1427
|
"values": ["large", "small", "micro"]
|
|
1362
1428
|
}
|
|
@@ -1367,7 +1433,67 @@
|
|
|
1367
1433
|
"hover": true
|
|
1368
1434
|
},
|
|
1369
1435
|
"tokens": {
|
|
1370
|
-
"
|
|
1436
|
+
"color": "{palette.color.greenSanFelix}"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"if": {
|
|
1441
|
+
"pressed": true
|
|
1442
|
+
},
|
|
1443
|
+
"tokens": {
|
|
1444
|
+
"color": "{palette.color.greenDarkFern}"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"if": {
|
|
1449
|
+
"alternative": true
|
|
1450
|
+
},
|
|
1451
|
+
"tokens": {
|
|
1452
|
+
"color": "{palette.color.greyCharcoal}"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"if": {
|
|
1457
|
+
"alternative": true,
|
|
1458
|
+
"hover": true
|
|
1459
|
+
},
|
|
1460
|
+
"tokens": {
|
|
1461
|
+
"color": "{palette.color.greyThunder}"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"if": {
|
|
1466
|
+
"alternative": true,
|
|
1467
|
+
"pressed": true
|
|
1468
|
+
},
|
|
1469
|
+
"tokens": {
|
|
1470
|
+
"color": "{palette.color.greyThunder}"
|
|
1471
|
+
}
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"if": {
|
|
1475
|
+
"inverse": true
|
|
1476
|
+
},
|
|
1477
|
+
"tokens": {
|
|
1478
|
+
"color": "{palette.color.white}"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"if": {
|
|
1483
|
+
"hover": true,
|
|
1484
|
+
"inverse": true
|
|
1485
|
+
},
|
|
1486
|
+
"tokens": {
|
|
1487
|
+
"color": "{palette.color.greyAthens}"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"if": {
|
|
1492
|
+
"inverse": true,
|
|
1493
|
+
"pressed": true
|
|
1494
|
+
},
|
|
1495
|
+
"tokens": {
|
|
1496
|
+
"color": "{palette.color.greyMystic}"
|
|
1371
1497
|
}
|
|
1372
1498
|
},
|
|
1373
1499
|
{
|
|
@@ -1375,16 +1501,34 @@
|
|
|
1375
1501
|
"size": "large"
|
|
1376
1502
|
},
|
|
1377
1503
|
"tokens": {
|
|
1378
|
-
"iconSize": "{palette.size.
|
|
1504
|
+
"iconSize": "{palette.size.size20}"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"if": {
|
|
1509
|
+
"size": "small"
|
|
1510
|
+
},
|
|
1511
|
+
"tokens": {
|
|
1512
|
+
"iconSize": "{palette.size.size14}"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"if": {
|
|
1517
|
+
"size": "micro"
|
|
1518
|
+
},
|
|
1519
|
+
"tokens": {
|
|
1520
|
+
"iconSize": "{palette.size.size12}"
|
|
1379
1521
|
}
|
|
1380
1522
|
}
|
|
1381
1523
|
],
|
|
1382
1524
|
"tokens": {
|
|
1525
|
+
"color": "{palette.color.greenAccessible}",
|
|
1383
1526
|
"iconDisplace": "{palette.size.size0}",
|
|
1384
|
-
"iconSize": "{palette.size.
|
|
1527
|
+
"iconSize": "{palette.size.size24}",
|
|
1385
1528
|
"iconSpace": "{system.integer.1}",
|
|
1386
|
-
"leftIcon": "{palette.icon.
|
|
1387
|
-
"
|
|
1529
|
+
"leftIcon": "{palette.icon.ChevronLeft}",
|
|
1530
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
1531
|
+
"rightIcon": "{palette.icon.ChevronRight}",
|
|
1388
1532
|
"textLine": "{system.textLine.none}"
|
|
1389
1533
|
}
|
|
1390
1534
|
},
|
|
@@ -1672,7 +1816,7 @@
|
|
|
1672
1816
|
"color": "success"
|
|
1673
1817
|
},
|
|
1674
1818
|
"tokens": {
|
|
1675
|
-
"color": "{palette.color.
|
|
1819
|
+
"color": "{palette.color.greenAccessible}"
|
|
1676
1820
|
}
|
|
1677
1821
|
},
|
|
1678
1822
|
{
|
|
@@ -4968,6 +5112,14 @@
|
|
|
4968
5112
|
"size": "{palette.size.size96}"
|
|
4969
5113
|
}
|
|
4970
5114
|
},
|
|
5115
|
+
{
|
|
5116
|
+
"if": {
|
|
5117
|
+
"space": 12
|
|
5118
|
+
},
|
|
5119
|
+
"tokens": {
|
|
5120
|
+
"size": "{palette.size.size120}"
|
|
5121
|
+
}
|
|
5122
|
+
},
|
|
4971
5123
|
{
|
|
4972
5124
|
"if": {
|
|
4973
5125
|
"space": 10
|