@telus-uds/theme-koodo 4.2.0 → 4.3.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 +126 -168
- package/build/android/theme.json +68 -49
- package/build/ios/schema.json +126 -168
- package/build/ios/theme.json +68 -49
- package/build/rn/schema.json +126 -168
- package/build/rn/theme.js +58 -28
- package/package.json +2 -2
- package/theme.json +63 -28
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 Wed, 14 Jun 2023 00:00:11 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -944,6 +944,12 @@ module.exports = {
|
|
|
944
944
|
description: 'Defines background related attributes of Card',
|
|
945
945
|
type: 'variant',
|
|
946
946
|
values: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
947
|
+
},
|
|
948
|
+
padding: { type: 'variant', values: [ 'custom' ] },
|
|
949
|
+
viewport: {
|
|
950
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
951
|
+
type: 'state',
|
|
952
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
947
953
|
}
|
|
948
954
|
},
|
|
949
955
|
rules: [
|
|
@@ -962,6 +968,24 @@ module.exports = {
|
|
|
962
968
|
{
|
|
963
969
|
if: { background: 'feature' },
|
|
964
970
|
tokens: { backgroundColor: '#f9f6a5' }
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
974
|
+
tokens: {
|
|
975
|
+
paddingBottom: 48,
|
|
976
|
+
paddingLeft: 32,
|
|
977
|
+
paddingRight: 32,
|
|
978
|
+
paddingTop: 48
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
if: { padding: 'custom' },
|
|
983
|
+
tokens: {
|
|
984
|
+
paddingBottom: 0,
|
|
985
|
+
paddingLeft: 0,
|
|
986
|
+
paddingRight: 0,
|
|
987
|
+
paddingTop: 0
|
|
988
|
+
}
|
|
965
989
|
}
|
|
966
990
|
],
|
|
967
991
|
tokens: {
|
|
@@ -975,10 +999,10 @@ module.exports = {
|
|
|
975
999
|
contentJustifyContent: 'flex-start',
|
|
976
1000
|
flex: 1,
|
|
977
1001
|
minWidth: null,
|
|
978
|
-
paddingBottom:
|
|
979
|
-
paddingLeft:
|
|
980
|
-
paddingRight:
|
|
981
|
-
paddingTop:
|
|
1002
|
+
paddingBottom: 32,
|
|
1003
|
+
paddingLeft: 24,
|
|
1004
|
+
paddingRight: 24,
|
|
1005
|
+
paddingTop: 32,
|
|
982
1006
|
shadow: null
|
|
983
1007
|
}
|
|
984
1008
|
},
|
|
@@ -1233,7 +1257,7 @@ module.exports = {
|
|
|
1233
1257
|
if: { focus: true, pressed: true },
|
|
1234
1258
|
tokens: { color: '#1b4746', outerBorderColor: '#1b4746' }
|
|
1235
1259
|
},
|
|
1236
|
-
{ if: { alternative: true }, tokens: { color: '#
|
|
1260
|
+
{ if: { alternative: true }, tokens: { color: '#000000' } },
|
|
1237
1261
|
{
|
|
1238
1262
|
if: { alternative: true, hover: true },
|
|
1239
1263
|
tokens: { color: '#5c5c5c' }
|
|
@@ -1244,11 +1268,11 @@ module.exports = {
|
|
|
1244
1268
|
},
|
|
1245
1269
|
{
|
|
1246
1270
|
if: { alternative: true, focus: true },
|
|
1247
|
-
tokens: { color: '#
|
|
1271
|
+
tokens: { color: '#000000', outerBorderColor: '#000000' }
|
|
1248
1272
|
},
|
|
1249
1273
|
{
|
|
1250
1274
|
if: { alternative: true, focus: true, pressed: true },
|
|
1251
|
-
tokens: { color: '#
|
|
1275
|
+
tokens: { color: '#505050', outerBorderColor: '#505050' }
|
|
1252
1276
|
},
|
|
1253
1277
|
{ if: { inverse: true }, tokens: { color: '#e5f7fb' } },
|
|
1254
1278
|
{
|
|
@@ -1390,12 +1414,6 @@ module.exports = {
|
|
|
1390
1414
|
calendarMonthCaptionFontWeight: '700',
|
|
1391
1415
|
calendarMonthCaptionLineHeight: 1.2,
|
|
1392
1416
|
calendarMonthCaptionPaddingBottom: 48,
|
|
1393
|
-
dateInputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1394
|
-
dateInputBorderRadius: 4,
|
|
1395
|
-
dateInputFocusBorderColor: '#016b6a',
|
|
1396
|
-
dateInputHoverBorderColor: '#c9c8c8',
|
|
1397
|
-
dateInputInsideBorderColor: '#666666',
|
|
1398
|
-
dateInputInsideColor: null,
|
|
1399
1417
|
dateInputStrokeColor: '#666666',
|
|
1400
1418
|
dayPickerNavigationButtonPadding: 12,
|
|
1401
1419
|
dayPickerWeekHeaderColor: '#000000',
|
|
@@ -2171,14 +2189,10 @@ module.exports = {
|
|
|
2171
2189
|
if: { pressed: true },
|
|
2172
2190
|
tokens: { color: '#595959', textLine: 'none' }
|
|
2173
2191
|
},
|
|
2174
|
-
{ if: { alternative: true }, tokens: { color: '#
|
|
2192
|
+
{ if: { alternative: true }, tokens: { color: '#000000' } },
|
|
2175
2193
|
{
|
|
2176
2194
|
if: { alternative: true, focus: true },
|
|
2177
|
-
tokens: { color: '#
|
|
2178
|
-
},
|
|
2179
|
-
{
|
|
2180
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
2181
|
-
tokens: { color: '#595959', outerBorderColor: '#595959' }
|
|
2195
|
+
tokens: { color: '#000000', outerBorderColor: '#000000' }
|
|
2182
2196
|
},
|
|
2183
2197
|
{
|
|
2184
2198
|
if: { alternative: true, hover: true },
|
|
@@ -2186,7 +2200,11 @@ module.exports = {
|
|
|
2186
2200
|
},
|
|
2187
2201
|
{
|
|
2188
2202
|
if: { alternative: true, pressed: true },
|
|
2189
|
-
tokens: { color: '#
|
|
2203
|
+
tokens: { color: '#505050' }
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
if: { alternative: true, focus: true, pressed: true },
|
|
2207
|
+
tokens: { color: '#505050', outerBorderColor: '#505050' }
|
|
2190
2208
|
},
|
|
2191
2209
|
{ if: { inverse: true }, tokens: { color: '#e5f7fb' } },
|
|
2192
2210
|
{
|
|
@@ -4307,8 +4325,8 @@ module.exports = {
|
|
|
4307
4325
|
],
|
|
4308
4326
|
tokens: {
|
|
4309
4327
|
backgroundColor: '#ffffff',
|
|
4310
|
-
borderColor: '#
|
|
4311
|
-
borderRadius:
|
|
4328
|
+
borderColor: '#c9c8c8',
|
|
4329
|
+
borderRadius: 8,
|
|
4312
4330
|
borderWidth: 1,
|
|
4313
4331
|
contentAlignItems: 'stretch',
|
|
4314
4332
|
contentFlexGrow: 0,
|
|
@@ -5128,10 +5146,11 @@ module.exports = {
|
|
|
5128
5146
|
values: [
|
|
5129
5147
|
'micro', 'small',
|
|
5130
5148
|
'medium', 'large',
|
|
5131
|
-
'
|
|
5132
|
-
'
|
|
5133
|
-
'
|
|
5134
|
-
'
|
|
5149
|
+
'eyebrow', 'h1',
|
|
5150
|
+
'h2', 'h3',
|
|
5151
|
+
'h4', 'h5',
|
|
5152
|
+
'h6', 'display1',
|
|
5153
|
+
'display2'
|
|
5135
5154
|
]
|
|
5136
5155
|
},
|
|
5137
5156
|
viewport: {
|
|
@@ -5158,6 +5177,17 @@ module.exports = {
|
|
|
5158
5177
|
if: { size: 'large' },
|
|
5159
5178
|
tokens: { fontSize: 20, lineHeight: 1.4 }
|
|
5160
5179
|
},
|
|
5180
|
+
{
|
|
5181
|
+
if: { size: 'eyebrow' },
|
|
5182
|
+
tokens: {
|
|
5183
|
+
color: '#595959',
|
|
5184
|
+
fontName: 'StagSans',
|
|
5185
|
+
fontSize: 14,
|
|
5186
|
+
fontWeight: '600',
|
|
5187
|
+
lineHeight: 1.42857142857,
|
|
5188
|
+
textTransform: 'uppercase'
|
|
5189
|
+
}
|
|
5190
|
+
},
|
|
5161
5191
|
{
|
|
5162
5192
|
if: { compact: true, size: 'large' },
|
|
5163
5193
|
tokens: { lineHeight: 1.2 }
|
|
@@ -5499,5 +5529,5 @@ module.exports = {
|
|
|
5499
5529
|
tokens: { size: 96 }
|
|
5500
5530
|
}
|
|
5501
5531
|
},
|
|
5502
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5532
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.32.0' }
|
|
5503
5533
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@telus-uds/palette-koodo": "^0.18.0",
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.32.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "4.
|
|
34
|
+
"version": "4.3.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1294,7 +1294,12 @@
|
|
|
1294
1294
|
"description": "Defines background related attributes of Card",
|
|
1295
1295
|
"type": "variant",
|
|
1296
1296
|
"values": ["alternative", "subtle", "grid", "feature"]
|
|
1297
|
-
}
|
|
1297
|
+
},
|
|
1298
|
+
"padding": {
|
|
1299
|
+
"type": "variant",
|
|
1300
|
+
"values": ["custom"]
|
|
1301
|
+
},
|
|
1302
|
+
"viewport": "{appearances.system.viewport}"
|
|
1298
1303
|
},
|
|
1299
1304
|
"rules": [
|
|
1300
1305
|
{
|
|
@@ -1331,6 +1336,28 @@
|
|
|
1331
1336
|
"tokens": {
|
|
1332
1337
|
"backgroundColor": "{palette.color.texas}"
|
|
1333
1338
|
}
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"if": {
|
|
1342
|
+
"viewport": ["md", "lg", "xl"]
|
|
1343
|
+
},
|
|
1344
|
+
"tokens": {
|
|
1345
|
+
"paddingBottom": "{palette.size.size48}",
|
|
1346
|
+
"paddingLeft": "{palette.size.size32}",
|
|
1347
|
+
"paddingRight": "{palette.size.size32}",
|
|
1348
|
+
"paddingTop": "{palette.size.size48}"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"if": {
|
|
1353
|
+
"padding": "custom"
|
|
1354
|
+
},
|
|
1355
|
+
"tokens": {
|
|
1356
|
+
"paddingBottom": "{palette.size.size0}",
|
|
1357
|
+
"paddingLeft": "{palette.size.size0}",
|
|
1358
|
+
"paddingRight": "{palette.size.size0}",
|
|
1359
|
+
"paddingTop": "{palette.size.size0}"
|
|
1360
|
+
}
|
|
1334
1361
|
}
|
|
1335
1362
|
],
|
|
1336
1363
|
"tokens": {
|
|
@@ -1344,10 +1371,10 @@
|
|
|
1344
1371
|
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1345
1372
|
"flex": "{system.integer.1}",
|
|
1346
1373
|
"minWidth": "{system.size.none}",
|
|
1347
|
-
"paddingBottom": "{palette.size.
|
|
1348
|
-
"paddingLeft": "{palette.size.
|
|
1349
|
-
"paddingRight": "{palette.size.
|
|
1350
|
-
"paddingTop": "{palette.size.
|
|
1374
|
+
"paddingBottom": "{palette.size.size32}",
|
|
1375
|
+
"paddingLeft": "{palette.size.size24}",
|
|
1376
|
+
"paddingRight": "{palette.size.size24}",
|
|
1377
|
+
"paddingTop": "{palette.size.size32}",
|
|
1351
1378
|
"shadow": "{system.shadow.none}"
|
|
1352
1379
|
}
|
|
1353
1380
|
},
|
|
@@ -1620,7 +1647,7 @@
|
|
|
1620
1647
|
"alternative": true
|
|
1621
1648
|
},
|
|
1622
1649
|
"tokens": {
|
|
1623
|
-
"color": "{palette.color.
|
|
1650
|
+
"color": "{palette.color.black}"
|
|
1624
1651
|
}
|
|
1625
1652
|
},
|
|
1626
1653
|
{
|
|
@@ -1647,8 +1674,8 @@
|
|
|
1647
1674
|
"focus": true
|
|
1648
1675
|
},
|
|
1649
1676
|
"tokens": {
|
|
1650
|
-
"color": "{palette.color.
|
|
1651
|
-
"outerBorderColor": "{palette.color.
|
|
1677
|
+
"color": "{palette.color.black}",
|
|
1678
|
+
"outerBorderColor": "{palette.color.black}"
|
|
1652
1679
|
}
|
|
1653
1680
|
},
|
|
1654
1681
|
{
|
|
@@ -1658,8 +1685,8 @@
|
|
|
1658
1685
|
"pressed": true
|
|
1659
1686
|
},
|
|
1660
1687
|
"tokens": {
|
|
1661
|
-
"color": "{palette.color.
|
|
1662
|
-
"outerBorderColor": "{palette.color.
|
|
1688
|
+
"color": "{palette.color.mortarDark}",
|
|
1689
|
+
"outerBorderColor": "{palette.color.mortarDark}"
|
|
1663
1690
|
}
|
|
1664
1691
|
},
|
|
1665
1692
|
{
|
|
@@ -1878,12 +1905,6 @@
|
|
|
1878
1905
|
"calendarMonthCaptionFontWeight": "{palette.fontWeight.weight700}",
|
|
1879
1906
|
"calendarMonthCaptionLineHeight": "{palette.lineHeight.ratio6to5}",
|
|
1880
1907
|
"calendarMonthCaptionPaddingBottom": "{palette.size.size48}",
|
|
1881
|
-
"dateInputBorderColor": "{palette.color.transparent}",
|
|
1882
|
-
"dateInputBorderRadius": "{palette.radius.radius4}",
|
|
1883
|
-
"dateInputFocusBorderColor": "{palette.color.mosque}",
|
|
1884
|
-
"dateInputHoverBorderColor": "{palette.color.silver}",
|
|
1885
|
-
"dateInputInsideBorderColor": "{palette.color.dove}",
|
|
1886
|
-
"dateInputInsideColor": "{system.color.none}",
|
|
1887
1908
|
"dateInputStrokeColor": "{palette.color.dove}",
|
|
1888
1909
|
"dayPickerNavigationButtonPadding": "{palette.size.size12}",
|
|
1889
1910
|
"dayPickerWeekHeaderColor": "{palette.color.black}",
|
|
@@ -3023,7 +3044,7 @@
|
|
|
3023
3044
|
"alternative": true
|
|
3024
3045
|
},
|
|
3025
3046
|
"tokens": {
|
|
3026
|
-
"color": "{palette.color.
|
|
3047
|
+
"color": "{palette.color.black}"
|
|
3027
3048
|
}
|
|
3028
3049
|
},
|
|
3029
3050
|
{
|
|
@@ -3032,37 +3053,37 @@
|
|
|
3032
3053
|
"focus": true
|
|
3033
3054
|
},
|
|
3034
3055
|
"tokens": {
|
|
3035
|
-
"color": "{palette.color.
|
|
3036
|
-
"outerBorderColor": "{palette.color.
|
|
3056
|
+
"color": "{palette.color.black}",
|
|
3057
|
+
"outerBorderColor": "{palette.color.black}"
|
|
3037
3058
|
}
|
|
3038
3059
|
},
|
|
3039
3060
|
{
|
|
3040
3061
|
"if": {
|
|
3041
3062
|
"alternative": true,
|
|
3042
|
-
"
|
|
3043
|
-
"pressed": true
|
|
3063
|
+
"hover": true
|
|
3044
3064
|
},
|
|
3045
3065
|
"tokens": {
|
|
3046
|
-
"color": "{palette.color.
|
|
3047
|
-
"outerBorderColor": "{palette.color.mortar}"
|
|
3066
|
+
"color": "{palette.color.doveDark}"
|
|
3048
3067
|
}
|
|
3049
3068
|
},
|
|
3050
3069
|
{
|
|
3051
3070
|
"if": {
|
|
3052
3071
|
"alternative": true,
|
|
3053
|
-
"
|
|
3072
|
+
"pressed": true
|
|
3054
3073
|
},
|
|
3055
3074
|
"tokens": {
|
|
3056
|
-
"color": "{palette.color.
|
|
3075
|
+
"color": "{palette.color.mortarDark}"
|
|
3057
3076
|
}
|
|
3058
3077
|
},
|
|
3059
3078
|
{
|
|
3060
3079
|
"if": {
|
|
3061
3080
|
"alternative": true,
|
|
3081
|
+
"focus": true,
|
|
3062
3082
|
"pressed": true
|
|
3063
3083
|
},
|
|
3064
3084
|
"tokens": {
|
|
3065
|
-
"color": "{palette.color.
|
|
3085
|
+
"color": "{palette.color.mortarDark}",
|
|
3086
|
+
"outerBorderColor": "{palette.color.mortarDark}"
|
|
3066
3087
|
}
|
|
3067
3088
|
},
|
|
3068
3089
|
{
|
|
@@ -5356,8 +5377,8 @@
|
|
|
5356
5377
|
],
|
|
5357
5378
|
"tokens": {
|
|
5358
5379
|
"backgroundColor": "{palette.color.white}",
|
|
5359
|
-
"borderColor": "{palette.color.
|
|
5360
|
-
"borderRadius": "{palette.radius.
|
|
5380
|
+
"borderColor": "{palette.color.silver}",
|
|
5381
|
+
"borderRadius": "{palette.radius.radius8}",
|
|
5361
5382
|
"borderWidth": "{palette.border.border1}",
|
|
5362
5383
|
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
5363
5384
|
"contentFlexGrow": "{system.integer.0}",
|
|
@@ -6248,6 +6269,7 @@
|
|
|
6248
6269
|
"small",
|
|
6249
6270
|
"medium",
|
|
6250
6271
|
"large",
|
|
6272
|
+
"eyebrow",
|
|
6251
6273
|
"h1",
|
|
6252
6274
|
"h2",
|
|
6253
6275
|
"h3",
|
|
@@ -6293,6 +6315,19 @@
|
|
|
6293
6315
|
"lineHeight": "{palette.lineHeight.ratio7to5}"
|
|
6294
6316
|
}
|
|
6295
6317
|
},
|
|
6318
|
+
{
|
|
6319
|
+
"if": {
|
|
6320
|
+
"size": "eyebrow"
|
|
6321
|
+
},
|
|
6322
|
+
"tokens": {
|
|
6323
|
+
"color": "{palette.color.mortar}",
|
|
6324
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
6325
|
+
"fontSize": "{palette.fontSize.size14}",
|
|
6326
|
+
"fontWeight": "{palette.fontWeight.weight600}",
|
|
6327
|
+
"lineHeight": "{palette.lineHeight.ratio10to7}",
|
|
6328
|
+
"textTransform": "{system.textTransform.uppercase}"
|
|
6329
|
+
}
|
|
6330
|
+
},
|
|
6296
6331
|
{
|
|
6297
6332
|
"if": {
|
|
6298
6333
|
"compact": true,
|