@telus-uds/theme-koodo 3.31.0 → 4.1.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 +423 -145
- package/build/android/theme.json +532 -97
- package/build/ios/schema.json +423 -145
- package/build/ios/theme.json +532 -97
- package/build/rn/schema.json +423 -145
- package/build/rn/theme.js +218 -89
- package/package.json +2 -2
- package/theme.json +336 -90
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Tue,
|
|
4
|
+
* Generated on Tue, 06 Jun 2023 20:36:11 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -145,74 +145,83 @@ module.exports = {
|
|
|
145
145
|
rules: [
|
|
146
146
|
{
|
|
147
147
|
if: { background: 'lightest' },
|
|
148
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
148
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
if: { background: 'lighter' },
|
|
152
|
-
tokens: { backgroundColor: '#fafafa' }
|
|
152
|
+
tokens: { backgroundColor: '#fafafa', borderColor: '#fafafa' }
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
if: { background: 'light' },
|
|
156
|
-
tokens: { backgroundColor: '#efefef' }
|
|
156
|
+
tokens: { backgroundColor: '#efefef', borderColor: '#efefef' }
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
if: { background: 'dark' },
|
|
160
|
-
tokens: { backgroundColor: '#666666' }
|
|
160
|
+
tokens: { backgroundColor: '#666666', borderColor: '#666666' }
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
if: { background: 'darker' },
|
|
164
|
-
tokens: { backgroundColor: '#595959' }
|
|
164
|
+
tokens: { backgroundColor: '#595959', borderColor: '#595959' }
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
if: { background: 'darkest' },
|
|
168
|
-
tokens: { backgroundColor: '#000000' }
|
|
168
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
if: { background: 'critical' },
|
|
172
|
-
tokens: { backgroundColor: '#b8373e' }
|
|
172
|
+
tokens: { backgroundColor: '#b8373e', borderColor: '#b8373e' }
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
if: { background: 'danger' },
|
|
176
|
-
tokens: { backgroundColor: '#f8dde3' }
|
|
176
|
+
tokens: { backgroundColor: '#f8dde3', borderColor: '#f8dde3' }
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
if: { background: 'warning' },
|
|
180
|
-
tokens: { backgroundColor: '#feeec7' }
|
|
180
|
+
tokens: { backgroundColor: '#feeec7', borderColor: '#feeec7' }
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
if: { background: 'positive' },
|
|
184
|
-
tokens: { backgroundColor: '#e5f7fb' }
|
|
184
|
+
tokens: { backgroundColor: '#e5f7fb', borderColor: '#e5f7fb' }
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
if: { background: 'brand' },
|
|
188
|
-
tokens: { backgroundColor: '#016b6a' }
|
|
188
|
+
tokens: { backgroundColor: '#016b6a', borderColor: '#016b6a' }
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
if: { background: 'white' },
|
|
192
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
192
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
if: { background: 'black' },
|
|
196
|
-
tokens: { backgroundColor: '#000000' }
|
|
196
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
if: { background: 'featurePrimary' },
|
|
200
|
-
tokens: { backgroundColor: '#7c1366' }
|
|
200
|
+
tokens: { backgroundColor: '#7c1366', borderColor: '#7c1366' }
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
if: { background: 'featureSecondary' },
|
|
204
|
-
tokens: { backgroundColor: '#17367d' }
|
|
204
|
+
tokens: { backgroundColor: '#17367d', borderColor: '#17367d' }
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
if: { background: 'featureNeutral' },
|
|
208
|
-
tokens: { backgroundColor: '#595959' }
|
|
208
|
+
tokens: { backgroundColor: '#595959', borderColor: '#595959' }
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
if: { background: 'featureBrand' },
|
|
212
|
-
tokens: { backgroundColor: '#016b6a' }
|
|
212
|
+
tokens: { backgroundColor: '#016b6a', borderColor: '#016b6a' }
|
|
213
213
|
}
|
|
214
214
|
],
|
|
215
|
-
tokens: {
|
|
215
|
+
tokens: {
|
|
216
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
217
|
+
borderBottomLeftRadius: 0,
|
|
218
|
+
borderBottomRightRadius: 0,
|
|
219
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
220
|
+
borderTopLeftRadius: 0,
|
|
221
|
+
borderTopRightRadius: 0,
|
|
222
|
+
borderWidth: 0,
|
|
223
|
+
gradient: null
|
|
224
|
+
}
|
|
216
225
|
},
|
|
217
226
|
Breadcrumbs: {
|
|
218
227
|
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
@@ -594,7 +603,6 @@ module.exports = {
|
|
|
594
603
|
}
|
|
595
604
|
],
|
|
596
605
|
tokens: {
|
|
597
|
-
alignSelf: 'flex-start',
|
|
598
606
|
backgroundColor: '#ffffff',
|
|
599
607
|
borderBottomWidth: 1,
|
|
600
608
|
borderColor: '#016b6a',
|
|
@@ -672,8 +680,8 @@ module.exports = {
|
|
|
672
680
|
{
|
|
673
681
|
if: { pressed: true },
|
|
674
682
|
tokens: {
|
|
675
|
-
backgroundColor: '#
|
|
676
|
-
borderColor: '#
|
|
683
|
+
backgroundColor: '#1b4746',
|
|
684
|
+
borderColor: '#1b4746',
|
|
677
685
|
color: '#ffffff'
|
|
678
686
|
}
|
|
679
687
|
},
|
|
@@ -683,21 +691,13 @@ module.exports = {
|
|
|
683
691
|
},
|
|
684
692
|
{
|
|
685
693
|
if: { hover: true },
|
|
686
|
-
tokens: { backgroundColor: '#1b4746', iconColor: '#1b4746' }
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
if: { selected: true },
|
|
690
694
|
tokens: {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
+
backgroundColor: '#1b4746',
|
|
696
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
697
|
+
color: '#ffffff',
|
|
698
|
+
iconColor: '#ffffff'
|
|
695
699
|
}
|
|
696
700
|
},
|
|
697
|
-
{
|
|
698
|
-
if: { focus: true, pressed: true },
|
|
699
|
-
tokens: { outerBorderColor: '#016b6a' }
|
|
700
|
-
},
|
|
701
701
|
{
|
|
702
702
|
if: { inactive: true },
|
|
703
703
|
tokens: {
|
|
@@ -710,37 +710,68 @@ module.exports = {
|
|
|
710
710
|
{
|
|
711
711
|
if: { selected: true },
|
|
712
712
|
tokens: {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
713
|
+
backgroundColor: '#016b6a',
|
|
714
|
+
color: '#ffffff',
|
|
715
|
+
iconColor: '#ffffff',
|
|
716
|
+
outerBorderColor: 'transparent'
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
if: { hover: true, selected: true },
|
|
721
|
+
tokens: {
|
|
722
|
+
backgroundColor: '#1b4746',
|
|
723
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
717
724
|
}
|
|
718
725
|
},
|
|
719
726
|
{
|
|
720
727
|
if: { focus: true, selected: true },
|
|
721
|
-
tokens: {
|
|
728
|
+
tokens: {
|
|
729
|
+
backgroundColor: '#016b6a',
|
|
730
|
+
outerBorderColor: '#016b6a',
|
|
731
|
+
outerBorderGap: 2,
|
|
732
|
+
outerBorderWidth: 1
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
if: { hover: true, pressed: true, selected: true },
|
|
737
|
+
tokens: {
|
|
738
|
+
backgroundColor: '#1b4746',
|
|
739
|
+
borderColor: 'rgba(0, 0, 0, 0)'
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
if: { focus: true, pressed: true, selected: true },
|
|
744
|
+
tokens: { backgroundColor: '#1b4746', outerBorderColor: '#1b4746' }
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
if: { inactive: true },
|
|
748
|
+
tokens: {
|
|
749
|
+
backgroundColor: '#efefef',
|
|
750
|
+
color: '#c9c8c8',
|
|
751
|
+
iconColor: '#c9c8c8'
|
|
752
|
+
}
|
|
722
753
|
}
|
|
723
754
|
],
|
|
724
755
|
tokens: {
|
|
725
756
|
alignSelf: 'flex-start',
|
|
726
|
-
backgroundColor: '#
|
|
727
|
-
borderColor: '#
|
|
757
|
+
backgroundColor: '#ffffff',
|
|
758
|
+
borderColor: '#016b6a',
|
|
728
759
|
borderRadius: 4,
|
|
729
|
-
borderWidth:
|
|
730
|
-
color: '#
|
|
760
|
+
borderWidth: 1,
|
|
761
|
+
color: '#016b6a',
|
|
731
762
|
dividerColor: '#016b6a',
|
|
732
763
|
fontName: 'StagSans',
|
|
733
764
|
fontSize: 14,
|
|
734
765
|
fontWeight: '600',
|
|
735
766
|
icon: PaletteIconChevronDown,
|
|
736
767
|
iconAlignSelf: 'center',
|
|
737
|
-
iconBackground: '
|
|
768
|
+
iconBackground: 'rgba(0, 0, 0, 0)',
|
|
738
769
|
iconBorderRadius: 32,
|
|
739
770
|
iconColor: '#016b6a',
|
|
740
771
|
iconPadding: 4,
|
|
741
772
|
iconPosition: 'right',
|
|
742
773
|
iconSize: 20,
|
|
743
|
-
iconSpace:
|
|
774
|
+
iconSpace: 0,
|
|
744
775
|
iconTranslateX: 0,
|
|
745
776
|
iconTranslateY: 0,
|
|
746
777
|
lineHeight: 1.5,
|
|
@@ -749,7 +780,7 @@ module.exports = {
|
|
|
749
780
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
750
781
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
751
782
|
outerBorderGap: 2,
|
|
752
|
-
outerBorderWidth:
|
|
783
|
+
outerBorderWidth: 1,
|
|
753
784
|
paddingBottom: 8,
|
|
754
785
|
paddingLeft: 24,
|
|
755
786
|
paddingRight: 16,
|
|
@@ -935,9 +966,9 @@ module.exports = {
|
|
|
935
966
|
],
|
|
936
967
|
tokens: {
|
|
937
968
|
backgroundColor: '#ffffff',
|
|
938
|
-
borderColor:
|
|
939
|
-
borderRadius:
|
|
940
|
-
borderWidth:
|
|
969
|
+
borderColor: '#c9c8c8',
|
|
970
|
+
borderRadius: 8,
|
|
971
|
+
borderWidth: 1,
|
|
941
972
|
contentAlignItems: 'stretch',
|
|
942
973
|
contentFlexGrow: 0,
|
|
943
974
|
contentFlexShrink: 1,
|
|
@@ -1238,15 +1269,15 @@ module.exports = {
|
|
|
1238
1269
|
},
|
|
1239
1270
|
{
|
|
1240
1271
|
if: { size: 'large' },
|
|
1241
|
-
tokens: { fontSize: 20, iconSize: 24
|
|
1272
|
+
tokens: { fontSize: 20, iconSize: 24 }
|
|
1242
1273
|
},
|
|
1243
1274
|
{
|
|
1244
1275
|
if: { size: 'small' },
|
|
1245
|
-
tokens: { fontSize: 14, iconSize: 16
|
|
1276
|
+
tokens: { fontSize: 14, iconSize: 16 }
|
|
1246
1277
|
},
|
|
1247
1278
|
{
|
|
1248
1279
|
if: { size: 'micro' },
|
|
1249
|
-
tokens: { fontSize: 12, iconSize: 16
|
|
1280
|
+
tokens: { fontSize: 12, iconSize: 16 }
|
|
1250
1281
|
}
|
|
1251
1282
|
],
|
|
1252
1283
|
tokens: {
|
|
@@ -1258,8 +1289,7 @@ module.exports = {
|
|
|
1258
1289
|
leftIcon: PaletteIconChevronLeft,
|
|
1259
1290
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1260
1291
|
rightIcon: PaletteIconChevronRight,
|
|
1261
|
-
textLine: 'none'
|
|
1262
|
-
textLineHeight: 2.13
|
|
1292
|
+
textLine: 'none'
|
|
1263
1293
|
}
|
|
1264
1294
|
},
|
|
1265
1295
|
Countdown: {
|
|
@@ -1479,7 +1509,42 @@ module.exports = {
|
|
|
1479
1509
|
tokens: { icon: PaletteIconChevronUp }
|
|
1480
1510
|
}
|
|
1481
1511
|
],
|
|
1482
|
-
tokens: {
|
|
1512
|
+
tokens: {
|
|
1513
|
+
backgroundColor: null,
|
|
1514
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1515
|
+
borderWidth: 0,
|
|
1516
|
+
icon: PaletteIconChevronDown,
|
|
1517
|
+
iconColor: '#000000',
|
|
1518
|
+
iconGap: 8,
|
|
1519
|
+
iconPaddingTop: 4,
|
|
1520
|
+
iconPosition: 'left',
|
|
1521
|
+
iconSize: 16,
|
|
1522
|
+
justifyContent: 'flex-start',
|
|
1523
|
+
paddingBottom: 0,
|
|
1524
|
+
paddingLeft: 0,
|
|
1525
|
+
paddingRight: 0,
|
|
1526
|
+
paddingTop: 0,
|
|
1527
|
+
size: 4,
|
|
1528
|
+
verticalAlign: 'middle'
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
ExpandCollapseMiniPanel: {
|
|
1532
|
+
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
1533
|
+
rules: [ { if: { compact: true }, tokens: {} } ],
|
|
1534
|
+
tokens: {
|
|
1535
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1536
|
+
borderRadius: 0,
|
|
1537
|
+
borderWidth: 0,
|
|
1538
|
+
collapseDuration: 250,
|
|
1539
|
+
contentPaddingBottom: 16,
|
|
1540
|
+
contentPaddingLeft: 0,
|
|
1541
|
+
contentPaddingRight: 0,
|
|
1542
|
+
contentPaddingTop: 0,
|
|
1543
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1544
|
+
expandDividerWidth: 0,
|
|
1545
|
+
expandDuration: 300,
|
|
1546
|
+
marginBottom: 0
|
|
1547
|
+
}
|
|
1483
1548
|
},
|
|
1484
1549
|
ExpandCollapsePanel: {
|
|
1485
1550
|
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
@@ -1493,9 +1558,9 @@ module.exports = {
|
|
|
1493
1558
|
contentPaddingLeft: 16,
|
|
1494
1559
|
contentPaddingRight: 16,
|
|
1495
1560
|
contentPaddingTop: 16,
|
|
1496
|
-
expandDividerColor:
|
|
1561
|
+
expandDividerColor: null,
|
|
1562
|
+
expandDividerWidth: null,
|
|
1497
1563
|
expandDuration: 300,
|
|
1498
|
-
expanddDividerWidth: 0,
|
|
1499
1564
|
marginBottom: 8
|
|
1500
1565
|
}
|
|
1501
1566
|
},
|
|
@@ -1608,7 +1673,7 @@ module.exports = {
|
|
|
1608
1673
|
appearances: {},
|
|
1609
1674
|
rules: [],
|
|
1610
1675
|
tokens: {
|
|
1611
|
-
color:
|
|
1676
|
+
color: null,
|
|
1612
1677
|
fontName: 'StagSans',
|
|
1613
1678
|
fontWeight: '400',
|
|
1614
1679
|
lineHeight: 1,
|
|
@@ -2123,7 +2188,7 @@ module.exports = {
|
|
|
2123
2188
|
blockFontName: 'StagSans',
|
|
2124
2189
|
blockFontSize: 12,
|
|
2125
2190
|
blockFontWeight: '600',
|
|
2126
|
-
blockLineHeight: 1.
|
|
2191
|
+
blockLineHeight: 1.6,
|
|
2127
2192
|
iconSize: 16
|
|
2128
2193
|
}
|
|
2129
2194
|
},
|
|
@@ -2145,7 +2210,7 @@ module.exports = {
|
|
|
2145
2210
|
blockFontName: 'StagSans',
|
|
2146
2211
|
blockFontSize: 16,
|
|
2147
2212
|
blockFontWeight: '600',
|
|
2148
|
-
blockLineHeight: 1.
|
|
2213
|
+
blockLineHeight: 1.3,
|
|
2149
2214
|
borderRadius: 4,
|
|
2150
2215
|
color: '#016b6a',
|
|
2151
2216
|
icon: null,
|
|
@@ -3636,28 +3701,30 @@ module.exports = {
|
|
|
3636
3701
|
rules: [
|
|
3637
3702
|
{
|
|
3638
3703
|
if: { hover: true, inactive: null },
|
|
3639
|
-
tokens: {
|
|
3640
|
-
outerBackgroundColor: '#efefef',
|
|
3641
|
-
outerBorderColor: '#efefef'
|
|
3642
|
-
}
|
|
3704
|
+
tokens: { backgroundColor: '#e6e6e6' }
|
|
3643
3705
|
},
|
|
3644
3706
|
{
|
|
3645
|
-
if: { focus: true
|
|
3646
|
-
tokens: { borderColor: '#016b6a', borderWidth:
|
|
3707
|
+
if: { focus: true },
|
|
3708
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3 }
|
|
3647
3709
|
},
|
|
3648
3710
|
{
|
|
3649
3711
|
if: { inactive: true },
|
|
3650
|
-
tokens: {
|
|
3712
|
+
tokens: {
|
|
3713
|
+
backgroundColor: '#efefef',
|
|
3714
|
+
borderColor: '#efefef',
|
|
3715
|
+
color: '#666666',
|
|
3716
|
+
placeholderColor: '#666666'
|
|
3717
|
+
}
|
|
3651
3718
|
}
|
|
3652
3719
|
],
|
|
3653
3720
|
tokens: {
|
|
3654
3721
|
backgroundColor: '#ffffff',
|
|
3655
|
-
borderColor: '#
|
|
3656
|
-
borderRadius:
|
|
3722
|
+
borderColor: '#000000',
|
|
3723
|
+
borderRadius: 4,
|
|
3657
3724
|
borderWidth: 1,
|
|
3658
|
-
buttonsGap:
|
|
3725
|
+
buttonsGap: 2,
|
|
3659
3726
|
clearButtonIcon: PaletteIconTimes,
|
|
3660
|
-
color: '#
|
|
3727
|
+
color: '#000000',
|
|
3661
3728
|
fontName: 'StagSans',
|
|
3662
3729
|
fontSize: 16,
|
|
3663
3730
|
fontWeight: '400',
|
|
@@ -3665,12 +3732,12 @@ module.exports = {
|
|
|
3665
3732
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3666
3733
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3667
3734
|
outerBorderRadius: 32,
|
|
3668
|
-
outerBorderWidth:
|
|
3669
|
-
paddingBottom:
|
|
3670
|
-
paddingLeft:
|
|
3671
|
-
paddingRight:
|
|
3672
|
-
paddingTop:
|
|
3673
|
-
placeholderColor: '#
|
|
3735
|
+
outerBorderWidth: 0,
|
|
3736
|
+
paddingBottom: 12,
|
|
3737
|
+
paddingLeft: 16,
|
|
3738
|
+
paddingRight: 6,
|
|
3739
|
+
paddingTop: 12,
|
|
3740
|
+
placeholderColor: '#000000',
|
|
3674
3741
|
submitButtonIcon: PaletteIconSpyglass
|
|
3675
3742
|
}
|
|
3676
3743
|
},
|
|
@@ -3706,7 +3773,15 @@ module.exports = {
|
|
|
3706
3773
|
tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
|
|
3707
3774
|
},
|
|
3708
3775
|
{
|
|
3709
|
-
if: { hover: true },
|
|
3776
|
+
if: { hover: true, priority: null },
|
|
3777
|
+
tokens: {
|
|
3778
|
+
backgroundColor: '#016b6a',
|
|
3779
|
+
borderColor: '#016b6a',
|
|
3780
|
+
iconColor: '#ffffff'
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
if: { hover: true, priority: 'high' },
|
|
3710
3785
|
tokens: {
|
|
3711
3786
|
backgroundColor: '#1b4746',
|
|
3712
3787
|
borderColor: '#1b4746',
|
|
@@ -3716,29 +3791,48 @@ module.exports = {
|
|
|
3716
3791
|
{
|
|
3717
3792
|
if: { focus: true },
|
|
3718
3793
|
tokens: {
|
|
3719
|
-
backgroundColor: '
|
|
3794
|
+
backgroundColor: '#ffffff',
|
|
3720
3795
|
borderColor: '#016b6a',
|
|
3721
|
-
borderWidth:
|
|
3796
|
+
borderWidth: 3,
|
|
3722
3797
|
iconColor: '#016b6a'
|
|
3723
3798
|
}
|
|
3724
3799
|
},
|
|
3725
3800
|
{
|
|
3726
3801
|
if: { pressed: true },
|
|
3727
3802
|
tokens: {
|
|
3728
|
-
backgroundColor: '#
|
|
3803
|
+
backgroundColor: '#1b4746',
|
|
3804
|
+
borderColor: null,
|
|
3805
|
+
borderWidth: 0,
|
|
3806
|
+
iconColor: '#ffffff'
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
if: { focus: true, pressed: true },
|
|
3811
|
+
tokens: {
|
|
3812
|
+
backgroundColor: '#1b4746',
|
|
3729
3813
|
borderColor: null,
|
|
3730
3814
|
borderWidth: 0,
|
|
3731
3815
|
iconColor: '#ffffff'
|
|
3732
3816
|
}
|
|
3733
3817
|
},
|
|
3734
|
-
{
|
|
3818
|
+
{
|
|
3819
|
+
if: { inactive: true, priority: 'high' },
|
|
3820
|
+
tokens: { backgroundColor: '#efefef', iconColor: '#c9c8c8' }
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
if: { inactive: true, priority: null },
|
|
3824
|
+
tokens: {
|
|
3825
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3826
|
+
iconColor: 'rgba(0, 0, 0, 0)'
|
|
3827
|
+
}
|
|
3828
|
+
}
|
|
3735
3829
|
],
|
|
3736
3830
|
tokens: {
|
|
3737
3831
|
backgroundColor: null,
|
|
3738
3832
|
borderColor: null,
|
|
3739
3833
|
borderRadius: 32,
|
|
3740
3834
|
borderWidth: 0,
|
|
3741
|
-
iconColor: '#
|
|
3835
|
+
iconColor: '#016b6a',
|
|
3742
3836
|
iconSize: 20,
|
|
3743
3837
|
opacity: 1,
|
|
3744
3838
|
paddingBottom: 8,
|
|
@@ -3963,12 +4057,14 @@ module.exports = {
|
|
|
3963
4057
|
appearances: {},
|
|
3964
4058
|
rules: [],
|
|
3965
4059
|
tokens: {
|
|
4060
|
+
animationDuration: 2000,
|
|
3966
4061
|
baseWidth: 40,
|
|
3967
4062
|
characters: 10,
|
|
3968
|
-
color: '#
|
|
4063
|
+
color: '#c9c8c8',
|
|
3969
4064
|
radius: 99999999999999,
|
|
3970
|
-
|
|
3971
|
-
|
|
4065
|
+
secondColor: '#efefef',
|
|
4066
|
+
size: 3,
|
|
4067
|
+
spaceBetweenLines: 2,
|
|
3972
4068
|
squareRadius: 4
|
|
3973
4069
|
}
|
|
3974
4070
|
},
|
|
@@ -4967,7 +5063,18 @@ module.exports = {
|
|
|
4967
5063
|
},
|
|
4968
5064
|
Typography: {
|
|
4969
5065
|
appearances: {
|
|
4970
|
-
colour: {
|
|
5066
|
+
colour: {
|
|
5067
|
+
type: 'variant',
|
|
5068
|
+
values: [
|
|
5069
|
+
'default', 'brand',
|
|
5070
|
+
'dark', 'light',
|
|
5071
|
+
'positive', 'warning',
|
|
5072
|
+
'danger', 'black',
|
|
5073
|
+
'white', 'brand2',
|
|
5074
|
+
'brand3', 'alternative1',
|
|
5075
|
+
'alternative2', 'alternative3'
|
|
5076
|
+
]
|
|
5077
|
+
},
|
|
4971
5078
|
compact: {
|
|
4972
5079
|
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
4973
5080
|
type: 'variant',
|
|
@@ -5127,7 +5234,29 @@ module.exports = {
|
|
|
5127
5234
|
}
|
|
5128
5235
|
},
|
|
5129
5236
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
5130
|
-
{ if: { colour: '
|
|
5237
|
+
{ if: { colour: 'default' }, tokens: { color: '#000000' } },
|
|
5238
|
+
{ if: { colour: 'brand' }, tokens: { color: '#016b6a' } },
|
|
5239
|
+
{ if: { colour: 'dark' }, tokens: { color: '#595959' } },
|
|
5240
|
+
{ if: { colour: 'light' }, tokens: { color: '#666666' } },
|
|
5241
|
+
{ if: { colour: 'positive' }, tokens: { color: '#016b6a' } },
|
|
5242
|
+
{ if: { colour: 'warning' }, tokens: { color: '#df3d0c' } },
|
|
5243
|
+
{ if: { colour: 'danger' }, tokens: { color: '#b8373e' } },
|
|
5244
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
5245
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
5246
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#17367d' } },
|
|
5247
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c1366' } },
|
|
5248
|
+
{
|
|
5249
|
+
if: { colour: 'alternative1' },
|
|
5250
|
+
tokens: { color: '#c53a70' }
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
if: { colour: 'alternative2' },
|
|
5254
|
+
tokens: { color: '#8c0448' }
|
|
5255
|
+
},
|
|
5256
|
+
{
|
|
5257
|
+
if: { colour: 'alternative3' },
|
|
5258
|
+
tokens: { color: '#258b0b' }
|
|
5259
|
+
}
|
|
5131
5260
|
],
|
|
5132
5261
|
tokens: {
|
|
5133
5262
|
color: '#000000',
|
|
@@ -5332,5 +5461,5 @@ module.exports = {
|
|
|
5332
5461
|
tokens: { size: 96 }
|
|
5333
5462
|
}
|
|
5334
5463
|
},
|
|
5335
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5464
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.30.0' }
|
|
5336
5465
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@telus-uds/palette-koodo": "^0.17.0",
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.30.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": "
|
|
34
|
+
"version": "4.1.0"
|
|
35
35
|
}
|