@telus-uds/theme-koodo 3.13.0 → 3.15.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 +654 -382
- package/build/android/theme.json +628 -164
- package/build/ios/schema.json +654 -382
- package/build/ios/theme.json +628 -164
- package/build/rn/schema.json +654 -382
- package/build/rn/theme.js +357 -107
- package/package.json +4 -4
- package/theme.json +536 -104
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 Thu, 23 Mar 2023 20:44:34 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -11,11 +11,14 @@ const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons
|
|
|
11
11
|
const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
|
|
12
12
|
const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
|
|
13
13
|
const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
|
|
14
|
-
const
|
|
14
|
+
const PaletteIconCaution = require('@telus-uds/palette-koodo/build/rn/icons/Caution')
|
|
15
15
|
const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
|
|
16
|
+
const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
|
|
16
17
|
const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
|
|
17
18
|
const PaletteIconSpyglass = require('@telus-uds/palette-koodo/build/rn/icons/Spyglass')
|
|
18
19
|
const PaletteIconCheckCircledNotFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledNotFilled')
|
|
20
|
+
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
21
|
+
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
19
22
|
const PaletteIconInfo = require('@telus-uds/palette-koodo/build/rn/icons/Info')
|
|
20
23
|
|
|
21
24
|
module.exports = {
|
|
@@ -31,10 +34,79 @@ module.exports = {
|
|
|
31
34
|
rules: [ { if: { size: 'large' }, tokens: { size: 48, thickness: 4 } } ],
|
|
32
35
|
tokens: { color: '#016b6a', size: 40, thickness: 4 }
|
|
33
36
|
},
|
|
37
|
+
Badge: {
|
|
38
|
+
appearances: {
|
|
39
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
40
|
+
outline: { type: 'variant', values: [ true ] },
|
|
41
|
+
purpose: { type: 'variant', values: [ 'offer', 'editorial' ] }
|
|
42
|
+
},
|
|
43
|
+
rules: [
|
|
44
|
+
{
|
|
45
|
+
if: { outline: true },
|
|
46
|
+
tokens: {
|
|
47
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
48
|
+
borderColor: '#fae6f4'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
if: { alternative: true },
|
|
53
|
+
tokens: {
|
|
54
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
55
|
+
borderColor: '#016b6a',
|
|
56
|
+
color: '#016b6a',
|
|
57
|
+
paddingBottom: 8,
|
|
58
|
+
paddingTop: 8
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
if: { purpose: 'offer' },
|
|
63
|
+
tokens: {
|
|
64
|
+
backgroundColor: '#c3efff',
|
|
65
|
+
color: '#000000',
|
|
66
|
+
paddingBottom: 8,
|
|
67
|
+
paddingTop: 8
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: { purpose: 'editorial' },
|
|
72
|
+
tokens: { backgroundColor: '#000000', color: '#ffffff' }
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
if: { outline: true, purpose: 'editorial' },
|
|
76
|
+
tokens: {
|
|
77
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
78
|
+
borderColor: '#000000',
|
|
79
|
+
color: '#000000'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
if: { outline: true, purpose: 'offer' },
|
|
84
|
+
tokens: {
|
|
85
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
86
|
+
borderColor: '#c3efff'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
tokens: {
|
|
91
|
+
backgroundColor: '#fae6f4',
|
|
92
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
93
|
+
borderRadius: 32,
|
|
94
|
+
borderWidth: 2,
|
|
95
|
+
color: '#7c1366',
|
|
96
|
+
fontName: 'StagSans',
|
|
97
|
+
fontWeight: '600',
|
|
98
|
+
gradient: null,
|
|
99
|
+
paddingBottom: 2,
|
|
100
|
+
paddingLeft: 16,
|
|
101
|
+
paddingRight: 16,
|
|
102
|
+
paddingTop: 2
|
|
103
|
+
}
|
|
104
|
+
},
|
|
34
105
|
Box: {
|
|
35
106
|
appearances: {
|
|
36
107
|
background: {
|
|
37
108
|
description: 'Background colour of box. White if not specified.',
|
|
109
|
+
type: 'variant',
|
|
38
110
|
values: [
|
|
39
111
|
'lightest', 'lighter',
|
|
40
112
|
'light', 'dark',
|
|
@@ -749,7 +821,22 @@ module.exports = {
|
|
|
749
821
|
rules: [
|
|
750
822
|
{
|
|
751
823
|
if: { focus: true },
|
|
752
|
-
tokens: { inputOutlineColor: '#
|
|
824
|
+
tokens: { inputOutlineColor: '#17367d', inputOutlineWidth: 1 }
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
if: { hover: true },
|
|
828
|
+
tokens: { inputOutlineColor: '#17367d', inputOutlineWidth: 1 }
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
if: { inactive: true },
|
|
832
|
+
tokens: {
|
|
833
|
+
inputBackgroundColor: '#c9c8c8',
|
|
834
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)'
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
if: { checked: true, inactive: true },
|
|
839
|
+
tokens: { iconBackgroundColor: '#c9c8c8', iconColor: '#ffffff' }
|
|
753
840
|
}
|
|
754
841
|
],
|
|
755
842
|
tokens: {
|
|
@@ -760,7 +847,7 @@ module.exports = {
|
|
|
760
847
|
icon: PaletteIconCheck,
|
|
761
848
|
iconBackgroundColor: '#ffffff',
|
|
762
849
|
iconColor: '#016b6a',
|
|
763
|
-
iconSize:
|
|
850
|
+
iconSize: 20,
|
|
764
851
|
inputBackgroundColor: '#ffffff',
|
|
765
852
|
inputBorderColor: '#016b6a',
|
|
766
853
|
inputBorderRadius: 0,
|
|
@@ -946,55 +1033,40 @@ module.exports = {
|
|
|
946
1033
|
}
|
|
947
1034
|
},
|
|
948
1035
|
rules: [
|
|
949
|
-
{
|
|
950
|
-
if: { validation: 'success' },
|
|
951
|
-
tokens: {
|
|
952
|
-
backgroundColor: '#c1f2e8',
|
|
953
|
-
borderColor: '#c1f2e8',
|
|
954
|
-
color: '#258b0b'
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
1036
|
{
|
|
958
1037
|
if: { validation: 'error' },
|
|
959
|
-
tokens: {
|
|
960
|
-
backgroundColor: '#fae6f4',
|
|
961
|
-
borderColor: '#fae6f4',
|
|
962
|
-
color: '#df3d0c'
|
|
963
|
-
}
|
|
1038
|
+
tokens: { backgroundColor: '#f8dde3' }
|
|
964
1039
|
},
|
|
965
1040
|
{
|
|
966
1041
|
if: { icon: true, validation: 'success' },
|
|
967
1042
|
tokens: {
|
|
968
1043
|
icon: PaletteIconCheckCircledFilled,
|
|
969
|
-
iconColor: '#
|
|
1044
|
+
iconColor: '#016b6a'
|
|
970
1045
|
}
|
|
971
1046
|
},
|
|
972
1047
|
{
|
|
973
1048
|
if: { icon: true, validation: 'error' },
|
|
974
|
-
tokens: {
|
|
975
|
-
icon: PaletteIconExclamationTriangle,
|
|
976
|
-
iconColor: '#df3d0c'
|
|
977
|
-
}
|
|
1049
|
+
tokens: { icon: PaletteIconCaution, iconColor: '#ee2c74' }
|
|
978
1050
|
}
|
|
979
1051
|
],
|
|
980
1052
|
tokens: {
|
|
981
|
-
backgroundColor: '#
|
|
982
|
-
borderColor: '
|
|
983
|
-
borderRadius:
|
|
984
|
-
borderWidth:
|
|
985
|
-
color: '#
|
|
1053
|
+
backgroundColor: '#e5f7fb',
|
|
1054
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1055
|
+
borderRadius: 0,
|
|
1056
|
+
borderWidth: 0,
|
|
1057
|
+
color: '#000000',
|
|
986
1058
|
contentFontSize: 14,
|
|
987
1059
|
fontName: 'StagSans',
|
|
988
1060
|
fontWeight: '400',
|
|
989
1061
|
icon: null,
|
|
990
1062
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
991
1063
|
iconGap: 8,
|
|
992
|
-
iconSize:
|
|
1064
|
+
iconSize: 20,
|
|
993
1065
|
lineHeight: 1.5,
|
|
994
|
-
paddingBottom:
|
|
1066
|
+
paddingBottom: 12,
|
|
995
1067
|
paddingLeft: 16,
|
|
996
1068
|
paddingRight: 16,
|
|
997
|
-
paddingTop:
|
|
1069
|
+
paddingTop: 12,
|
|
998
1070
|
space: 2,
|
|
999
1071
|
titleFontSize: 16
|
|
1000
1072
|
}
|
|
@@ -1122,13 +1194,48 @@ module.exports = {
|
|
|
1122
1194
|
type: 'state',
|
|
1123
1195
|
values: [ true ]
|
|
1124
1196
|
},
|
|
1197
|
+
password: {
|
|
1198
|
+
description: 'Password masked or not',
|
|
1199
|
+
type: 'variant',
|
|
1200
|
+
values: [ true ]
|
|
1201
|
+
},
|
|
1125
1202
|
pressed: {
|
|
1126
1203
|
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.',
|
|
1127
1204
|
type: 'state',
|
|
1128
1205
|
values: [ true ]
|
|
1129
1206
|
}
|
|
1130
1207
|
},
|
|
1131
|
-
rules: [
|
|
1208
|
+
rules: [
|
|
1209
|
+
{ if: { compact: true }, tokens: { outerBorderGap: 0 } },
|
|
1210
|
+
{
|
|
1211
|
+
if: { hover: true },
|
|
1212
|
+
tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
if: { password: true },
|
|
1216
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)' }
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
if: { password: true, pressed: true },
|
|
1220
|
+
tokens: { backgroundColor: '#014847', iconColor: '#ffffff' }
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
if: { focus: true, password: true },
|
|
1224
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3 }
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
if: { inactive: true },
|
|
1228
|
+
tokens: {
|
|
1229
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1230
|
+
borderWidth: 0,
|
|
1231
|
+
iconColor: '#ffffff'
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
if: { inactive: true, password: true },
|
|
1236
|
+
tokens: { iconColor: '#c9c8c8' }
|
|
1237
|
+
}
|
|
1238
|
+
],
|
|
1132
1239
|
tokens: {
|
|
1133
1240
|
backgroundColor: 'transparent',
|
|
1134
1241
|
borderColor: '#016b6a',
|
|
@@ -1157,15 +1264,22 @@ module.exports = {
|
|
|
1157
1264
|
gap: 8,
|
|
1158
1265
|
hintColor: '#000000',
|
|
1159
1266
|
hintFontName: 'StagSans',
|
|
1160
|
-
hintFontSize:
|
|
1267
|
+
hintFontSize: 14,
|
|
1161
1268
|
hintFontWeight: '400',
|
|
1162
|
-
hintLineHeight: 1.
|
|
1163
|
-
lineHeight: 1.
|
|
1269
|
+
hintLineHeight: 1.42857142857,
|
|
1270
|
+
lineHeight: 1.5
|
|
1164
1271
|
}
|
|
1165
1272
|
},
|
|
1166
1273
|
InputSupports: { appearances: {}, rules: [], tokens: { space: 1 } },
|
|
1167
1274
|
Link: {
|
|
1168
1275
|
appearances: {
|
|
1276
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
1277
|
+
focus: {
|
|
1278
|
+
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1279
|
+
platforms: [ 'rn' ],
|
|
1280
|
+
type: 'state',
|
|
1281
|
+
values: [ true ]
|
|
1282
|
+
},
|
|
1169
1283
|
hover: {
|
|
1170
1284
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1171
1285
|
platforms: [ 'rn' ],
|
|
@@ -1177,22 +1291,95 @@ module.exports = {
|
|
|
1177
1291
|
type: 'state',
|
|
1178
1292
|
values: [ 'left', 'right' ]
|
|
1179
1293
|
},
|
|
1180
|
-
|
|
1181
|
-
|
|
1294
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
1295
|
+
pressed: {
|
|
1296
|
+
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.',
|
|
1297
|
+
type: 'state',
|
|
1298
|
+
values: [ true ]
|
|
1299
|
+
},
|
|
1300
|
+
size: {
|
|
1301
|
+
description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
|
|
1182
1302
|
type: 'variant',
|
|
1183
|
-
values: [ '
|
|
1303
|
+
values: [ 'micro', 'small', 'large' ]
|
|
1184
1304
|
}
|
|
1185
1305
|
},
|
|
1186
1306
|
rules: [
|
|
1187
1307
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
1308
|
+
{
|
|
1309
|
+
if: { focus: true },
|
|
1310
|
+
tokens: {
|
|
1311
|
+
color: '#016b6a',
|
|
1312
|
+
outerBorderColor: '#016b6a',
|
|
1313
|
+
outerBorderOutline: 'none'
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
if: { focus: true, pressed: true },
|
|
1318
|
+
tokens: { color: '#595959', outerBorderColor: '#595959' }
|
|
1319
|
+
},
|
|
1188
1320
|
{
|
|
1189
1321
|
if: { hover: true },
|
|
1190
1322
|
tokens: { color: '#1b4746', textLine: 'none' }
|
|
1191
1323
|
},
|
|
1192
|
-
{ if: { rank: 'secondary' }, tokens: { color: '#00a1db' } },
|
|
1193
1324
|
{
|
|
1194
|
-
if: {
|
|
1195
|
-
tokens: { color: '#
|
|
1325
|
+
if: { pressed: true },
|
|
1326
|
+
tokens: { color: '#595959', textLine: 'none' }
|
|
1327
|
+
},
|
|
1328
|
+
{ if: { alternative: true }, tokens: { color: '#666666' } },
|
|
1329
|
+
{
|
|
1330
|
+
if: { alternative: true, focus: true },
|
|
1331
|
+
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
if: { alternative: true, focus: true, pressed: true },
|
|
1335
|
+
tokens: { color: '#595959', outerBorderColor: '#595959' }
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
if: { alternative: true, hover: true },
|
|
1339
|
+
tokens: { color: '#5c5c5c' }
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
if: { alternative: true, pressed: true },
|
|
1343
|
+
tokens: { color: '#595959' }
|
|
1344
|
+
},
|
|
1345
|
+
{ if: { inverse: true }, tokens: { color: '#e5f7fb' } },
|
|
1346
|
+
{
|
|
1347
|
+
if: { focus: true, inverse: true },
|
|
1348
|
+
tokens: { color: '#e5f7fb', outerBorderColor: '#e5f7fb' }
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
1352
|
+
tokens: { color: '#c9c8c8', outerBorderColor: '#c9c8c8' }
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
if: { hover: true, inverse: true },
|
|
1356
|
+
tokens: { color: '#bbeaf5' }
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
if: { inverse: true, pressed: true },
|
|
1360
|
+
tokens: { color: '#c9c8c8' }
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
if: { size: 'micro' },
|
|
1364
|
+
tokens: {
|
|
1365
|
+
blockFontName: 'StagSans',
|
|
1366
|
+
blockFontSize: 12,
|
|
1367
|
+
blockFontWeight: '600',
|
|
1368
|
+
blockLineHeight: 1.33333333333,
|
|
1369
|
+
iconSize: 16
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
if: { size: 'small' },
|
|
1374
|
+
tokens: {
|
|
1375
|
+
blockFontSize: 14,
|
|
1376
|
+
blockLineHeight: 1.42857142857,
|
|
1377
|
+
iconSize: 20
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
if: { size: 'large' },
|
|
1382
|
+
tokens: { blockFontSize: 20, blockLineHeight: 1.4, iconSize: 24 }
|
|
1196
1383
|
}
|
|
1197
1384
|
],
|
|
1198
1385
|
tokens: {
|
|
@@ -1209,9 +1396,9 @@ module.exports = {
|
|
|
1209
1396
|
iconTranslateX: 0,
|
|
1210
1397
|
iconTranslateY: 0,
|
|
1211
1398
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1212
|
-
outerBorderGap:
|
|
1399
|
+
outerBorderGap: 2,
|
|
1213
1400
|
outerBorderOutline: 'none',
|
|
1214
|
-
outerBorderWidth:
|
|
1401
|
+
outerBorderWidth: 2,
|
|
1215
1402
|
textLine: 'underline',
|
|
1216
1403
|
textLineStyle: 'solid'
|
|
1217
1404
|
}
|
|
@@ -1688,39 +1875,36 @@ module.exports = {
|
|
|
1688
1875
|
}
|
|
1689
1876
|
},
|
|
1690
1877
|
rules: [
|
|
1691
|
-
{
|
|
1692
|
-
if: { hover: true },
|
|
1693
|
-
tokens: {
|
|
1694
|
-
backgroundColor: '#1b4746',
|
|
1695
|
-
borderColor: '#1b4746',
|
|
1696
|
-
color: '#ffffff'
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1878
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
1699
1879
|
{
|
|
1700
1880
|
if: { pressed: true },
|
|
1701
1881
|
tokens: {
|
|
1702
|
-
backgroundColor: '#
|
|
1703
|
-
borderColor: '#
|
|
1704
|
-
|
|
1882
|
+
backgroundColor: '#c9c8c8',
|
|
1883
|
+
borderColor: '#666666',
|
|
1884
|
+
iconColor: '#666666'
|
|
1705
1885
|
}
|
|
1706
1886
|
},
|
|
1707
1887
|
{
|
|
1708
1888
|
if: { focus: true },
|
|
1709
|
-
tokens: { outerBorderColor: '#
|
|
1889
|
+
tokens: { outerBorderColor: '#666666' }
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
if: { focus: true, pressed: true },
|
|
1893
|
+
tokens: { borderWidth: 1, outerBorderColor: '#666666' }
|
|
1710
1894
|
}
|
|
1711
1895
|
],
|
|
1712
1896
|
tokens: {
|
|
1713
1897
|
alignSelf: 'flex-start',
|
|
1714
|
-
backgroundColor: '#
|
|
1715
|
-
borderColor: '#
|
|
1716
|
-
borderRadius:
|
|
1717
|
-
borderWidth:
|
|
1718
|
-
color: '#
|
|
1898
|
+
backgroundColor: '#ffffff',
|
|
1899
|
+
borderColor: '#666666',
|
|
1900
|
+
borderRadius: 48,
|
|
1901
|
+
borderWidth: 1,
|
|
1902
|
+
color: '#666666',
|
|
1719
1903
|
fontName: 'StagSans',
|
|
1720
1904
|
fontSize: 16,
|
|
1721
1905
|
fontWeight: '600',
|
|
1722
1906
|
icon: null,
|
|
1723
|
-
iconColor: '#
|
|
1907
|
+
iconColor: '#016b6a',
|
|
1724
1908
|
iconSize: 24,
|
|
1725
1909
|
iconSpace: 2,
|
|
1726
1910
|
lineHeight: 1.5,
|
|
@@ -1730,10 +1914,10 @@ module.exports = {
|
|
|
1730
1914
|
outerBorderColor: '#ffffff',
|
|
1731
1915
|
outerBorderGap: 2,
|
|
1732
1916
|
outerBorderWidth: 2,
|
|
1733
|
-
paddingBottom:
|
|
1917
|
+
paddingBottom: 12,
|
|
1734
1918
|
paddingLeft: 24,
|
|
1735
1919
|
paddingRight: 24,
|
|
1736
|
-
paddingTop:
|
|
1920
|
+
paddingTop: 12,
|
|
1737
1921
|
shadow: null,
|
|
1738
1922
|
textAlign: 'center',
|
|
1739
1923
|
width: null
|
|
@@ -1743,16 +1927,16 @@ module.exports = {
|
|
|
1743
1927
|
appearances: {},
|
|
1744
1928
|
rules: [],
|
|
1745
1929
|
tokens: {
|
|
1746
|
-
backgroundColor: '#
|
|
1747
|
-
borderColor:
|
|
1748
|
-
borderRadius:
|
|
1749
|
-
borderWidth:
|
|
1930
|
+
backgroundColor: '#ffffff',
|
|
1931
|
+
borderColor: '#c9c8c8',
|
|
1932
|
+
borderRadius: 8,
|
|
1933
|
+
borderWidth: 1,
|
|
1750
1934
|
flex: 1,
|
|
1751
1935
|
minWidth: null,
|
|
1752
|
-
paddingBottom:
|
|
1753
|
-
paddingLeft:
|
|
1754
|
-
paddingRight:
|
|
1755
|
-
paddingTop:
|
|
1936
|
+
paddingBottom: 8,
|
|
1937
|
+
paddingLeft: 12,
|
|
1938
|
+
paddingRight: 12,
|
|
1939
|
+
paddingTop: 8,
|
|
1756
1940
|
shadow: null
|
|
1757
1941
|
}
|
|
1758
1942
|
},
|
|
@@ -1819,36 +2003,36 @@ module.exports = {
|
|
|
1819
2003
|
}
|
|
1820
2004
|
},
|
|
1821
2005
|
rules: [
|
|
1822
|
-
{ if: { hover: true }, tokens: { backgroundColor: '#
|
|
1823
|
-
{ if: { focus: true }, tokens: { backgroundColor: '#
|
|
2006
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
|
|
2007
|
+
{ if: { focus: true }, tokens: { backgroundColor: '#efefef' } },
|
|
1824
2008
|
{
|
|
1825
2009
|
if: { pressed: true },
|
|
1826
|
-
tokens: { backgroundColor: '#
|
|
2010
|
+
tokens: { backgroundColor: '#c9c8c8', itemIconColor: '#000000' }
|
|
1827
2011
|
}
|
|
1828
2012
|
],
|
|
1829
2013
|
tokens: {
|
|
1830
2014
|
backgroundColor: null,
|
|
1831
2015
|
dividerColor: '#c9c8c8',
|
|
1832
2016
|
dividerSize: 1,
|
|
1833
|
-
iconMarginTop:
|
|
2017
|
+
iconMarginTop: 0,
|
|
1834
2018
|
interItemMargin: null,
|
|
1835
2019
|
interItemMarginWithDivider: null,
|
|
1836
2020
|
itemBulletColor: '#7c1366',
|
|
1837
2021
|
itemBulletContainerAlign: 'center',
|
|
1838
|
-
itemBulletContainerWidth:
|
|
1839
|
-
itemBulletHeight:
|
|
1840
|
-
itemBulletWidth:
|
|
2022
|
+
itemBulletContainerWidth: 0,
|
|
2023
|
+
itemBulletHeight: 0,
|
|
2024
|
+
itemBulletWidth: 0,
|
|
1841
2025
|
itemFontName: 'StagSans',
|
|
1842
2026
|
itemFontSize: 16,
|
|
1843
2027
|
itemFontWeight: '600',
|
|
1844
|
-
itemIconColor: '#
|
|
1845
|
-
itemIconSize:
|
|
1846
|
-
itemLineHeight: 1.
|
|
2028
|
+
itemIconColor: '#016b6a',
|
|
2029
|
+
itemIconSize: 24,
|
|
2030
|
+
itemLineHeight: 1.6,
|
|
1847
2031
|
listGutter: 10,
|
|
1848
|
-
paddingBottom:
|
|
1849
|
-
paddingLeft:
|
|
1850
|
-
paddingRight:
|
|
1851
|
-
paddingTop:
|
|
2032
|
+
paddingBottom: 12,
|
|
2033
|
+
paddingLeft: 4,
|
|
2034
|
+
paddingRight: 4,
|
|
2035
|
+
paddingTop: 12
|
|
1852
2036
|
}
|
|
1853
2037
|
},
|
|
1854
2038
|
Radio: {
|
|
@@ -2749,6 +2933,11 @@ module.exports = {
|
|
|
2749
2933
|
type: 'state',
|
|
2750
2934
|
values: [ true ]
|
|
2751
2935
|
},
|
|
2936
|
+
password: {
|
|
2937
|
+
description: 'capability that helps masking and unmasking text',
|
|
2938
|
+
type: 'variant',
|
|
2939
|
+
values: [ true ]
|
|
2940
|
+
},
|
|
2752
2941
|
validation: {
|
|
2753
2942
|
description: 'Validation states for form inputs',
|
|
2754
2943
|
type: 'state',
|
|
@@ -2811,7 +3000,9 @@ module.exports = {
|
|
|
2811
3000
|
paddingBottom: 10,
|
|
2812
3001
|
paddingLeft: 16,
|
|
2813
3002
|
paddingRight: 16,
|
|
2814
|
-
paddingTop: 10
|
|
3003
|
+
paddingTop: 10,
|
|
3004
|
+
passwordHideButtonIcon: PaletteIconEyeMasked,
|
|
3005
|
+
passwordShowButtonIcon: PaletteIconEyeUnmasked
|
|
2815
3006
|
}
|
|
2816
3007
|
},
|
|
2817
3008
|
Timeline: {
|
|
@@ -3050,6 +3241,11 @@ module.exports = {
|
|
|
3050
3241
|
Typography: {
|
|
3051
3242
|
appearances: {
|
|
3052
3243
|
colour: { type: 'variant', values: [ 'red' ] },
|
|
3244
|
+
compact: {
|
|
3245
|
+
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
3246
|
+
type: 'variant',
|
|
3247
|
+
values: [ true ]
|
|
3248
|
+
},
|
|
3053
3249
|
inverse: {
|
|
3054
3250
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
3055
3251
|
type: 'variant',
|
|
@@ -3057,7 +3253,14 @@ module.exports = {
|
|
|
3057
3253
|
},
|
|
3058
3254
|
size: {
|
|
3059
3255
|
type: 'variant',
|
|
3060
|
-
values: [
|
|
3256
|
+
values: [
|
|
3257
|
+
'micro', 'small',
|
|
3258
|
+
'medium', 'large',
|
|
3259
|
+
'h1', 'h2',
|
|
3260
|
+
'h3', 'h4',
|
|
3261
|
+
'h5', 'h6',
|
|
3262
|
+
'display1', 'display2'
|
|
3263
|
+
]
|
|
3061
3264
|
},
|
|
3062
3265
|
viewport: {
|
|
3063
3266
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -3081,72 +3284,119 @@ module.exports = {
|
|
|
3081
3284
|
},
|
|
3082
3285
|
{
|
|
3083
3286
|
if: { size: 'large' },
|
|
3084
|
-
tokens: { fontSize: 20, lineHeight: 1.
|
|
3287
|
+
tokens: { fontSize: 20, lineHeight: 1.4 }
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
if: { compact: true, size: 'large' },
|
|
3291
|
+
tokens: { lineHeight: 1.2 }
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
if: { size: 'medium' },
|
|
3295
|
+
tokens: { fontSize: 16, lineHeight: 1.5 }
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
if: { compact: true, size: 'medium' },
|
|
3299
|
+
tokens: { lineHeight: 1.25 }
|
|
3085
3300
|
},
|
|
3086
3301
|
{
|
|
3087
3302
|
if: { size: 'small' },
|
|
3088
|
-
tokens: { fontSize: 14, lineHeight: 1.
|
|
3303
|
+
tokens: { fontSize: 14, lineHeight: 1.42857142857 }
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
if: { compact: true, size: 'small' },
|
|
3307
|
+
tokens: { lineHeight: 1.14285714286 }
|
|
3089
3308
|
},
|
|
3090
3309
|
{
|
|
3091
|
-
if: { size: '
|
|
3310
|
+
if: { size: 'micro' },
|
|
3311
|
+
tokens: { fontSize: 12, lineHeight: 1.33333333333 }
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
if: { compact: true, size: 'micro' },
|
|
3315
|
+
tokens: { lineHeight: 1.33333333333 }
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
if: { size: 'display1' },
|
|
3092
3319
|
tokens: {
|
|
3093
3320
|
fontName: 'StagSans',
|
|
3094
|
-
fontSize:
|
|
3321
|
+
fontSize: 44,
|
|
3095
3322
|
fontWeight: '700',
|
|
3096
|
-
lineHeight: 1.
|
|
3323
|
+
lineHeight: 1.22222222222
|
|
3097
3324
|
}
|
|
3098
3325
|
},
|
|
3099
3326
|
{
|
|
3100
|
-
if: { size: '
|
|
3101
|
-
tokens: { fontSize:
|
|
3327
|
+
if: { size: 'display1', viewport: [ 'lg', 'xl' ] },
|
|
3328
|
+
tokens: { fontSize: 70, lineHeight: 1.2 }
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
if: { size: 'display2' },
|
|
3332
|
+
tokens: {
|
|
3333
|
+
fontName: 'StagSans',
|
|
3334
|
+
fontSize: 36,
|
|
3335
|
+
fontWeight: '700',
|
|
3336
|
+
lineHeight: 1.22222222222
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
if: { size: 'display2', viewport: [ 'lg', 'xl' ] },
|
|
3341
|
+
tokens: { fontSize: 54, lineHeight: 1.14285714286 }
|
|
3102
3342
|
},
|
|
3103
3343
|
{
|
|
3104
3344
|
if: { size: 'h1' },
|
|
3105
3345
|
tokens: {
|
|
3106
3346
|
fontName: 'StagSans',
|
|
3107
|
-
fontSize:
|
|
3347
|
+
fontSize: 34,
|
|
3108
3348
|
fontWeight: '700',
|
|
3109
|
-
lineHeight: 1.
|
|
3349
|
+
lineHeight: 1.22222222222
|
|
3110
3350
|
}
|
|
3111
3351
|
},
|
|
3112
3352
|
{
|
|
3113
3353
|
if: { size: 'h1', viewport: [ 'lg', 'xl' ] },
|
|
3114
|
-
tokens: { fontSize:
|
|
3354
|
+
tokens: { fontSize: 44, lineHeight: 1.22222222222 }
|
|
3115
3355
|
},
|
|
3116
3356
|
{
|
|
3117
3357
|
if: { size: 'h2' },
|
|
3118
3358
|
tokens: {
|
|
3119
3359
|
color: '#000000',
|
|
3120
3360
|
fontName: 'StagSans',
|
|
3121
|
-
fontSize:
|
|
3361
|
+
fontSize: 32,
|
|
3122
3362
|
fontWeight: '700',
|
|
3123
|
-
lineHeight: 1.
|
|
3363
|
+
lineHeight: 1.25
|
|
3124
3364
|
}
|
|
3125
3365
|
},
|
|
3126
3366
|
{
|
|
3127
|
-
if: { size: '
|
|
3128
|
-
tokens: {
|
|
3367
|
+
if: { size: 'h3' },
|
|
3368
|
+
tokens: {
|
|
3369
|
+
fontName: 'StagSans',
|
|
3370
|
+
fontSize: 24,
|
|
3371
|
+
fontWeight: '700',
|
|
3372
|
+
lineHeight: 1.33333333333
|
|
3373
|
+
}
|
|
3129
3374
|
},
|
|
3130
3375
|
{
|
|
3131
|
-
if: { size: '
|
|
3376
|
+
if: { size: 'h4' },
|
|
3132
3377
|
tokens: {
|
|
3133
3378
|
fontName: 'StagSans',
|
|
3134
3379
|
fontSize: 20,
|
|
3135
3380
|
fontWeight: '700',
|
|
3136
|
-
lineHeight: 1.
|
|
3381
|
+
lineHeight: 1.2
|
|
3137
3382
|
}
|
|
3138
3383
|
},
|
|
3139
3384
|
{
|
|
3140
|
-
if: { size: '
|
|
3141
|
-
tokens: {
|
|
3385
|
+
if: { size: 'h5' },
|
|
3386
|
+
tokens: {
|
|
3387
|
+
fontName: 'StagSans',
|
|
3388
|
+
fontSize: 18,
|
|
3389
|
+
fontWeight: '700',
|
|
3390
|
+
lineHeight: 1.22222222222
|
|
3391
|
+
}
|
|
3142
3392
|
},
|
|
3143
3393
|
{
|
|
3144
|
-
if: { size: '
|
|
3394
|
+
if: { size: 'h6' },
|
|
3145
3395
|
tokens: {
|
|
3146
3396
|
fontName: 'StagSans',
|
|
3147
3397
|
fontSize: 16,
|
|
3148
3398
|
fontWeight: '700',
|
|
3149
|
-
lineHeight: 1.
|
|
3399
|
+
lineHeight: 1.25
|
|
3150
3400
|
}
|
|
3151
3401
|
},
|
|
3152
3402
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
@@ -3223,5 +3473,5 @@ module.exports = {
|
|
|
3223
3473
|
tokens: { size: 96 }
|
|
3224
3474
|
}
|
|
3225
3475
|
},
|
|
3226
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
3476
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.14.0' }
|
|
3227
3477
|
}
|