@telus-uds/theme-allium 3.32.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 +1201 -923
- package/build/android/theme.json +545 -57
- package/build/ios/schema.json +1201 -923
- package/build/ios/theme.json +545 -57
- package/build/rn/schema.json +1201 -923
- package/build/rn/theme.js +190 -61
- package/package.json +5 -5
- package/theme.json +313 -63
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: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 ] } },
|
|
@@ -642,7 +659,6 @@ module.exports = {
|
|
|
642
659
|
}
|
|
643
660
|
],
|
|
644
661
|
tokens: {
|
|
645
|
-
alignSelf: 'flex-start',
|
|
646
662
|
backgroundColor: '#ffffff',
|
|
647
663
|
borderBottomWidth: 1,
|
|
648
664
|
borderColor: '#2b8000',
|
|
@@ -714,15 +730,25 @@ module.exports = {
|
|
|
714
730
|
},
|
|
715
731
|
rules: [
|
|
716
732
|
{ if: { open: true }, tokens: { icon: PaletteIconCaretUp } },
|
|
733
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
717
734
|
{
|
|
718
|
-
if: {
|
|
735
|
+
if: { selected: true },
|
|
736
|
+
tokens: { backgroundColor: '#4b286d', iconBackground: '#7c53a5' }
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
if: { hover: true, selected: true },
|
|
740
|
+
tokens: { backgroundColor: '#7c53a5', iconBackground: '#613889' }
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
if: { pressed: true, selected: true },
|
|
744
|
+
tokens: { backgroundColor: '#3f2a54', iconBackground: '#613889' }
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
if: { focus: true, selected: true },
|
|
719
748
|
tokens: {
|
|
720
|
-
backgroundColor: '#
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
color: '#ffffff',
|
|
724
|
-
iconBackground: '#414547',
|
|
725
|
-
iconColor: '#ffffff'
|
|
749
|
+
backgroundColor: '#4b286d',
|
|
750
|
+
iconBackground: '#7c53a5',
|
|
751
|
+
outerBorderColor: '#4b286d'
|
|
726
752
|
}
|
|
727
753
|
},
|
|
728
754
|
{
|
|
@@ -734,7 +760,19 @@ module.exports = {
|
|
|
734
760
|
outerBorderWidth: 2
|
|
735
761
|
}
|
|
736
762
|
},
|
|
737
|
-
{
|
|
763
|
+
{
|
|
764
|
+
if: { pressed: true },
|
|
765
|
+
tokens: {
|
|
766
|
+
backgroundColor: '#676e73',
|
|
767
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
768
|
+
borderWidth: 0,
|
|
769
|
+
color: '#ffffff',
|
|
770
|
+
iconBackground: '#414547',
|
|
771
|
+
iconColor: '#ffffff',
|
|
772
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
773
|
+
outerBorderWidth: 0
|
|
774
|
+
}
|
|
775
|
+
},
|
|
738
776
|
{
|
|
739
777
|
if: { selected: true },
|
|
740
778
|
tokens: {
|
|
@@ -759,14 +797,21 @@ module.exports = {
|
|
|
759
797
|
},
|
|
760
798
|
{
|
|
761
799
|
if: { focus: true, pressed: true, selected: true },
|
|
762
|
-
tokens: {
|
|
800
|
+
tokens: {
|
|
801
|
+
iconBackground: '#7c53a5',
|
|
802
|
+
outerBorderColor: '#3f2a54',
|
|
803
|
+
outerBorderGap: 2,
|
|
804
|
+
outerBorderWidth: 2
|
|
805
|
+
}
|
|
763
806
|
},
|
|
764
807
|
{
|
|
765
808
|
if: { inactive: true },
|
|
766
809
|
tokens: {
|
|
767
|
-
backgroundColor: '#
|
|
810
|
+
backgroundColor: '#ffffff',
|
|
768
811
|
borderWidth: 0,
|
|
769
|
-
color: '#
|
|
812
|
+
color: '#b2b9bf',
|
|
813
|
+
iconBackground: '#f4f4f7',
|
|
814
|
+
iconColor: '#b2b9bf'
|
|
770
815
|
}
|
|
771
816
|
}
|
|
772
817
|
],
|
|
@@ -789,7 +834,7 @@ module.exports = {
|
|
|
789
834
|
iconPadding: 2,
|
|
790
835
|
iconPosition: 'right',
|
|
791
836
|
iconSize: 16,
|
|
792
|
-
iconSpace:
|
|
837
|
+
iconSpace: 1,
|
|
793
838
|
iconTranslateX: 0,
|
|
794
839
|
iconTranslateY: 0,
|
|
795
840
|
lineHeight: 1.42857142857,
|
|
@@ -1391,15 +1436,15 @@ module.exports = {
|
|
|
1391
1436
|
},
|
|
1392
1437
|
{
|
|
1393
1438
|
if: { size: 'large' },
|
|
1394
|
-
tokens: { fontSize: 20, iconSize: 24
|
|
1439
|
+
tokens: { fontSize: 20, iconSize: 24 }
|
|
1395
1440
|
},
|
|
1396
1441
|
{
|
|
1397
1442
|
if: { size: 'small' },
|
|
1398
|
-
tokens: { fontSize: 14, iconSize: 14
|
|
1443
|
+
tokens: { fontSize: 14, iconSize: 14 }
|
|
1399
1444
|
},
|
|
1400
1445
|
{
|
|
1401
1446
|
if: { size: 'micro' },
|
|
1402
|
-
tokens: { fontSize: 12, iconSize: 12
|
|
1447
|
+
tokens: { fontSize: 12, iconSize: 12 }
|
|
1403
1448
|
}
|
|
1404
1449
|
],
|
|
1405
1450
|
tokens: {
|
|
@@ -1411,8 +1456,7 @@ module.exports = {
|
|
|
1411
1456
|
leftIcon: PaletteIconArrowLeft,
|
|
1412
1457
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1413
1458
|
rightIcon: PaletteIconArrowRight,
|
|
1414
|
-
textLine: 'none'
|
|
1415
|
-
textLineHeight: 2.25
|
|
1459
|
+
textLine: 'none'
|
|
1416
1460
|
}
|
|
1417
1461
|
},
|
|
1418
1462
|
Countdown: {
|
|
@@ -1638,7 +1682,51 @@ module.exports = {
|
|
|
1638
1682
|
tokens: { icon: PaletteIconCaretUp }
|
|
1639
1683
|
}
|
|
1640
1684
|
],
|
|
1641
|
-
tokens: {
|
|
1685
|
+
tokens: {
|
|
1686
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1687
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1688
|
+
borderWidth: 0,
|
|
1689
|
+
icon: PaletteIconCaretDown,
|
|
1690
|
+
iconColor: '#2b8000',
|
|
1691
|
+
iconGap: 8,
|
|
1692
|
+
iconPaddingTop: 4,
|
|
1693
|
+
iconPosition: 'left',
|
|
1694
|
+
iconSize: 16,
|
|
1695
|
+
justifyContent: 'flex-start',
|
|
1696
|
+
paddingBottom: 0,
|
|
1697
|
+
paddingLeft: 0,
|
|
1698
|
+
paddingRight: 0,
|
|
1699
|
+
paddingTop: 0,
|
|
1700
|
+
size: 4,
|
|
1701
|
+
verticalAlign: 'top'
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
ExpandCollapseMiniPanel: {
|
|
1705
|
+
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
1706
|
+
rules: [
|
|
1707
|
+
{
|
|
1708
|
+
if: { compact: true },
|
|
1709
|
+
tokens: {
|
|
1710
|
+
contentPaddingBottom: 16,
|
|
1711
|
+
contentPaddingRight: 0,
|
|
1712
|
+
contentPaddingTop: 8
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
tokens: {
|
|
1717
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1718
|
+
borderRadius: 0,
|
|
1719
|
+
borderWidth: 0,
|
|
1720
|
+
collapseDuration: 250,
|
|
1721
|
+
contentPaddingBottom: 16,
|
|
1722
|
+
contentPaddingLeft: 0,
|
|
1723
|
+
contentPaddingRight: 0,
|
|
1724
|
+
contentPaddingTop: 0,
|
|
1725
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1726
|
+
expandDividerWidth: 0,
|
|
1727
|
+
expandDuration: 300,
|
|
1728
|
+
marginBottom: 0
|
|
1729
|
+
}
|
|
1642
1730
|
},
|
|
1643
1731
|
ExpandCollapsePanel: {
|
|
1644
1732
|
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
@@ -1663,8 +1751,8 @@ module.exports = {
|
|
|
1663
1751
|
contentPaddingRight: 0,
|
|
1664
1752
|
contentPaddingTop: 0,
|
|
1665
1753
|
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1754
|
+
expandDividerWidth: 0,
|
|
1666
1755
|
expandDuration: 300,
|
|
1667
|
-
expanddDividerWidth: 0,
|
|
1668
1756
|
marginBottom: 0
|
|
1669
1757
|
}
|
|
1670
1758
|
},
|
|
@@ -1786,7 +1874,7 @@ module.exports = {
|
|
|
1786
1874
|
appearances: {},
|
|
1787
1875
|
rules: [],
|
|
1788
1876
|
tokens: {
|
|
1789
|
-
color:
|
|
1877
|
+
color: null,
|
|
1790
1878
|
fontName: 'HelveticaNow',
|
|
1791
1879
|
fontWeight: '400',
|
|
1792
1880
|
lineHeight: 1,
|
|
@@ -2264,15 +2352,11 @@ module.exports = {
|
|
|
2264
2352
|
},
|
|
2265
2353
|
{
|
|
2266
2354
|
if: { size: 'large' },
|
|
2267
|
-
tokens: { blockFontSize: 20, blockLineHeight: 1.
|
|
2355
|
+
tokens: { blockFontSize: 20, blockLineHeight: 1.25, iconSize: 24 }
|
|
2268
2356
|
},
|
|
2269
2357
|
{
|
|
2270
2358
|
if: { size: 'small' },
|
|
2271
|
-
tokens: {
|
|
2272
|
-
blockFontSize: 14,
|
|
2273
|
-
blockLineHeight: 1.42857142857,
|
|
2274
|
-
iconSize: 20
|
|
2275
|
-
}
|
|
2359
|
+
tokens: { blockFontSize: 14, blockLineHeight: 1, iconSize: 20 }
|
|
2276
2360
|
},
|
|
2277
2361
|
{
|
|
2278
2362
|
if: { size: 'micro' },
|
|
@@ -2280,7 +2364,7 @@ module.exports = {
|
|
|
2280
2364
|
blockFontName: 'HelveticaNow',
|
|
2281
2365
|
blockFontSize: 12,
|
|
2282
2366
|
blockFontWeight: '500',
|
|
2283
|
-
blockLineHeight: 1.
|
|
2367
|
+
blockLineHeight: 1.125,
|
|
2284
2368
|
iconSize: 16
|
|
2285
2369
|
}
|
|
2286
2370
|
},
|
|
@@ -3936,18 +4020,24 @@ module.exports = {
|
|
|
3936
4020
|
rules: [
|
|
3937
4021
|
{
|
|
3938
4022
|
if: { hover: true, inactive: null },
|
|
3939
|
-
tokens: {
|
|
3940
|
-
outerBackgroundColor: '#e3e6e8',
|
|
3941
|
-
outerBorderColor: '#e3e6e8'
|
|
3942
|
-
}
|
|
4023
|
+
tokens: { outerBorderWidth: 2 }
|
|
3943
4024
|
},
|
|
3944
4025
|
{
|
|
3945
4026
|
if: { focus: true },
|
|
3946
|
-
tokens: {
|
|
4027
|
+
tokens: {
|
|
4028
|
+
borderColor: '#7c53a5',
|
|
4029
|
+
borderWidth: 3,
|
|
4030
|
+
outerBorderWidth: 0
|
|
4031
|
+
}
|
|
3947
4032
|
},
|
|
3948
4033
|
{
|
|
3949
4034
|
if: { inactive: true },
|
|
3950
|
-
tokens: {
|
|
4035
|
+
tokens: {
|
|
4036
|
+
backgroundColor: '#f4f4f7',
|
|
4037
|
+
borderColor: '#f4f4f7',
|
|
4038
|
+
color: '#676e73',
|
|
4039
|
+
placeholderColor: '#676e73'
|
|
4040
|
+
}
|
|
3951
4041
|
}
|
|
3952
4042
|
],
|
|
3953
4043
|
tokens: {
|
|
@@ -3955,19 +4045,19 @@ module.exports = {
|
|
|
3955
4045
|
borderColor: '#676e73',
|
|
3956
4046
|
borderRadius: 32,
|
|
3957
4047
|
borderWidth: 1,
|
|
3958
|
-
buttonsGap:
|
|
4048
|
+
buttonsGap: 2,
|
|
3959
4049
|
clearButtonIcon: PaletteIconTimes,
|
|
3960
4050
|
color: '#414547',
|
|
3961
4051
|
fontName: 'HelveticaNow',
|
|
3962
4052
|
fontSize: 16,
|
|
3963
4053
|
fontWeight: '400',
|
|
3964
4054
|
lineHeight: 1.5,
|
|
3965
|
-
outerBackgroundColor: '
|
|
3966
|
-
outerBorderColor: '
|
|
4055
|
+
outerBackgroundColor: '#e3e6e8',
|
|
4056
|
+
outerBorderColor: '#e3e6e8',
|
|
3967
4057
|
outerBorderRadius: 32,
|
|
3968
|
-
outerBorderWidth:
|
|
4058
|
+
outerBorderWidth: 0,
|
|
3969
4059
|
paddingBottom: 12,
|
|
3970
|
-
paddingLeft:
|
|
4060
|
+
paddingLeft: 16,
|
|
3971
4061
|
paddingRight: 8,
|
|
3972
4062
|
paddingTop: 12,
|
|
3973
4063
|
placeholderColor: '#414547',
|
|
@@ -4031,12 +4121,19 @@ module.exports = {
|
|
|
4031
4121
|
}
|
|
4032
4122
|
},
|
|
4033
4123
|
{
|
|
4034
|
-
if: { inactive: true },
|
|
4124
|
+
if: { inactive: true, priority: 'high' },
|
|
4035
4125
|
tokens: {
|
|
4036
4126
|
backgroundColor: '#e3e6e8',
|
|
4037
4127
|
borderWidth: 0,
|
|
4038
4128
|
iconColor: '#676e73'
|
|
4039
4129
|
}
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
if: { inactive: true, priority: null },
|
|
4133
|
+
tokens: {
|
|
4134
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4135
|
+
iconColor: 'rgba(0, 0, 0, 0)'
|
|
4136
|
+
}
|
|
4040
4137
|
}
|
|
4041
4138
|
],
|
|
4042
4139
|
tokens: {
|
|
@@ -4282,10 +4379,12 @@ module.exports = {
|
|
|
4282
4379
|
appearances: {},
|
|
4283
4380
|
rules: [],
|
|
4284
4381
|
tokens: {
|
|
4382
|
+
animationDuration: 2000,
|
|
4285
4383
|
baseWidth: 40,
|
|
4286
4384
|
characters: 10,
|
|
4287
4385
|
color: '#b2b9bf',
|
|
4288
4386
|
radius: 99999999999999,
|
|
4387
|
+
secondColor: '#e3e6e8',
|
|
4289
4388
|
size: 3,
|
|
4290
4389
|
spaceBetweenLines: 2,
|
|
4291
4390
|
squareRadius: 4
|
|
@@ -5317,7 +5416,15 @@ module.exports = {
|
|
|
5317
5416
|
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
5417
|
' use the tokens prop.',
|
|
5319
5418
|
type: 'variant',
|
|
5320
|
-
values: [
|
|
5419
|
+
values: [
|
|
5420
|
+
'default', 'brand',
|
|
5421
|
+
'dark', 'light',
|
|
5422
|
+
'positive', 'warning',
|
|
5423
|
+
'danger', 'black',
|
|
5424
|
+
'white', 'brand2',
|
|
5425
|
+
'brand3', 'alternative1',
|
|
5426
|
+
'alternative2', 'alternative3'
|
|
5427
|
+
]
|
|
5321
5428
|
},
|
|
5322
5429
|
compact: {
|
|
5323
5430
|
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
@@ -5355,25 +5462,24 @@ module.exports = {
|
|
|
5355
5462
|
}
|
|
5356
5463
|
},
|
|
5357
5464
|
rules: [
|
|
5358
|
-
{ if: { colour: 'secondary' }, tokens: { color: '#414547' } },
|
|
5359
5465
|
{
|
|
5360
5466
|
if: { size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ] },
|
|
5361
5467
|
tokens: { color: '#4b286d' }
|
|
5362
5468
|
},
|
|
5363
5469
|
{
|
|
5364
5470
|
if: {
|
|
5365
|
-
colour: '
|
|
5471
|
+
colour: 'dark',
|
|
5366
5472
|
size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ]
|
|
5367
5473
|
},
|
|
5368
5474
|
tokens: { color: '#2c2e30' }
|
|
5369
5475
|
},
|
|
5370
5476
|
{
|
|
5371
|
-
if: { colour: '
|
|
5477
|
+
if: { colour: 'light', size: 'h6' },
|
|
5372
5478
|
tokens: { color: '#676e73' }
|
|
5373
5479
|
},
|
|
5374
5480
|
{ if: { size: 'eyebrow' }, tokens: { color: '#414547' } },
|
|
5375
5481
|
{
|
|
5376
|
-
if: { colour: '
|
|
5482
|
+
if: { colour: 'dark', size: 'eyebrow' },
|
|
5377
5483
|
tokens: { color: '#7c53a5' }
|
|
5378
5484
|
},
|
|
5379
5485
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
@@ -5586,6 +5692,29 @@ module.exports = {
|
|
|
5586
5692
|
{
|
|
5587
5693
|
if: { weight: 'bold' },
|
|
5588
5694
|
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
5695
|
+
},
|
|
5696
|
+
{ if: { colour: 'default' }, tokens: { color: '#414547' } },
|
|
5697
|
+
{ if: { colour: 'brand' }, tokens: { color: '#4b286d' } },
|
|
5698
|
+
{ if: { colour: 'dark' }, tokens: { color: '#2c2e30' } },
|
|
5699
|
+
{ if: { colour: 'light' }, tokens: { color: '#676e73' } },
|
|
5700
|
+
{ if: { colour: 'positive' }, tokens: { color: '#2b8000' } },
|
|
5701
|
+
{ if: { colour: 'warning' }, tokens: { color: '#b4872c' } },
|
|
5702
|
+
{ if: { colour: 'danger' }, tokens: { color: '#c12335' } },
|
|
5703
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
5704
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
5705
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#2b8000' } },
|
|
5706
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c53a5' } },
|
|
5707
|
+
{
|
|
5708
|
+
if: { colour: 'alternative1' },
|
|
5709
|
+
tokens: { color: '#4b286d' }
|
|
5710
|
+
},
|
|
5711
|
+
{
|
|
5712
|
+
if: { colour: 'alternative2' },
|
|
5713
|
+
tokens: { color: '#4b286d' }
|
|
5714
|
+
},
|
|
5715
|
+
{
|
|
5716
|
+
if: { colour: 'alternative3' },
|
|
5717
|
+
tokens: { color: '#4b286d' }
|
|
5589
5718
|
}
|
|
5590
5719
|
],
|
|
5591
5720
|
tokens: {
|
|
@@ -5791,5 +5920,5 @@ module.exports = {
|
|
|
5791
5920
|
tokens: { size: 96 }
|
|
5792
5921
|
}
|
|
5793
5922
|
},
|
|
5794
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
5923
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.30.0' }
|
|
5795
5924
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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.2",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.30.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.10"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.19.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.19.2"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|