@telus-uds/theme-koodo 3.31.0 → 4.0.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 +409 -138
- package/build/android/theme.json +519 -90
- package/build/ios/schema.json +409 -138
- package/build/ios/theme.json +519 -90
- package/build/rn/schema.json +409 -138
- package/build/rn/theme.js +212 -84
- package/package.json +2 -2
- package/theme.json +330 -85
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 Fri, 02 Jun 2023 00:26:16 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 ] } },
|
|
@@ -672,8 +681,8 @@ module.exports = {
|
|
|
672
681
|
{
|
|
673
682
|
if: { pressed: true },
|
|
674
683
|
tokens: {
|
|
675
|
-
backgroundColor: '#
|
|
676
|
-
borderColor: '#
|
|
684
|
+
backgroundColor: '#1b4746',
|
|
685
|
+
borderColor: '#1b4746',
|
|
677
686
|
color: '#ffffff'
|
|
678
687
|
}
|
|
679
688
|
},
|
|
@@ -683,21 +692,13 @@ module.exports = {
|
|
|
683
692
|
},
|
|
684
693
|
{
|
|
685
694
|
if: { hover: true },
|
|
686
|
-
tokens: { backgroundColor: '#1b4746', iconColor: '#1b4746' }
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
if: { selected: true },
|
|
690
695
|
tokens: {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
696
|
+
backgroundColor: '#1b4746',
|
|
697
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
698
|
+
color: '#ffffff',
|
|
699
|
+
iconColor: '#ffffff'
|
|
695
700
|
}
|
|
696
701
|
},
|
|
697
|
-
{
|
|
698
|
-
if: { focus: true, pressed: true },
|
|
699
|
-
tokens: { outerBorderColor: '#016b6a' }
|
|
700
|
-
},
|
|
701
702
|
{
|
|
702
703
|
if: { inactive: true },
|
|
703
704
|
tokens: {
|
|
@@ -710,37 +711,68 @@ module.exports = {
|
|
|
710
711
|
{
|
|
711
712
|
if: { selected: true },
|
|
712
713
|
tokens: {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
714
|
+
backgroundColor: '#016b6a',
|
|
715
|
+
color: '#ffffff',
|
|
716
|
+
iconColor: '#ffffff',
|
|
717
|
+
outerBorderColor: 'transparent'
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
if: { hover: true, selected: true },
|
|
722
|
+
tokens: {
|
|
723
|
+
backgroundColor: '#1b4746',
|
|
724
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
717
725
|
}
|
|
718
726
|
},
|
|
719
727
|
{
|
|
720
728
|
if: { focus: true, selected: true },
|
|
721
|
-
tokens: {
|
|
729
|
+
tokens: {
|
|
730
|
+
backgroundColor: '#016b6a',
|
|
731
|
+
outerBorderColor: '#016b6a',
|
|
732
|
+
outerBorderGap: 2,
|
|
733
|
+
outerBorderWidth: 1
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
if: { hover: true, pressed: true, selected: true },
|
|
738
|
+
tokens: {
|
|
739
|
+
backgroundColor: '#1b4746',
|
|
740
|
+
borderColor: 'rgba(0, 0, 0, 0)'
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
if: { focus: true, pressed: true, selected: true },
|
|
745
|
+
tokens: { backgroundColor: '#1b4746', outerBorderColor: '#1b4746' }
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
if: { inactive: true },
|
|
749
|
+
tokens: {
|
|
750
|
+
backgroundColor: '#efefef',
|
|
751
|
+
color: '#c9c8c8',
|
|
752
|
+
iconColor: '#c9c8c8'
|
|
753
|
+
}
|
|
722
754
|
}
|
|
723
755
|
],
|
|
724
756
|
tokens: {
|
|
725
757
|
alignSelf: 'flex-start',
|
|
726
|
-
backgroundColor: '#
|
|
727
|
-
borderColor: '#
|
|
758
|
+
backgroundColor: '#ffffff',
|
|
759
|
+
borderColor: '#016b6a',
|
|
728
760
|
borderRadius: 4,
|
|
729
|
-
borderWidth:
|
|
730
|
-
color: '#
|
|
761
|
+
borderWidth: 1,
|
|
762
|
+
color: '#016b6a',
|
|
731
763
|
dividerColor: '#016b6a',
|
|
732
764
|
fontName: 'StagSans',
|
|
733
765
|
fontSize: 14,
|
|
734
766
|
fontWeight: '600',
|
|
735
767
|
icon: PaletteIconChevronDown,
|
|
736
768
|
iconAlignSelf: 'center',
|
|
737
|
-
iconBackground: '
|
|
769
|
+
iconBackground: 'rgba(0, 0, 0, 0)',
|
|
738
770
|
iconBorderRadius: 32,
|
|
739
771
|
iconColor: '#016b6a',
|
|
740
772
|
iconPadding: 4,
|
|
741
773
|
iconPosition: 'right',
|
|
742
774
|
iconSize: 20,
|
|
743
|
-
iconSpace:
|
|
775
|
+
iconSpace: 0,
|
|
744
776
|
iconTranslateX: 0,
|
|
745
777
|
iconTranslateY: 0,
|
|
746
778
|
lineHeight: 1.5,
|
|
@@ -749,7 +781,7 @@ module.exports = {
|
|
|
749
781
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
750
782
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
751
783
|
outerBorderGap: 2,
|
|
752
|
-
outerBorderWidth:
|
|
784
|
+
outerBorderWidth: 1,
|
|
753
785
|
paddingBottom: 8,
|
|
754
786
|
paddingLeft: 24,
|
|
755
787
|
paddingRight: 16,
|
|
@@ -935,9 +967,9 @@ module.exports = {
|
|
|
935
967
|
],
|
|
936
968
|
tokens: {
|
|
937
969
|
backgroundColor: '#ffffff',
|
|
938
|
-
borderColor:
|
|
939
|
-
borderRadius:
|
|
940
|
-
borderWidth:
|
|
970
|
+
borderColor: '#c9c8c8',
|
|
971
|
+
borderRadius: 8,
|
|
972
|
+
borderWidth: 1,
|
|
941
973
|
contentAlignItems: 'stretch',
|
|
942
974
|
contentFlexGrow: 0,
|
|
943
975
|
contentFlexShrink: 1,
|
|
@@ -1238,15 +1270,15 @@ module.exports = {
|
|
|
1238
1270
|
},
|
|
1239
1271
|
{
|
|
1240
1272
|
if: { size: 'large' },
|
|
1241
|
-
tokens: { fontSize: 20, iconSize: 24
|
|
1273
|
+
tokens: { fontSize: 20, iconSize: 24 }
|
|
1242
1274
|
},
|
|
1243
1275
|
{
|
|
1244
1276
|
if: { size: 'small' },
|
|
1245
|
-
tokens: { fontSize: 14, iconSize: 16
|
|
1277
|
+
tokens: { fontSize: 14, iconSize: 16 }
|
|
1246
1278
|
},
|
|
1247
1279
|
{
|
|
1248
1280
|
if: { size: 'micro' },
|
|
1249
|
-
tokens: { fontSize: 12, iconSize: 16
|
|
1281
|
+
tokens: { fontSize: 12, iconSize: 16 }
|
|
1250
1282
|
}
|
|
1251
1283
|
],
|
|
1252
1284
|
tokens: {
|
|
@@ -1258,8 +1290,7 @@ module.exports = {
|
|
|
1258
1290
|
leftIcon: PaletteIconChevronLeft,
|
|
1259
1291
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1260
1292
|
rightIcon: PaletteIconChevronRight,
|
|
1261
|
-
textLine: 'none'
|
|
1262
|
-
textLineHeight: 2.13
|
|
1293
|
+
textLine: 'none'
|
|
1263
1294
|
}
|
|
1264
1295
|
},
|
|
1265
1296
|
Countdown: {
|
|
@@ -1479,7 +1510,42 @@ module.exports = {
|
|
|
1479
1510
|
tokens: { icon: PaletteIconChevronUp }
|
|
1480
1511
|
}
|
|
1481
1512
|
],
|
|
1482
|
-
tokens: {
|
|
1513
|
+
tokens: {
|
|
1514
|
+
backgroundColor: null,
|
|
1515
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1516
|
+
borderWidth: 0,
|
|
1517
|
+
icon: PaletteIconChevronDown,
|
|
1518
|
+
iconColor: '#000000',
|
|
1519
|
+
iconGap: 8,
|
|
1520
|
+
iconPaddingTop: 4,
|
|
1521
|
+
iconPosition: 'left',
|
|
1522
|
+
iconSize: 16,
|
|
1523
|
+
justifyContent: 'flex-start',
|
|
1524
|
+
paddingBottom: 0,
|
|
1525
|
+
paddingLeft: 0,
|
|
1526
|
+
paddingRight: 0,
|
|
1527
|
+
paddingTop: 0,
|
|
1528
|
+
size: 4,
|
|
1529
|
+
verticalAlign: 'middle'
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
ExpandCollapseMiniPanel: {
|
|
1533
|
+
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
1534
|
+
rules: [ { if: { compact: true }, tokens: {} } ],
|
|
1535
|
+
tokens: {
|
|
1536
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1537
|
+
borderRadius: 0,
|
|
1538
|
+
borderWidth: 0,
|
|
1539
|
+
collapseDuration: 250,
|
|
1540
|
+
contentPaddingBottom: 16,
|
|
1541
|
+
contentPaddingLeft: 0,
|
|
1542
|
+
contentPaddingRight: 0,
|
|
1543
|
+
contentPaddingTop: 0,
|
|
1544
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1545
|
+
expandDividerWidth: 0,
|
|
1546
|
+
expandDuration: 300,
|
|
1547
|
+
marginBottom: 0
|
|
1548
|
+
}
|
|
1483
1549
|
},
|
|
1484
1550
|
ExpandCollapsePanel: {
|
|
1485
1551
|
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
@@ -1493,9 +1559,9 @@ module.exports = {
|
|
|
1493
1559
|
contentPaddingLeft: 16,
|
|
1494
1560
|
contentPaddingRight: 16,
|
|
1495
1561
|
contentPaddingTop: 16,
|
|
1496
|
-
expandDividerColor:
|
|
1562
|
+
expandDividerColor: null,
|
|
1563
|
+
expandDividerWidth: null,
|
|
1497
1564
|
expandDuration: 300,
|
|
1498
|
-
expanddDividerWidth: 0,
|
|
1499
1565
|
marginBottom: 8
|
|
1500
1566
|
}
|
|
1501
1567
|
},
|
|
@@ -2123,7 +2189,7 @@ module.exports = {
|
|
|
2123
2189
|
blockFontName: 'StagSans',
|
|
2124
2190
|
blockFontSize: 12,
|
|
2125
2191
|
blockFontWeight: '600',
|
|
2126
|
-
blockLineHeight: 1.
|
|
2192
|
+
blockLineHeight: 1.6,
|
|
2127
2193
|
iconSize: 16
|
|
2128
2194
|
}
|
|
2129
2195
|
},
|
|
@@ -2145,7 +2211,7 @@ module.exports = {
|
|
|
2145
2211
|
blockFontName: 'StagSans',
|
|
2146
2212
|
blockFontSize: 16,
|
|
2147
2213
|
blockFontWeight: '600',
|
|
2148
|
-
blockLineHeight: 1.
|
|
2214
|
+
blockLineHeight: 1.3,
|
|
2149
2215
|
borderRadius: 4,
|
|
2150
2216
|
color: '#016b6a',
|
|
2151
2217
|
icon: null,
|
|
@@ -3636,28 +3702,30 @@ module.exports = {
|
|
|
3636
3702
|
rules: [
|
|
3637
3703
|
{
|
|
3638
3704
|
if: { hover: true, inactive: null },
|
|
3639
|
-
tokens: {
|
|
3640
|
-
outerBackgroundColor: '#efefef',
|
|
3641
|
-
outerBorderColor: '#efefef'
|
|
3642
|
-
}
|
|
3705
|
+
tokens: { backgroundColor: '#e6e6e6' }
|
|
3643
3706
|
},
|
|
3644
3707
|
{
|
|
3645
|
-
if: { focus: true
|
|
3646
|
-
tokens: { borderColor: '#016b6a', borderWidth:
|
|
3708
|
+
if: { focus: true },
|
|
3709
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3 }
|
|
3647
3710
|
},
|
|
3648
3711
|
{
|
|
3649
3712
|
if: { inactive: true },
|
|
3650
|
-
tokens: {
|
|
3713
|
+
tokens: {
|
|
3714
|
+
backgroundColor: '#efefef',
|
|
3715
|
+
borderColor: '#efefef',
|
|
3716
|
+
color: '#666666',
|
|
3717
|
+
placeholderColor: '#666666'
|
|
3718
|
+
}
|
|
3651
3719
|
}
|
|
3652
3720
|
],
|
|
3653
3721
|
tokens: {
|
|
3654
3722
|
backgroundColor: '#ffffff',
|
|
3655
|
-
borderColor: '#
|
|
3656
|
-
borderRadius:
|
|
3723
|
+
borderColor: '#000000',
|
|
3724
|
+
borderRadius: 4,
|
|
3657
3725
|
borderWidth: 1,
|
|
3658
|
-
buttonsGap:
|
|
3726
|
+
buttonsGap: 2,
|
|
3659
3727
|
clearButtonIcon: PaletteIconTimes,
|
|
3660
|
-
color: '#
|
|
3728
|
+
color: '#000000',
|
|
3661
3729
|
fontName: 'StagSans',
|
|
3662
3730
|
fontSize: 16,
|
|
3663
3731
|
fontWeight: '400',
|
|
@@ -3665,12 +3733,12 @@ module.exports = {
|
|
|
3665
3733
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3666
3734
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3667
3735
|
outerBorderRadius: 32,
|
|
3668
|
-
outerBorderWidth:
|
|
3669
|
-
paddingBottom:
|
|
3670
|
-
paddingLeft:
|
|
3671
|
-
paddingRight:
|
|
3672
|
-
paddingTop:
|
|
3673
|
-
placeholderColor: '#
|
|
3736
|
+
outerBorderWidth: 0,
|
|
3737
|
+
paddingBottom: 12,
|
|
3738
|
+
paddingLeft: 16,
|
|
3739
|
+
paddingRight: 6,
|
|
3740
|
+
paddingTop: 12,
|
|
3741
|
+
placeholderColor: '#000000',
|
|
3674
3742
|
submitButtonIcon: PaletteIconSpyglass
|
|
3675
3743
|
}
|
|
3676
3744
|
},
|
|
@@ -3706,7 +3774,15 @@ module.exports = {
|
|
|
3706
3774
|
tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
|
|
3707
3775
|
},
|
|
3708
3776
|
{
|
|
3709
|
-
if: { hover: true },
|
|
3777
|
+
if: { hover: true, priority: null },
|
|
3778
|
+
tokens: {
|
|
3779
|
+
backgroundColor: '#016b6a',
|
|
3780
|
+
borderColor: '#016b6a',
|
|
3781
|
+
iconColor: '#ffffff'
|
|
3782
|
+
}
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
if: { hover: true, priority: 'high' },
|
|
3710
3786
|
tokens: {
|
|
3711
3787
|
backgroundColor: '#1b4746',
|
|
3712
3788
|
borderColor: '#1b4746',
|
|
@@ -3716,29 +3792,48 @@ module.exports = {
|
|
|
3716
3792
|
{
|
|
3717
3793
|
if: { focus: true },
|
|
3718
3794
|
tokens: {
|
|
3719
|
-
backgroundColor: '
|
|
3795
|
+
backgroundColor: '#ffffff',
|
|
3720
3796
|
borderColor: '#016b6a',
|
|
3721
|
-
borderWidth:
|
|
3797
|
+
borderWidth: 3,
|
|
3722
3798
|
iconColor: '#016b6a'
|
|
3723
3799
|
}
|
|
3724
3800
|
},
|
|
3725
3801
|
{
|
|
3726
3802
|
if: { pressed: true },
|
|
3727
3803
|
tokens: {
|
|
3728
|
-
backgroundColor: '#
|
|
3804
|
+
backgroundColor: '#1b4746',
|
|
3729
3805
|
borderColor: null,
|
|
3730
3806
|
borderWidth: 0,
|
|
3731
3807
|
iconColor: '#ffffff'
|
|
3732
3808
|
}
|
|
3733
3809
|
},
|
|
3734
|
-
{
|
|
3810
|
+
{
|
|
3811
|
+
if: { focus: true, pressed: true },
|
|
3812
|
+
tokens: {
|
|
3813
|
+
backgroundColor: '#1b4746',
|
|
3814
|
+
borderColor: null,
|
|
3815
|
+
borderWidth: 0,
|
|
3816
|
+
iconColor: '#ffffff'
|
|
3817
|
+
}
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
if: { inactive: true, priority: 'high' },
|
|
3821
|
+
tokens: { backgroundColor: '#efefef', iconColor: '#c9c8c8' }
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
if: { inactive: true, priority: null },
|
|
3825
|
+
tokens: {
|
|
3826
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3827
|
+
iconColor: 'rgba(0, 0, 0, 0)'
|
|
3828
|
+
}
|
|
3829
|
+
}
|
|
3735
3830
|
],
|
|
3736
3831
|
tokens: {
|
|
3737
3832
|
backgroundColor: null,
|
|
3738
3833
|
borderColor: null,
|
|
3739
3834
|
borderRadius: 32,
|
|
3740
3835
|
borderWidth: 0,
|
|
3741
|
-
iconColor: '#
|
|
3836
|
+
iconColor: '#016b6a',
|
|
3742
3837
|
iconSize: 20,
|
|
3743
3838
|
opacity: 1,
|
|
3744
3839
|
paddingBottom: 8,
|
|
@@ -4967,7 +5062,18 @@ module.exports = {
|
|
|
4967
5062
|
},
|
|
4968
5063
|
Typography: {
|
|
4969
5064
|
appearances: {
|
|
4970
|
-
colour: {
|
|
5065
|
+
colour: {
|
|
5066
|
+
type: 'variant',
|
|
5067
|
+
values: [
|
|
5068
|
+
'default', 'brand',
|
|
5069
|
+
'dark', 'light',
|
|
5070
|
+
'positive', 'warning',
|
|
5071
|
+
'danger', 'black',
|
|
5072
|
+
'white', 'brand2',
|
|
5073
|
+
'brand3', 'alternative1',
|
|
5074
|
+
'alternative2', 'alternative3'
|
|
5075
|
+
]
|
|
5076
|
+
},
|
|
4971
5077
|
compact: {
|
|
4972
5078
|
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
4973
5079
|
type: 'variant',
|
|
@@ -5127,7 +5233,29 @@ module.exports = {
|
|
|
5127
5233
|
}
|
|
5128
5234
|
},
|
|
5129
5235
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
5130
|
-
{ if: { colour: '
|
|
5236
|
+
{ if: { colour: 'default' }, tokens: { color: '#000000' } },
|
|
5237
|
+
{ if: { colour: 'brand' }, tokens: { color: '#016b6a' } },
|
|
5238
|
+
{ if: { colour: 'dark' }, tokens: { color: '#595959' } },
|
|
5239
|
+
{ if: { colour: 'light' }, tokens: { color: '#666666' } },
|
|
5240
|
+
{ if: { colour: 'positive' }, tokens: { color: '#016b6a' } },
|
|
5241
|
+
{ if: { colour: 'warning' }, tokens: { color: '#df3d0c' } },
|
|
5242
|
+
{ if: { colour: 'danger' }, tokens: { color: '#b8373e' } },
|
|
5243
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
5244
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
5245
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#17367d' } },
|
|
5246
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c1366' } },
|
|
5247
|
+
{
|
|
5248
|
+
if: { colour: 'alternative1' },
|
|
5249
|
+
tokens: { color: '#c53a70' }
|
|
5250
|
+
},
|
|
5251
|
+
{
|
|
5252
|
+
if: { colour: 'alternative2' },
|
|
5253
|
+
tokens: { color: '#8c0448' }
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
if: { colour: 'alternative3' },
|
|
5257
|
+
tokens: { color: '#258b0b' }
|
|
5258
|
+
}
|
|
5131
5259
|
],
|
|
5132
5260
|
tokens: {
|
|
5133
5261
|
color: '#000000',
|
|
@@ -5332,5 +5460,5 @@ module.exports = {
|
|
|
5332
5460
|
tokens: { size: 96 }
|
|
5333
5461
|
}
|
|
5334
5462
|
},
|
|
5335
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5463
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.29.0' }
|
|
5336
5464
|
}
|
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.29.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.0.0"
|
|
35
35
|
}
|