@telus-uds/theme-allium 4.4.0 → 4.5.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 +1022 -917
- package/build/android/theme.json +75 -4
- package/build/ios/schema.json +1022 -917
- package/build/ios/theme.json +75 -4
- package/build/rn/schema.json +1022 -917
- package/build/rn/theme.js +43 -6
- package/package.json +5 -5
- package/theme.json +35 -3
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, 20 Jun 2023 16:00:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -144,8 +144,24 @@ module.exports = {
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
BlockQuote: {
|
|
147
|
-
appearances: {
|
|
148
|
-
|
|
147
|
+
appearances: {
|
|
148
|
+
viewport: {
|
|
149
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
150
|
+
type: 'state',
|
|
151
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
rules: [
|
|
155
|
+
{
|
|
156
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
157
|
+
tokens: {
|
|
158
|
+
titleHeadingFontName: 'HelveticaNow',
|
|
159
|
+
titleHeadingFontSize: 24,
|
|
160
|
+
titleHeadingFontWeight: '400',
|
|
161
|
+
titleHeadingLineHeight: 1.33333333333
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
149
165
|
tokens: {
|
|
150
166
|
backgroundGradient: {
|
|
151
167
|
angle: 135,
|
|
@@ -156,11 +172,23 @@ module.exports = {
|
|
|
156
172
|
type: 'linear'
|
|
157
173
|
},
|
|
158
174
|
color: '#414547',
|
|
175
|
+
linkFontName: 'HelveticaNow',
|
|
176
|
+
linkFontSize: 16,
|
|
177
|
+
linkFontWeight: '700',
|
|
178
|
+
linkLineHeight: 1.5,
|
|
159
179
|
marginBottom: 16,
|
|
160
180
|
paddingBottom: 16,
|
|
161
181
|
paddingLeft: 32,
|
|
162
182
|
paddingRight: 32,
|
|
163
183
|
paddingTop: 16,
|
|
184
|
+
titleFontName: 'HelveticaNow',
|
|
185
|
+
titleFontSize: 20,
|
|
186
|
+
titleFontWeight: '400',
|
|
187
|
+
titleHeadingFontName: 'HelveticaNow',
|
|
188
|
+
titleHeadingFontSize: 28,
|
|
189
|
+
titleHeadingFontWeight: '400',
|
|
190
|
+
titleHeadingLineHeight: 1.28571428571,
|
|
191
|
+
titleLineHeight: 1.6,
|
|
164
192
|
width: 2
|
|
165
193
|
}
|
|
166
194
|
},
|
|
@@ -463,6 +491,7 @@ module.exports = {
|
|
|
463
491
|
if: { priority: 'high' },
|
|
464
492
|
tokens: {
|
|
465
493
|
backgroundColor: '#2b8000',
|
|
494
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
466
495
|
borderWidth: 0,
|
|
467
496
|
color: '#ffffff'
|
|
468
497
|
}
|
|
@@ -471,7 +500,7 @@ module.exports = {
|
|
|
471
500
|
if: { pressed: true },
|
|
472
501
|
tokens: {
|
|
473
502
|
backgroundColor: '#163e06',
|
|
474
|
-
|
|
503
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
475
504
|
color: '#ffffff'
|
|
476
505
|
}
|
|
477
506
|
},
|
|
@@ -507,6 +536,7 @@ module.exports = {
|
|
|
507
536
|
if: { inverse: true, pressed: true },
|
|
508
537
|
tokens: {
|
|
509
538
|
backgroundColor: 'rgba(255, 255, 255, 0.6)',
|
|
539
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
510
540
|
color: '#414547'
|
|
511
541
|
}
|
|
512
542
|
},
|
|
@@ -528,7 +558,11 @@ module.exports = {
|
|
|
528
558
|
},
|
|
529
559
|
{
|
|
530
560
|
if: { danger: true, pressed: true, priority: null },
|
|
531
|
-
tokens: {
|
|
561
|
+
tokens: {
|
|
562
|
+
backgroundColor: '#c12335',
|
|
563
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
564
|
+
color: '#ffffff'
|
|
565
|
+
}
|
|
532
566
|
},
|
|
533
567
|
{
|
|
534
568
|
if: { danger: true, focus: true, pressed: true, priority: null },
|
|
@@ -1546,6 +1580,9 @@ module.exports = {
|
|
|
1546
1580
|
calendarDayDefaultFontName: 'HelveticaNow',
|
|
1547
1581
|
calendarDayDefaultFontSize: 14,
|
|
1548
1582
|
calendarDayDefaultFontWeight: '400',
|
|
1583
|
+
calendarDaySelectedDisabledBackground: '#fafafa',
|
|
1584
|
+
calendarDaySelectedDisabledColor: '#ffffff',
|
|
1585
|
+
calendarDaySelectedDisabledContentBackgroundColor: '#b2b9bf',
|
|
1549
1586
|
calendarDaySelectedFocusBeforeBackground: '#ffffff',
|
|
1550
1587
|
calendarDaySelectedHoverBackground: '#ffffff',
|
|
1551
1588
|
calendarDaySelectedHoverBeforeBackground: '#ffffff',
|
|
@@ -6003,5 +6040,5 @@ module.exports = {
|
|
|
6003
6040
|
tokens: { size: 96 }
|
|
6004
6041
|
}
|
|
6005
6042
|
},
|
|
6006
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6043
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.34.0' }
|
|
6007
6044
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.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.21.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.21.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.34.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.14"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.21.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.21.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -125,16 +125,42 @@
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
"BlockQuote": {
|
|
128
|
-
"appearances": {
|
|
129
|
-
|
|
128
|
+
"appearances": {
|
|
129
|
+
"viewport": "{appearances.system.viewport}"
|
|
130
|
+
},
|
|
131
|
+
"rules": [
|
|
132
|
+
{
|
|
133
|
+
"if": {
|
|
134
|
+
"viewport": ["xs", "sm", "md"]
|
|
135
|
+
},
|
|
136
|
+
"tokens": {
|
|
137
|
+
"titleHeadingFontName": "{palette.fontName.HelveticaNow}",
|
|
138
|
+
"titleHeadingFontSize": "{palette.fontSize.size24}",
|
|
139
|
+
"titleHeadingFontWeight": "{palette.fontWeight.weight400}",
|
|
140
|
+
"titleHeadingLineHeight": "{palette.lineHeight.ratio4to3}"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
],
|
|
130
144
|
"tokens": {
|
|
131
145
|
"backgroundGradient": "{palette.gradient.purple}",
|
|
132
146
|
"color": "{palette.color.greyCharcoal}",
|
|
147
|
+
"linkFontName": "{palette.fontName.HelveticaNow}",
|
|
148
|
+
"linkFontSize": "{palette.fontSize.size16}",
|
|
149
|
+
"linkFontWeight": "{palette.fontWeight.weight700}",
|
|
150
|
+
"linkLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
133
151
|
"marginBottom": "{palette.size.size16}",
|
|
134
152
|
"paddingBottom": "{palette.size.size16}",
|
|
135
153
|
"paddingLeft": "{palette.size.size32}",
|
|
136
154
|
"paddingRight": "{palette.size.size32}",
|
|
137
155
|
"paddingTop": "{palette.size.size16}",
|
|
156
|
+
"titleFontName": "{palette.fontName.HelveticaNow}",
|
|
157
|
+
"titleFontSize": "{palette.fontSize.size20}",
|
|
158
|
+
"titleFontWeight": "{palette.fontWeight.weight400}",
|
|
159
|
+
"titleHeadingFontName": "{palette.fontName.HelveticaNow}",
|
|
160
|
+
"titleHeadingFontSize": "{palette.fontSize.size28}",
|
|
161
|
+
"titleHeadingFontWeight": "{palette.fontWeight.weight400}",
|
|
162
|
+
"titleHeadingLineHeight": "{palette.lineHeight.ratio9to7}",
|
|
163
|
+
"titleLineHeight": "{palette.lineHeight.ratio8to5}",
|
|
138
164
|
"width": "{palette.size.size2}"
|
|
139
165
|
}
|
|
140
166
|
},
|
|
@@ -464,6 +490,7 @@
|
|
|
464
490
|
},
|
|
465
491
|
"tokens": {
|
|
466
492
|
"backgroundColor": "{palette.color.greenAccessible}",
|
|
493
|
+
"borderColor": "{palette.color.transparent}",
|
|
467
494
|
"borderWidth": "{palette.border.none}",
|
|
468
495
|
"color": "{palette.color.white}"
|
|
469
496
|
}
|
|
@@ -474,7 +501,7 @@
|
|
|
474
501
|
},
|
|
475
502
|
"tokens": {
|
|
476
503
|
"backgroundColor": "{palette.color.greenDarkFern}",
|
|
477
|
-
"
|
|
504
|
+
"borderColor": "{palette.color.transparent}",
|
|
478
505
|
"color": "{palette.color.white}"
|
|
479
506
|
}
|
|
480
507
|
},
|
|
@@ -541,6 +568,7 @@
|
|
|
541
568
|
},
|
|
542
569
|
"tokens": {
|
|
543
570
|
"backgroundColor": "{palette.color.light60}",
|
|
571
|
+
"borderColor": "{palette.color.transparent}",
|
|
544
572
|
"color": "{palette.color.greyCharcoal}"
|
|
545
573
|
}
|
|
546
574
|
},
|
|
@@ -591,6 +619,7 @@
|
|
|
591
619
|
},
|
|
592
620
|
"tokens": {
|
|
593
621
|
"backgroundColor": "{palette.color.redDark}",
|
|
622
|
+
"borderColor": "{palette.color.transparent}",
|
|
594
623
|
"color": "{palette.color.white}"
|
|
595
624
|
}
|
|
596
625
|
},
|
|
@@ -1905,6 +1934,9 @@
|
|
|
1905
1934
|
"calendarDayDefaultFontName": "{palette.fontName.HelveticaNow}",
|
|
1906
1935
|
"calendarDayDefaultFontSize": "{palette.fontSize.size14}",
|
|
1907
1936
|
"calendarDayDefaultFontWeight": "{palette.fontWeight.weight400}",
|
|
1937
|
+
"calendarDaySelectedDisabledBackground": "{palette.color.greyAlabaster}",
|
|
1938
|
+
"calendarDaySelectedDisabledColor": "{palette.color.white}",
|
|
1939
|
+
"calendarDaySelectedDisabledContentBackgroundColor": "{palette.color.greyCloud}",
|
|
1908
1940
|
"calendarDaySelectedFocusBeforeBackground": "{palette.color.white}",
|
|
1909
1941
|
"calendarDaySelectedHoverBackground": "{palette.color.white}",
|
|
1910
1942
|
"calendarDaySelectedHoverBeforeBackground": "{palette.color.white}",
|