@telus-uds/theme-allium 3.32.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 +1187 -916
- package/build/android/theme.json +537 -55
- package/build/ios/schema.json +1187 -916
- package/build/ios/theme.json +537 -55
- package/build/rn/schema.json +1187 -916
- package/build/rn/theme.js +187 -59
- package/package.json +5 -5
- package/theme.json +310 -61
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:54 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -178,60 +178,61 @@ module.exports = {
|
|
|
178
178
|
rules: [
|
|
179
179
|
{
|
|
180
180
|
if: { background: 'lightest' },
|
|
181
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
181
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
if: { background: 'lighter' },
|
|
185
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
185
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
if: { background: 'light' },
|
|
189
|
-
tokens: { backgroundColor: '#f4f4f7' }
|
|
189
|
+
tokens: { backgroundColor: '#f4f4f7', borderColor: '#f4f4f7' }
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
if: { background: 'dark' },
|
|
193
|
-
tokens: { backgroundColor: '#414547' }
|
|
193
|
+
tokens: { backgroundColor: '#414547', borderColor: '#414547' }
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
if: { background: 'darker' },
|
|
197
|
-
tokens: { backgroundColor: '#2c2e30' }
|
|
197
|
+
tokens: { backgroundColor: '#2c2e30', borderColor: '#2c2e30' }
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
if: { background: 'darkest' },
|
|
201
|
-
tokens: { backgroundColor: '#000000' }
|
|
201
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
if: { background: 'critical' },
|
|
205
|
-
tokens: { backgroundColor: '#c12335' }
|
|
205
|
+
tokens: { backgroundColor: '#c12335', borderColor: '#c12335' }
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
if: { background: 'danger' },
|
|
209
|
-
tokens: { backgroundColor: '#fff6f8' }
|
|
209
|
+
tokens: { backgroundColor: '#fff6f8', borderColor: '#fff6f8' }
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
if: { background: 'warning' },
|
|
213
|
-
tokens: { backgroundColor: '#fff9ee' }
|
|
213
|
+
tokens: { backgroundColor: '#fff9ee', borderColor: '#fff9ee' }
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
if: { background: 'positive' },
|
|
217
|
-
tokens: { backgroundColor: '#f4f9f2' }
|
|
217
|
+
tokens: { backgroundColor: '#f4f9f2', borderColor: '#f4f9f2' }
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
if: { background: 'brand' },
|
|
221
|
-
tokens: { backgroundColor: '#4b286d' }
|
|
221
|
+
tokens: { backgroundColor: '#4b286d', borderColor: '#4b286d' }
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
if: { background: 'white' },
|
|
225
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
225
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
if: { background: 'black' },
|
|
229
|
-
tokens: { backgroundColor: '#000000' }
|
|
229
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
if: { background: 'brandGradient' },
|
|
233
233
|
tokens: {
|
|
234
234
|
backgroundColor: null,
|
|
235
|
+
borderColor: null,
|
|
235
236
|
gradient: {
|
|
236
237
|
angle: 135,
|
|
237
238
|
stops: [
|
|
@@ -246,6 +247,7 @@ module.exports = {
|
|
|
246
247
|
if: { background: 'greenGradient' },
|
|
247
248
|
tokens: {
|
|
248
249
|
backgroundColor: null,
|
|
250
|
+
borderColor: null,
|
|
249
251
|
gradient: {
|
|
250
252
|
angle: 135,
|
|
251
253
|
stops: [
|
|
@@ -260,6 +262,7 @@ module.exports = {
|
|
|
260
262
|
if: { background: 'neutralGradient' },
|
|
261
263
|
tokens: {
|
|
262
264
|
backgroundColor: null,
|
|
265
|
+
borderColor: null,
|
|
263
266
|
gradient: {
|
|
264
267
|
angle: 180,
|
|
265
268
|
stops: [
|
|
@@ -274,6 +277,7 @@ module.exports = {
|
|
|
274
277
|
if: { background: 'purpleGradient' },
|
|
275
278
|
tokens: {
|
|
276
279
|
backgroundColor: null,
|
|
280
|
+
borderColor: null,
|
|
277
281
|
gradient: {
|
|
278
282
|
angle: 135,
|
|
279
283
|
stops: [
|
|
@@ -288,6 +292,7 @@ module.exports = {
|
|
|
288
292
|
if: { background: 'featurePrimary' },
|
|
289
293
|
tokens: {
|
|
290
294
|
backgroundColor: null,
|
|
295
|
+
borderColor: null,
|
|
291
296
|
gradient: {
|
|
292
297
|
angle: 135,
|
|
293
298
|
stops: [
|
|
@@ -302,6 +307,7 @@ module.exports = {
|
|
|
302
307
|
if: { background: 'featureSecondary' },
|
|
303
308
|
tokens: {
|
|
304
309
|
backgroundColor: null,
|
|
310
|
+
borderColor: null,
|
|
305
311
|
gradient: {
|
|
306
312
|
angle: 135,
|
|
307
313
|
stops: [
|
|
@@ -316,6 +322,7 @@ module.exports = {
|
|
|
316
322
|
if: { background: 'featureNeutral' },
|
|
317
323
|
tokens: {
|
|
318
324
|
backgroundColor: null,
|
|
325
|
+
borderColor: null,
|
|
319
326
|
gradient: {
|
|
320
327
|
angle: 180,
|
|
321
328
|
stops: [
|
|
@@ -330,6 +337,7 @@ module.exports = {
|
|
|
330
337
|
if: { background: 'featureBrand' },
|
|
331
338
|
tokens: {
|
|
332
339
|
backgroundColor: null,
|
|
340
|
+
borderColor: null,
|
|
333
341
|
gradient: {
|
|
334
342
|
angle: 135,
|
|
335
343
|
stops: [
|
|
@@ -341,7 +349,16 @@ module.exports = {
|
|
|
341
349
|
}
|
|
342
350
|
}
|
|
343
351
|
],
|
|
344
|
-
tokens: {
|
|
352
|
+
tokens: {
|
|
353
|
+
backgroundColor: null,
|
|
354
|
+
borderBottomLeftRadius: 0,
|
|
355
|
+
borderBottomRightRadius: 0,
|
|
356
|
+
borderColor: null,
|
|
357
|
+
borderTopLeftRadius: 0,
|
|
358
|
+
borderTopRightRadius: 0,
|
|
359
|
+
borderWidth: 0,
|
|
360
|
+
gradient: null
|
|
361
|
+
}
|
|
345
362
|
},
|
|
346
363
|
Breadcrumbs: {
|
|
347
364
|
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
@@ -714,15 +731,25 @@ module.exports = {
|
|
|
714
731
|
},
|
|
715
732
|
rules: [
|
|
716
733
|
{ if: { open: true }, tokens: { icon: PaletteIconCaretUp } },
|
|
734
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
717
735
|
{
|
|
718
|
-
if: {
|
|
736
|
+
if: { selected: true },
|
|
737
|
+
tokens: { backgroundColor: '#4b286d', iconBackground: '#7c53a5' }
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
if: { hover: true, selected: true },
|
|
741
|
+
tokens: { backgroundColor: '#7c53a5', iconBackground: '#613889' }
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
if: { pressed: true, selected: true },
|
|
745
|
+
tokens: { backgroundColor: '#3f2a54', iconBackground: '#613889' }
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
if: { focus: true, selected: true },
|
|
719
749
|
tokens: {
|
|
720
|
-
backgroundColor: '#
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
color: '#ffffff',
|
|
724
|
-
iconBackground: '#414547',
|
|
725
|
-
iconColor: '#ffffff'
|
|
750
|
+
backgroundColor: '#4b286d',
|
|
751
|
+
iconBackground: '#7c53a5',
|
|
752
|
+
outerBorderColor: '#4b286d'
|
|
726
753
|
}
|
|
727
754
|
},
|
|
728
755
|
{
|
|
@@ -734,7 +761,19 @@ module.exports = {
|
|
|
734
761
|
outerBorderWidth: 2
|
|
735
762
|
}
|
|
736
763
|
},
|
|
737
|
-
{
|
|
764
|
+
{
|
|
765
|
+
if: { pressed: true },
|
|
766
|
+
tokens: {
|
|
767
|
+
backgroundColor: '#676e73',
|
|
768
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
769
|
+
borderWidth: 0,
|
|
770
|
+
color: '#ffffff',
|
|
771
|
+
iconBackground: '#414547',
|
|
772
|
+
iconColor: '#ffffff',
|
|
773
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
774
|
+
outerBorderWidth: 0
|
|
775
|
+
}
|
|
776
|
+
},
|
|
738
777
|
{
|
|
739
778
|
if: { selected: true },
|
|
740
779
|
tokens: {
|
|
@@ -759,14 +798,21 @@ module.exports = {
|
|
|
759
798
|
},
|
|
760
799
|
{
|
|
761
800
|
if: { focus: true, pressed: true, selected: true },
|
|
762
|
-
tokens: {
|
|
801
|
+
tokens: {
|
|
802
|
+
iconBackground: '#7c53a5',
|
|
803
|
+
outerBorderColor: '#3f2a54',
|
|
804
|
+
outerBorderGap: 2,
|
|
805
|
+
outerBorderWidth: 2
|
|
806
|
+
}
|
|
763
807
|
},
|
|
764
808
|
{
|
|
765
809
|
if: { inactive: true },
|
|
766
810
|
tokens: {
|
|
767
|
-
backgroundColor: '#
|
|
811
|
+
backgroundColor: '#ffffff',
|
|
768
812
|
borderWidth: 0,
|
|
769
|
-
color: '#
|
|
813
|
+
color: '#b2b9bf',
|
|
814
|
+
iconBackground: '#f4f4f7',
|
|
815
|
+
iconColor: '#b2b9bf'
|
|
770
816
|
}
|
|
771
817
|
}
|
|
772
818
|
],
|
|
@@ -789,7 +835,7 @@ module.exports = {
|
|
|
789
835
|
iconPadding: 2,
|
|
790
836
|
iconPosition: 'right',
|
|
791
837
|
iconSize: 16,
|
|
792
|
-
iconSpace:
|
|
838
|
+
iconSpace: 1,
|
|
793
839
|
iconTranslateX: 0,
|
|
794
840
|
iconTranslateY: 0,
|
|
795
841
|
lineHeight: 1.42857142857,
|
|
@@ -1391,15 +1437,15 @@ module.exports = {
|
|
|
1391
1437
|
},
|
|
1392
1438
|
{
|
|
1393
1439
|
if: { size: 'large' },
|
|
1394
|
-
tokens: { fontSize: 20, iconSize: 24
|
|
1440
|
+
tokens: { fontSize: 20, iconSize: 24 }
|
|
1395
1441
|
},
|
|
1396
1442
|
{
|
|
1397
1443
|
if: { size: 'small' },
|
|
1398
|
-
tokens: { fontSize: 14, iconSize: 14
|
|
1444
|
+
tokens: { fontSize: 14, iconSize: 14 }
|
|
1399
1445
|
},
|
|
1400
1446
|
{
|
|
1401
1447
|
if: { size: 'micro' },
|
|
1402
|
-
tokens: { fontSize: 12, iconSize: 12
|
|
1448
|
+
tokens: { fontSize: 12, iconSize: 12 }
|
|
1403
1449
|
}
|
|
1404
1450
|
],
|
|
1405
1451
|
tokens: {
|
|
@@ -1411,8 +1457,7 @@ module.exports = {
|
|
|
1411
1457
|
leftIcon: PaletteIconArrowLeft,
|
|
1412
1458
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1413
1459
|
rightIcon: PaletteIconArrowRight,
|
|
1414
|
-
textLine: 'none'
|
|
1415
|
-
textLineHeight: 2.25
|
|
1460
|
+
textLine: 'none'
|
|
1416
1461
|
}
|
|
1417
1462
|
},
|
|
1418
1463
|
Countdown: {
|
|
@@ -1638,7 +1683,51 @@ module.exports = {
|
|
|
1638
1683
|
tokens: { icon: PaletteIconCaretUp }
|
|
1639
1684
|
}
|
|
1640
1685
|
],
|
|
1641
|
-
tokens: {
|
|
1686
|
+
tokens: {
|
|
1687
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1688
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1689
|
+
borderWidth: 0,
|
|
1690
|
+
icon: PaletteIconCaretDown,
|
|
1691
|
+
iconColor: '#2b8000',
|
|
1692
|
+
iconGap: 8,
|
|
1693
|
+
iconPaddingTop: 4,
|
|
1694
|
+
iconPosition: 'left',
|
|
1695
|
+
iconSize: 16,
|
|
1696
|
+
justifyContent: 'flex-start',
|
|
1697
|
+
paddingBottom: 0,
|
|
1698
|
+
paddingLeft: 0,
|
|
1699
|
+
paddingRight: 0,
|
|
1700
|
+
paddingTop: 0,
|
|
1701
|
+
size: 4,
|
|
1702
|
+
verticalAlign: 'top'
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
ExpandCollapseMiniPanel: {
|
|
1706
|
+
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
1707
|
+
rules: [
|
|
1708
|
+
{
|
|
1709
|
+
if: { compact: true },
|
|
1710
|
+
tokens: {
|
|
1711
|
+
contentPaddingBottom: 16,
|
|
1712
|
+
contentPaddingRight: 0,
|
|
1713
|
+
contentPaddingTop: 8
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
],
|
|
1717
|
+
tokens: {
|
|
1718
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1719
|
+
borderRadius: 0,
|
|
1720
|
+
borderWidth: 0,
|
|
1721
|
+
collapseDuration: 250,
|
|
1722
|
+
contentPaddingBottom: 16,
|
|
1723
|
+
contentPaddingLeft: 0,
|
|
1724
|
+
contentPaddingRight: 0,
|
|
1725
|
+
contentPaddingTop: 0,
|
|
1726
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1727
|
+
expandDividerWidth: 0,
|
|
1728
|
+
expandDuration: 300,
|
|
1729
|
+
marginBottom: 0
|
|
1730
|
+
}
|
|
1642
1731
|
},
|
|
1643
1732
|
ExpandCollapsePanel: {
|
|
1644
1733
|
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
@@ -1663,8 +1752,8 @@ module.exports = {
|
|
|
1663
1752
|
contentPaddingRight: 0,
|
|
1664
1753
|
contentPaddingTop: 0,
|
|
1665
1754
|
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1755
|
+
expandDividerWidth: 0,
|
|
1666
1756
|
expandDuration: 300,
|
|
1667
|
-
expanddDividerWidth: 0,
|
|
1668
1757
|
marginBottom: 0
|
|
1669
1758
|
}
|
|
1670
1759
|
},
|
|
@@ -2264,15 +2353,11 @@ module.exports = {
|
|
|
2264
2353
|
},
|
|
2265
2354
|
{
|
|
2266
2355
|
if: { size: 'large' },
|
|
2267
|
-
tokens: { blockFontSize: 20, blockLineHeight: 1.
|
|
2356
|
+
tokens: { blockFontSize: 20, blockLineHeight: 1.25, iconSize: 24 }
|
|
2268
2357
|
},
|
|
2269
2358
|
{
|
|
2270
2359
|
if: { size: 'small' },
|
|
2271
|
-
tokens: {
|
|
2272
|
-
blockFontSize: 14,
|
|
2273
|
-
blockLineHeight: 1.42857142857,
|
|
2274
|
-
iconSize: 20
|
|
2275
|
-
}
|
|
2360
|
+
tokens: { blockFontSize: 14, blockLineHeight: 1, iconSize: 20 }
|
|
2276
2361
|
},
|
|
2277
2362
|
{
|
|
2278
2363
|
if: { size: 'micro' },
|
|
@@ -2280,7 +2365,7 @@ module.exports = {
|
|
|
2280
2365
|
blockFontName: 'HelveticaNow',
|
|
2281
2366
|
blockFontSize: 12,
|
|
2282
2367
|
blockFontWeight: '500',
|
|
2283
|
-
blockLineHeight: 1.
|
|
2368
|
+
blockLineHeight: 1.125,
|
|
2284
2369
|
iconSize: 16
|
|
2285
2370
|
}
|
|
2286
2371
|
},
|
|
@@ -3936,18 +4021,24 @@ module.exports = {
|
|
|
3936
4021
|
rules: [
|
|
3937
4022
|
{
|
|
3938
4023
|
if: { hover: true, inactive: null },
|
|
3939
|
-
tokens: {
|
|
3940
|
-
outerBackgroundColor: '#e3e6e8',
|
|
3941
|
-
outerBorderColor: '#e3e6e8'
|
|
3942
|
-
}
|
|
4024
|
+
tokens: { outerBorderWidth: 2 }
|
|
3943
4025
|
},
|
|
3944
4026
|
{
|
|
3945
4027
|
if: { focus: true },
|
|
3946
|
-
tokens: {
|
|
4028
|
+
tokens: {
|
|
4029
|
+
borderColor: '#7c53a5',
|
|
4030
|
+
borderWidth: 3,
|
|
4031
|
+
outerBorderWidth: 0
|
|
4032
|
+
}
|
|
3947
4033
|
},
|
|
3948
4034
|
{
|
|
3949
4035
|
if: { inactive: true },
|
|
3950
|
-
tokens: {
|
|
4036
|
+
tokens: {
|
|
4037
|
+
backgroundColor: '#f4f4f7',
|
|
4038
|
+
borderColor: '#f4f4f7',
|
|
4039
|
+
color: '#676e73',
|
|
4040
|
+
placeholderColor: '#676e73'
|
|
4041
|
+
}
|
|
3951
4042
|
}
|
|
3952
4043
|
],
|
|
3953
4044
|
tokens: {
|
|
@@ -3955,19 +4046,19 @@ module.exports = {
|
|
|
3955
4046
|
borderColor: '#676e73',
|
|
3956
4047
|
borderRadius: 32,
|
|
3957
4048
|
borderWidth: 1,
|
|
3958
|
-
buttonsGap:
|
|
4049
|
+
buttonsGap: 2,
|
|
3959
4050
|
clearButtonIcon: PaletteIconTimes,
|
|
3960
4051
|
color: '#414547',
|
|
3961
4052
|
fontName: 'HelveticaNow',
|
|
3962
4053
|
fontSize: 16,
|
|
3963
4054
|
fontWeight: '400',
|
|
3964
4055
|
lineHeight: 1.5,
|
|
3965
|
-
outerBackgroundColor: '
|
|
3966
|
-
outerBorderColor: '
|
|
4056
|
+
outerBackgroundColor: '#e3e6e8',
|
|
4057
|
+
outerBorderColor: '#e3e6e8',
|
|
3967
4058
|
outerBorderRadius: 32,
|
|
3968
|
-
outerBorderWidth:
|
|
4059
|
+
outerBorderWidth: 0,
|
|
3969
4060
|
paddingBottom: 12,
|
|
3970
|
-
paddingLeft:
|
|
4061
|
+
paddingLeft: 16,
|
|
3971
4062
|
paddingRight: 8,
|
|
3972
4063
|
paddingTop: 12,
|
|
3973
4064
|
placeholderColor: '#414547',
|
|
@@ -4031,12 +4122,19 @@ module.exports = {
|
|
|
4031
4122
|
}
|
|
4032
4123
|
},
|
|
4033
4124
|
{
|
|
4034
|
-
if: { inactive: true },
|
|
4125
|
+
if: { inactive: true, priority: 'high' },
|
|
4035
4126
|
tokens: {
|
|
4036
4127
|
backgroundColor: '#e3e6e8',
|
|
4037
4128
|
borderWidth: 0,
|
|
4038
4129
|
iconColor: '#676e73'
|
|
4039
4130
|
}
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
if: { inactive: true, priority: null },
|
|
4134
|
+
tokens: {
|
|
4135
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4136
|
+
iconColor: 'rgba(0, 0, 0, 0)'
|
|
4137
|
+
}
|
|
4040
4138
|
}
|
|
4041
4139
|
],
|
|
4042
4140
|
tokens: {
|
|
@@ -5317,7 +5415,15 @@ module.exports = {
|
|
|
5317
5415
|
description: 'Each typography variant has a default color, and at least a secondary color variant. In exceptional cases where a different colour is needed,\n' +
|
|
5318
5416
|
' use the tokens prop.',
|
|
5319
5417
|
type: 'variant',
|
|
5320
|
-
values: [
|
|
5418
|
+
values: [
|
|
5419
|
+
'default', 'brand',
|
|
5420
|
+
'dark', 'light',
|
|
5421
|
+
'positive', 'warning',
|
|
5422
|
+
'danger', 'black',
|
|
5423
|
+
'white', 'brand2',
|
|
5424
|
+
'brand3', 'alternative1',
|
|
5425
|
+
'alternative2', 'alternative3'
|
|
5426
|
+
]
|
|
5321
5427
|
},
|
|
5322
5428
|
compact: {
|
|
5323
5429
|
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
@@ -5355,25 +5461,24 @@ module.exports = {
|
|
|
5355
5461
|
}
|
|
5356
5462
|
},
|
|
5357
5463
|
rules: [
|
|
5358
|
-
{ if: { colour: 'secondary' }, tokens: { color: '#414547' } },
|
|
5359
5464
|
{
|
|
5360
5465
|
if: { size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ] },
|
|
5361
5466
|
tokens: { color: '#4b286d' }
|
|
5362
5467
|
},
|
|
5363
5468
|
{
|
|
5364
5469
|
if: {
|
|
5365
|
-
colour: '
|
|
5470
|
+
colour: 'dark',
|
|
5366
5471
|
size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ]
|
|
5367
5472
|
},
|
|
5368
5473
|
tokens: { color: '#2c2e30' }
|
|
5369
5474
|
},
|
|
5370
5475
|
{
|
|
5371
|
-
if: { colour: '
|
|
5476
|
+
if: { colour: 'light', size: 'h6' },
|
|
5372
5477
|
tokens: { color: '#676e73' }
|
|
5373
5478
|
},
|
|
5374
5479
|
{ if: { size: 'eyebrow' }, tokens: { color: '#414547' } },
|
|
5375
5480
|
{
|
|
5376
|
-
if: { colour: '
|
|
5481
|
+
if: { colour: 'dark', size: 'eyebrow' },
|
|
5377
5482
|
tokens: { color: '#7c53a5' }
|
|
5378
5483
|
},
|
|
5379
5484
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
@@ -5586,6 +5691,29 @@ module.exports = {
|
|
|
5586
5691
|
{
|
|
5587
5692
|
if: { weight: 'bold' },
|
|
5588
5693
|
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
5694
|
+
},
|
|
5695
|
+
{ if: { colour: 'default' }, tokens: { color: '#414547' } },
|
|
5696
|
+
{ if: { colour: 'brand' }, tokens: { color: '#4b286d' } },
|
|
5697
|
+
{ if: { colour: 'dark' }, tokens: { color: '#2c2e30' } },
|
|
5698
|
+
{ if: { colour: 'light' }, tokens: { color: '#676e73' } },
|
|
5699
|
+
{ if: { colour: 'positive' }, tokens: { color: '#2b8000' } },
|
|
5700
|
+
{ if: { colour: 'warning' }, tokens: { color: '#b4872c' } },
|
|
5701
|
+
{ if: { colour: 'danger' }, tokens: { color: '#c12335' } },
|
|
5702
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
5703
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
5704
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#2b8000' } },
|
|
5705
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c53a5' } },
|
|
5706
|
+
{
|
|
5707
|
+
if: { colour: 'alternative1' },
|
|
5708
|
+
tokens: { color: '#4b286d' }
|
|
5709
|
+
},
|
|
5710
|
+
{
|
|
5711
|
+
if: { colour: 'alternative2' },
|
|
5712
|
+
tokens: { color: '#4b286d' }
|
|
5713
|
+
},
|
|
5714
|
+
{
|
|
5715
|
+
if: { colour: 'alternative3' },
|
|
5716
|
+
tokens: { color: '#4b286d' }
|
|
5589
5717
|
}
|
|
5590
5718
|
],
|
|
5591
5719
|
tokens: {
|
|
@@ -5791,5 +5919,5 @@ module.exports = {
|
|
|
5791
5919
|
tokens: { size: 96 }
|
|
5792
5920
|
}
|
|
5793
5921
|
},
|
|
5794
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
5922
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.29.0' }
|
|
5795
5923
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.19.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.19.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.29.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.9"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.19.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.19.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|