@telus-uds/theme-koodo 3.15.0 → 3.17.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 +661 -430
- package/build/android/theme.json +567 -112
- package/build/ios/schema.json +661 -430
- package/build/ios/theme.json +567 -112
- package/build/rn/schema.json +661 -430
- package/build/rn/theme.js +418 -79
- package/package.json +4 -4
- package/theme.json +590 -74
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, 04 Apr 2023 14:44:52 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -194,8 +194,8 @@ module.exports = {
|
|
|
194
194
|
},
|
|
195
195
|
Button: {
|
|
196
196
|
appearances: {
|
|
197
|
-
|
|
198
|
-
description: '
|
|
197
|
+
danger: {
|
|
198
|
+
description: 'Indicates a user action that is destructive and will result in loss of information or cause significant monetary charges. Limit the use of the danger button whenever possible.',
|
|
199
199
|
type: 'variant',
|
|
200
200
|
values: [ true ]
|
|
201
201
|
},
|
|
@@ -216,124 +216,334 @@ module.exports = {
|
|
|
216
216
|
type: 'state',
|
|
217
217
|
values: [ true ]
|
|
218
218
|
},
|
|
219
|
+
inverse: {
|
|
220
|
+
description: 'Use inverse buttons on darker backgrounds. High and low priority buttons, and danger buttons, are available in inverse.',
|
|
221
|
+
type: 'variant',
|
|
222
|
+
values: [ true ]
|
|
223
|
+
},
|
|
219
224
|
pressed: {
|
|
220
225
|
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.',
|
|
221
226
|
type: 'state',
|
|
222
227
|
values: [ true ]
|
|
223
228
|
},
|
|
224
|
-
|
|
225
|
-
description: '
|
|
229
|
+
priority: {
|
|
230
|
+
description: 'Indicates the importance of the call-to-action. Limit the amount of high priority buttons on a page to prioritize meaningful user flows. Low priority styles are applied by default.',
|
|
226
231
|
type: 'variant',
|
|
227
|
-
values: [ '
|
|
232
|
+
values: [ 'high', 'low' ]
|
|
228
233
|
},
|
|
229
|
-
|
|
230
|
-
|
|
234
|
+
size: { type: 'variant', values: [ 'small' ] },
|
|
235
|
+
text: {
|
|
236
|
+
description: 'Text variant visually deprioritize the button styles',
|
|
231
237
|
type: 'variant',
|
|
232
238
|
values: [ true ]
|
|
233
239
|
},
|
|
234
|
-
|
|
235
|
-
description: '
|
|
236
|
-
type: '
|
|
237
|
-
values: [
|
|
240
|
+
width: {
|
|
241
|
+
description: 'Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.',
|
|
242
|
+
type: 'variant',
|
|
243
|
+
values: [ 'full' ]
|
|
238
244
|
}
|
|
239
245
|
},
|
|
240
246
|
rules: [
|
|
241
|
-
{ if: { rounded: true }, tokens: { borderRadius: 32 } },
|
|
242
247
|
{
|
|
243
|
-
if: {
|
|
248
|
+
if: { priority: 'high' },
|
|
249
|
+
tokens: { backgroundColor: '#016b6a', color: '#ffffff' }
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
if: { danger: true },
|
|
253
|
+
tokens: { borderColor: '#df3d0c', color: '#df3d0c' }
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
if: { inverse: true },
|
|
244
257
|
tokens: {
|
|
245
|
-
backgroundColor:
|
|
246
|
-
borderColor: '#
|
|
247
|
-
|
|
248
|
-
|
|
258
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
259
|
+
borderColor: '#ffffff',
|
|
260
|
+
color: '#ffffff',
|
|
261
|
+
outerBackgroundColor: 'rgba(0, 0, 0, 0)'
|
|
249
262
|
}
|
|
250
263
|
},
|
|
251
264
|
{
|
|
252
265
|
if: { hover: true },
|
|
266
|
+
tokens: { backgroundColor: '#1b4746', color: '#ffffff' }
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
if: { pressed: true },
|
|
270
|
+
tokens: { backgroundColor: '#595959', color: '#c9c8c8' }
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
if: { focus: true },
|
|
274
|
+
tokens: { outerBorderColor: '#016b6a', outerBorderGap: 2 }
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
if: { inverse: true, priority: 'high' },
|
|
253
278
|
tokens: {
|
|
254
|
-
backgroundColor: '#
|
|
255
|
-
|
|
256
|
-
color: '#
|
|
279
|
+
backgroundColor: '#ffffff',
|
|
280
|
+
borderWidth: 0,
|
|
281
|
+
color: '#016b6a'
|
|
257
282
|
}
|
|
258
283
|
},
|
|
259
284
|
{
|
|
260
|
-
if: {
|
|
261
|
-
tokens: { backgroundColor: '#
|
|
285
|
+
if: { hover: true, priority: 'high' },
|
|
286
|
+
tokens: { backgroundColor: '#1b4746', color: '#ffffff' }
|
|
262
287
|
},
|
|
263
288
|
{
|
|
264
|
-
if: {
|
|
289
|
+
if: { danger: true, focus: true },
|
|
290
|
+
tokens: {
|
|
291
|
+
color: '#df3d0c',
|
|
292
|
+
outerBorderColor: '#df3d0c',
|
|
293
|
+
outerBorderGap: 2
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
if: { danger: true, hover: true },
|
|
298
|
+
tokens: { backgroundColor: '#c9370b', color: '#ffffff' }
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
if: { hover: true, inverse: true },
|
|
302
|
+
tokens: {
|
|
303
|
+
backgroundColor: '#e6e6e6',
|
|
304
|
+
borderColor: '#e6e6e6',
|
|
305
|
+
color: '#016b6a'
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
if: { pressed: true, priority: 'high' },
|
|
310
|
+
tokens: { backgroundColor: '#595959', color: '#c9c8c8' }
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
if: { inverse: true, pressed: true },
|
|
314
|
+
tokens: { backgroundColor: '#c9c8c8', color: '#666666' }
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
if: { focus: true, priority: 'high' },
|
|
265
318
|
tokens: {
|
|
266
319
|
backgroundColor: '#016b6a',
|
|
267
|
-
|
|
268
|
-
|
|
320
|
+
color: '#ffffff',
|
|
321
|
+
outerBorderGap: 2
|
|
269
322
|
}
|
|
270
323
|
},
|
|
271
324
|
{
|
|
272
|
-
if: { focus: true },
|
|
273
|
-
tokens: {
|
|
325
|
+
if: { focus: true, inverse: true },
|
|
326
|
+
tokens: {
|
|
327
|
+
borderColor: '#ffffff',
|
|
328
|
+
color: '#ffffff',
|
|
329
|
+
outerBorderColor: '#ffffff',
|
|
330
|
+
outerBorderGap: 2
|
|
331
|
+
}
|
|
274
332
|
},
|
|
275
333
|
{
|
|
276
|
-
if: {
|
|
334
|
+
if: { focus: true, pressed: true },
|
|
277
335
|
tokens: {
|
|
278
|
-
backgroundColor: '#
|
|
279
|
-
borderColor: '#
|
|
280
|
-
color: '#
|
|
336
|
+
backgroundColor: '#595959',
|
|
337
|
+
borderColor: '#016b6a',
|
|
338
|
+
color: '#c9c8c8',
|
|
339
|
+
outerBorderGap: 2
|
|
281
340
|
}
|
|
282
341
|
},
|
|
283
342
|
{
|
|
284
|
-
if: {
|
|
343
|
+
if: { danger: true, pressed: true, priority: 'high' },
|
|
344
|
+
tokens: { backgroundColor: '#595959', color: '#c9c8c8' }
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
if: { hover: true, inverse: true, priority: 'high' },
|
|
348
|
+
tokens: { backgroundColor: '#e6e6e6', color: '#016b6a' }
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
if: { focus: true, inverse: true, priority: 'high' },
|
|
285
352
|
tokens: {
|
|
286
353
|
backgroundColor: '#ffffff',
|
|
287
|
-
borderColor: '#
|
|
288
|
-
color: '#
|
|
354
|
+
borderColor: '#ffffff',
|
|
355
|
+
color: '#016b6a',
|
|
356
|
+
outerBorderColor: '#ffffff',
|
|
357
|
+
outerBorderGap: 2
|
|
289
358
|
}
|
|
290
359
|
},
|
|
291
360
|
{
|
|
292
|
-
if: {
|
|
361
|
+
if: { danger: true, focus: true, pressed: true },
|
|
293
362
|
tokens: {
|
|
294
|
-
backgroundColor: '#
|
|
295
|
-
borderColor: '#
|
|
296
|
-
color: '#
|
|
363
|
+
backgroundColor: '#595959',
|
|
364
|
+
borderColor: '#df3d0c',
|
|
365
|
+
color: '#c9c8c8',
|
|
366
|
+
outerBorderGap: 2
|
|
297
367
|
}
|
|
298
368
|
},
|
|
299
369
|
{
|
|
300
|
-
if: {
|
|
370
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
301
371
|
tokens: {
|
|
302
|
-
backgroundColor: '#
|
|
303
|
-
borderColor: '#
|
|
304
|
-
color: '#
|
|
372
|
+
backgroundColor: '#c9c8c8',
|
|
373
|
+
borderColor: '#c9c8c8',
|
|
374
|
+
color: '#666666',
|
|
375
|
+
outerBorderGap: 2
|
|
305
376
|
}
|
|
306
377
|
},
|
|
378
|
+
{ if: { width: 'full' }, tokens: { width: '100%' } },
|
|
307
379
|
{
|
|
308
|
-
if: {
|
|
309
|
-
tokens: {
|
|
380
|
+
if: { size: 'small' },
|
|
381
|
+
tokens: {
|
|
382
|
+
minWidth: 0,
|
|
383
|
+
paddingBottom: 4,
|
|
384
|
+
paddingLeft: 16,
|
|
385
|
+
paddingRight: 16,
|
|
386
|
+
paddingTop: 4
|
|
387
|
+
}
|
|
310
388
|
},
|
|
311
389
|
{
|
|
312
|
-
|
|
313
|
-
|
|
390
|
+
description: 'Buttons should not be disabled or set as inactive. Use inline (on blur) error messaging to provide feedback when the form is invalid. In exceptional instances where disabled buttons are needed, it must be clear to the user why the button is disabled and what they need to do to enable it.',
|
|
391
|
+
if: { inactive: true },
|
|
392
|
+
tokens: {
|
|
393
|
+
backgroundColor: '#c9c8c8',
|
|
394
|
+
borderColor: '#c9c8c8',
|
|
395
|
+
borderWidth: 0,
|
|
396
|
+
color: '#efefef'
|
|
397
|
+
}
|
|
314
398
|
},
|
|
315
|
-
{ if: { inactive: true }, tokens: { opacity: 0.3 } },
|
|
316
399
|
{
|
|
317
|
-
if: {
|
|
400
|
+
if: { text: true },
|
|
318
401
|
tokens: {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
402
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
403
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
404
|
+
borderWidth: 0,
|
|
405
|
+
color: '#17367d',
|
|
406
|
+
minWidth: 0,
|
|
407
|
+
paddingLeft: 0,
|
|
408
|
+
paddingRight: 0,
|
|
409
|
+
textLine: 'underline'
|
|
323
410
|
}
|
|
324
411
|
},
|
|
325
412
|
{
|
|
326
|
-
if: {
|
|
327
|
-
tokens: {
|
|
413
|
+
if: { hover: true, text: true },
|
|
414
|
+
tokens: { color: '#052158', textLine: 'none' }
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
if: { priority: 'high', text: true },
|
|
418
|
+
tokens: { color: '#016b6a' }
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
if: { danger: true, text: true },
|
|
422
|
+
tokens: { color: '#df3d0c' }
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
if: { focus: true, text: true },
|
|
426
|
+
tokens: {
|
|
427
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
428
|
+
borderRadius: 0,
|
|
429
|
+
color: '#17367d',
|
|
430
|
+
outerBorderColor: '#17367d'
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
if: { focus: true, priority: 'high', text: true },
|
|
435
|
+
tokens: {
|
|
436
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
437
|
+
borderRadius: 0,
|
|
438
|
+
color: '#016b6a',
|
|
439
|
+
outerBorderColor: '#016b6a'
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
if: { danger: true, focus: true, text: true },
|
|
444
|
+
tokens: {
|
|
445
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
446
|
+
borderRadius: 0,
|
|
447
|
+
color: '#df3d0c',
|
|
448
|
+
outerBorderColor: '#df3d0c'
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
if: { hover: true, priority: 'high', text: true },
|
|
453
|
+
tokens: { color: '#1b4746' }
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
if: { hover: true, priority: null, text: true },
|
|
457
|
+
tokens: { color: '#052158' }
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
if: { hover: true, priority: 'low', text: true },
|
|
461
|
+
tokens: { color: '#052158' }
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
if: { danger: true, hover: true, text: true },
|
|
465
|
+
tokens: { color: '#c9370b' }
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
if: { pressed: true, text: true },
|
|
469
|
+
tokens: {
|
|
470
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
471
|
+
color: '#595959',
|
|
472
|
+
textLine: 'none'
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
if: { focus: true, pressed: true, text: true },
|
|
477
|
+
tokens: {
|
|
478
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
479
|
+
color: '#595959',
|
|
480
|
+
outerBorderColor: '#17367d',
|
|
481
|
+
textLine: 'none'
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
if: { focus: true, pressed: true, priority: 'high', text: true },
|
|
486
|
+
tokens: {
|
|
487
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
488
|
+
color: '#595959',
|
|
489
|
+
outerBorderColor: '#595959',
|
|
490
|
+
textLine: 'none'
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
if: { danger: true, focus: true, pressed: true, text: true },
|
|
495
|
+
tokens: {
|
|
496
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
497
|
+
color: '#595959',
|
|
498
|
+
outerBorderColor: '#df3d0c',
|
|
499
|
+
textLine: 'none'
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
if: { inactive: true, text: true },
|
|
504
|
+
tokens: {
|
|
505
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
506
|
+
color: '#c9c8c8',
|
|
507
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
508
|
+
textLine: 'none'
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
if: { inverse: true, text: true },
|
|
513
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', color: '#ffffff' }
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
if: { hover: true, inverse: true, text: true },
|
|
517
|
+
tokens: { color: '#c9c8c8' }
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
if: { focus: true, inverse: true, text: true },
|
|
521
|
+
tokens: {
|
|
522
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
523
|
+
color: '#ffffff',
|
|
524
|
+
outerBorderColor: '#ffffff'
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
if: { focus: true, inverse: true, pressed: true, text: true },
|
|
529
|
+
tokens: {
|
|
530
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
531
|
+
color: '#666666',
|
|
532
|
+
outerBorderColor: '#666666'
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
if: { inactive: true, inverse: true, text: true },
|
|
537
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', color: '#c9c8c8' }
|
|
328
538
|
}
|
|
329
539
|
],
|
|
330
540
|
tokens: {
|
|
331
541
|
alignSelf: 'flex-start',
|
|
332
|
-
backgroundColor: '#
|
|
333
|
-
borderColor: '#
|
|
542
|
+
backgroundColor: '#ffffff',
|
|
543
|
+
borderColor: '#016b6a',
|
|
334
544
|
borderRadius: 4,
|
|
335
|
-
borderWidth:
|
|
336
|
-
color: '#
|
|
545
|
+
borderWidth: 1,
|
|
546
|
+
color: '#016b6a',
|
|
337
547
|
fontName: 'StagSans',
|
|
338
548
|
fontSize: 16,
|
|
339
549
|
fontWeight: '600',
|
|
@@ -341,16 +551,16 @@ module.exports = {
|
|
|
341
551
|
iconSize: 24,
|
|
342
552
|
iconSpace: 2,
|
|
343
553
|
lineHeight: 1.5,
|
|
344
|
-
minWidth:
|
|
554
|
+
minWidth: 144,
|
|
345
555
|
opacity: 1,
|
|
346
|
-
outerBackgroundColor: '
|
|
347
|
-
outerBorderColor: '
|
|
348
|
-
outerBorderGap:
|
|
349
|
-
outerBorderWidth:
|
|
350
|
-
paddingBottom:
|
|
351
|
-
paddingLeft:
|
|
352
|
-
paddingRight:
|
|
353
|
-
paddingTop:
|
|
556
|
+
outerBackgroundColor: '#ffffff',
|
|
557
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
558
|
+
outerBorderGap: null,
|
|
559
|
+
outerBorderWidth: 1,
|
|
560
|
+
paddingBottom: 12,
|
|
561
|
+
paddingLeft: 32,
|
|
562
|
+
paddingRight: 32,
|
|
563
|
+
paddingTop: 12,
|
|
354
564
|
shadow: null,
|
|
355
565
|
textAlign: 'center',
|
|
356
566
|
textLine: 'none',
|
|
@@ -965,8 +1175,16 @@ module.exports = {
|
|
|
965
1175
|
},
|
|
966
1176
|
rules: [
|
|
967
1177
|
{ if: { weight: 'thick' }, tokens: { width: 2 } },
|
|
968
|
-
{ if: { decorative: true }, tokens: { color: '#
|
|
969
|
-
{
|
|
1178
|
+
{ if: { decorative: true }, tokens: { color: '#016b6a' } },
|
|
1179
|
+
{
|
|
1180
|
+
if: { decorative: true, weight: 'thick' },
|
|
1181
|
+
tokens: { color: '#016b6a', width: 2 }
|
|
1182
|
+
},
|
|
1183
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
1184
|
+
{
|
|
1185
|
+
if: { inverse: true, weight: 'thick' },
|
|
1186
|
+
tokens: { color: '#ffffff', width: 2 }
|
|
1187
|
+
}
|
|
970
1188
|
],
|
|
971
1189
|
tokens: { color: '#c9c8c8', width: 1 }
|
|
972
1190
|
},
|
|
@@ -1217,11 +1435,27 @@ module.exports = {
|
|
|
1217
1435
|
},
|
|
1218
1436
|
{
|
|
1219
1437
|
if: { password: true, pressed: true },
|
|
1220
|
-
tokens: {
|
|
1438
|
+
tokens: {
|
|
1439
|
+
backgroundColor: '#1b4746',
|
|
1440
|
+
borderColor: '#1b4746',
|
|
1441
|
+
iconColor: '#ffffff'
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
if: { pressed: true },
|
|
1446
|
+
tokens: {
|
|
1447
|
+
backgroundColor: '#1b4746',
|
|
1448
|
+
borderColor: '#1b4746',
|
|
1449
|
+
iconColor: '#ffffff'
|
|
1450
|
+
}
|
|
1221
1451
|
},
|
|
1222
1452
|
{
|
|
1223
1453
|
if: { focus: true, password: true },
|
|
1224
|
-
tokens: {
|
|
1454
|
+
tokens: {
|
|
1455
|
+
borderColor: '#016b6a',
|
|
1456
|
+
borderWidth: 3,
|
|
1457
|
+
iconColor: '#016b6a'
|
|
1458
|
+
}
|
|
1225
1459
|
},
|
|
1226
1460
|
{
|
|
1227
1461
|
if: { inactive: true },
|
|
@@ -1240,7 +1474,7 @@ module.exports = {
|
|
|
1240
1474
|
backgroundColor: 'transparent',
|
|
1241
1475
|
borderColor: '#016b6a',
|
|
1242
1476
|
borderRadius: 99999999999999,
|
|
1243
|
-
borderWidth:
|
|
1477
|
+
borderWidth: 3,
|
|
1244
1478
|
iconColor: '#016b6a',
|
|
1245
1479
|
iconScale: 1,
|
|
1246
1480
|
iconSize: 24,
|
|
@@ -2022,6 +2256,7 @@ module.exports = {
|
|
|
2022
2256
|
itemBulletContainerWidth: 0,
|
|
2023
2257
|
itemBulletHeight: 0,
|
|
2024
2258
|
itemBulletWidth: 0,
|
|
2259
|
+
itemFontColor: '#000000',
|
|
2025
2260
|
itemFontName: 'StagSans',
|
|
2026
2261
|
itemFontSize: 16,
|
|
2027
2262
|
itemFontWeight: '600',
|
|
@@ -2062,14 +2297,87 @@ module.exports = {
|
|
|
2062
2297
|
}
|
|
2063
2298
|
},
|
|
2064
2299
|
rules: [
|
|
2300
|
+
{
|
|
2301
|
+
if: { error: true },
|
|
2302
|
+
tokens: {
|
|
2303
|
+
inputBackgroundColor: '#ffffff',
|
|
2304
|
+
inputBorderColor: '#ffffff',
|
|
2305
|
+
inputOutlineColor: '#016b6a',
|
|
2306
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2307
|
+
outerBorderGap: 0,
|
|
2308
|
+
outerBorderWidth: 0
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2065
2311
|
{
|
|
2066
2312
|
if: { focus: true },
|
|
2067
|
-
tokens: {
|
|
2313
|
+
tokens: {
|
|
2314
|
+
outerBorderColor: '#17367d',
|
|
2315
|
+
outerBorderGap: 5,
|
|
2316
|
+
outerBorderWidth: 1
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
if: { checked: true, focus: true },
|
|
2321
|
+
tokens: {
|
|
2322
|
+
inputBackgroundColor: '#016b6a',
|
|
2323
|
+
inputBorderColor: '#ffffff',
|
|
2324
|
+
inputOutlineColor: '#016b6a',
|
|
2325
|
+
outerBorderColor: '#17367d',
|
|
2326
|
+
outerBorderGap: 5,
|
|
2327
|
+
outerBorderWidth: 1
|
|
2328
|
+
}
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
if: { hover: true },
|
|
2332
|
+
tokens: {
|
|
2333
|
+
outerBorderColor: '#17367d',
|
|
2334
|
+
outerBorderGap: 5,
|
|
2335
|
+
outerBorderWidth: 1
|
|
2336
|
+
}
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
if: { checked: true, hover: true },
|
|
2340
|
+
tokens: {
|
|
2341
|
+
inputBackgroundColor: '#016b6a',
|
|
2342
|
+
inputBorderColor: '#ffffff',
|
|
2343
|
+
inputOutlineColor: '#016b6a',
|
|
2344
|
+
outerBorderColor: '#17367d',
|
|
2345
|
+
outerBorderGap: 5,
|
|
2346
|
+
outerBorderWidth: 1
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
if: { checked: true },
|
|
2351
|
+
tokens: {
|
|
2352
|
+
inputBackgroundColor: '#016b6a',
|
|
2353
|
+
inputOutlineColor: '#016b6a'
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
if: { inactive: true },
|
|
2358
|
+
tokens: {
|
|
2359
|
+
inputBackgroundColor: '#c9c8c8',
|
|
2360
|
+
inputBorderColor: '#c9c8c8',
|
|
2361
|
+
inputOutlineColor: '#c9c8c8',
|
|
2362
|
+
labelColor: '#666666'
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
if: { checked: true, inactive: true },
|
|
2367
|
+
tokens: {
|
|
2368
|
+
checkedBackgroundColor: '#c9c8c8',
|
|
2369
|
+
inputBackgroundColor: '#c9c8c8',
|
|
2370
|
+
inputBorderColor: '#ffffff',
|
|
2371
|
+
inputBorderWidth: 3,
|
|
2372
|
+
inputOutlineColor: '#c9c8c8',
|
|
2373
|
+
inputOutlineWidth: 1,
|
|
2374
|
+
labelColor: '#666666'
|
|
2375
|
+
}
|
|
2068
2376
|
}
|
|
2069
2377
|
],
|
|
2070
2378
|
tokens: {
|
|
2071
2379
|
checkedBackgroundColor: '#016b6a',
|
|
2072
|
-
checkedSize:
|
|
2380
|
+
checkedSize: 16,
|
|
2073
2381
|
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2074
2382
|
containerBorderRadius: 0,
|
|
2075
2383
|
containerOpacity: 1,
|
|
@@ -2082,10 +2390,10 @@ module.exports = {
|
|
|
2082
2390
|
descriptionLineHeight: 1.4,
|
|
2083
2391
|
descriptionMarginLeft: null,
|
|
2084
2392
|
inputBackgroundColor: '#ffffff',
|
|
2085
|
-
inputBorderColor: '#
|
|
2393
|
+
inputBorderColor: '#ffffff',
|
|
2086
2394
|
inputBorderWidth: 2,
|
|
2087
|
-
inputOutlineColor: '
|
|
2088
|
-
inputOutlineWidth:
|
|
2395
|
+
inputOutlineColor: '#016b6a',
|
|
2396
|
+
inputOutlineWidth: 2,
|
|
2089
2397
|
inputSize: 20,
|
|
2090
2398
|
labelColor: '#000000',
|
|
2091
2399
|
labelFontName: 'StagSans',
|
|
@@ -2246,6 +2554,37 @@ module.exports = {
|
|
|
2246
2554
|
tokens: { direction: 'row', fieldSpace: 2, space: 2 }
|
|
2247
2555
|
},
|
|
2248
2556
|
RadioGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
|
|
2557
|
+
Ribbon: {
|
|
2558
|
+
appearances: {
|
|
2559
|
+
purpose: {
|
|
2560
|
+
type: 'variant',
|
|
2561
|
+
values: [ 'offer', 'default', 'editorial' ]
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
rules: [],
|
|
2565
|
+
tokens: {
|
|
2566
|
+
backgroundColor: '#000000',
|
|
2567
|
+
borderRadius: 4,
|
|
2568
|
+
boxShadowColor: '#000000',
|
|
2569
|
+
boxShadowPaddingBottom: 2,
|
|
2570
|
+
boxShadowPaddingLeft: 2,
|
|
2571
|
+
boxShadowPaddingRight: 2,
|
|
2572
|
+
boxShadowPaddingTop: 2,
|
|
2573
|
+
curveAfterBackgroundColor: '#000000',
|
|
2574
|
+
curveAfterHeight: 4,
|
|
2575
|
+
curveAfterRadius: 8,
|
|
2576
|
+
curveAfterWidth: 8,
|
|
2577
|
+
curveBackgroundColor: '#000000',
|
|
2578
|
+
curveHeight: 10,
|
|
2579
|
+
curveMarginTop: 4,
|
|
2580
|
+
curveWidth: 8,
|
|
2581
|
+
gradient: null,
|
|
2582
|
+
paddingBottom: 4,
|
|
2583
|
+
paddingLeft: 8,
|
|
2584
|
+
paddingRight: 8,
|
|
2585
|
+
paddingTop: 4
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2249
2588
|
Search: {
|
|
2250
2589
|
appearances: {
|
|
2251
2590
|
focus: {
|
|
@@ -3473,5 +3812,5 @@ module.exports = {
|
|
|
3473
3812
|
tokens: { size: 96 }
|
|
3474
3813
|
}
|
|
3475
3814
|
},
|
|
3476
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
3815
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.16.0' }
|
|
3477
3816
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.9.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.16.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.9.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -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": "3.
|
|
34
|
+
"version": "3.17.0"
|
|
35
35
|
}
|