@telus-uds/themes-community.theme-allium 0.1.40 → 0.1.42
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 +1264 -938
- package/build/android/theme.json +88 -1
- package/build/ios/schema.json +1264 -938
- package/build/ios/theme.json +88 -1
- package/build/rn/schema.json +1264 -938
- package/build/rn/theme.js +45 -3
- package/package.json +2 -2
- package/theme.json +62 -0
package/build/rn/theme.js
CHANGED
|
@@ -1,16 +1,58 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 01 Nov 2023 00:53:20 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
components: {
|
|
11
|
+
components: {
|
|
12
|
+
ContentCard: {
|
|
13
|
+
appearances: {
|
|
14
|
+
focus: { type: 'state', values: [ true, false ] },
|
|
15
|
+
hover: { type: 'state', values: [ true, false ] },
|
|
16
|
+
pressed: { type: 'state', values: [ true, false ] }
|
|
17
|
+
},
|
|
18
|
+
rules: [
|
|
19
|
+
{ if: { hover: true }, tokens: { borderWidth: 2 } },
|
|
20
|
+
{
|
|
21
|
+
if: { pressed: true },
|
|
22
|
+
tokens: { backgroundColor: '#f4f4f7' }
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
if: { focus: true },
|
|
26
|
+
tokens: {
|
|
27
|
+
outerBorderColor: '#676e73',
|
|
28
|
+
outerBorderGap: 2,
|
|
29
|
+
outerBorderWidth: 2
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
tokens: {
|
|
34
|
+
backgroundColor: '#ffffff',
|
|
35
|
+
borderColor: '#e3e6e8',
|
|
36
|
+
borderRadius: 6,
|
|
37
|
+
borderWidth: 1,
|
|
38
|
+
contentAlignItems: 'stretch',
|
|
39
|
+
contentFlexGrow: 0,
|
|
40
|
+
contentFlexShrink: 1,
|
|
41
|
+
contentJustifyContent: 'flex-start',
|
|
42
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
43
|
+
outerBorderGap: 0,
|
|
44
|
+
outerBorderWidth: 0,
|
|
45
|
+
paddingBottom: 0,
|
|
46
|
+
paddingLeft: 0,
|
|
47
|
+
paddingRight: 0,
|
|
48
|
+
paddingTop: 0,
|
|
49
|
+
shadow: null
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
StickyNavigationBar: { appearances: {}, rules: [], tokens: {} }
|
|
53
|
+
},
|
|
12
54
|
metadata: {
|
|
13
55
|
name: 'themes-community.theme-allium',
|
|
14
|
-
themeTokensVersion: '2.
|
|
56
|
+
themeTokensVersion: '2.43.0'
|
|
15
57
|
}
|
|
16
58
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Sample theme",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@telus-uds/palette-allium": "*",
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.43.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"build": "UDS_PALETTE=@telus-uds/palette-allium system-tokens-build-subtheme",
|
|
26
26
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
27
27
|
},
|
|
28
|
-
"version": "0.1.
|
|
28
|
+
"version": "0.1.42"
|
|
29
29
|
}
|
package/theme.json
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"components": {
|
|
3
|
+
"ContentCard": {
|
|
4
|
+
"appearances": {
|
|
5
|
+
"focus": {
|
|
6
|
+
"type": "state",
|
|
7
|
+
"values": [true, false]
|
|
8
|
+
},
|
|
9
|
+
"hover": {
|
|
10
|
+
"type": "state",
|
|
11
|
+
"values": [true, false]
|
|
12
|
+
},
|
|
13
|
+
"pressed": {
|
|
14
|
+
"type": "state",
|
|
15
|
+
"values": [true, false]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"rules": [
|
|
19
|
+
{
|
|
20
|
+
"if": {
|
|
21
|
+
"hover": true
|
|
22
|
+
},
|
|
23
|
+
"tokens": {
|
|
24
|
+
"borderWidth": "{palette.border.border2}"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"if": {
|
|
29
|
+
"pressed": true
|
|
30
|
+
},
|
|
31
|
+
"tokens": {
|
|
32
|
+
"backgroundColor": "{palette.color.greyAthens}"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"if": {
|
|
37
|
+
"focus": true
|
|
38
|
+
},
|
|
39
|
+
"tokens": {
|
|
40
|
+
"outerBorderColor": "{palette.color.greyShuttle}",
|
|
41
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
42
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"tokens": {
|
|
47
|
+
"backgroundColor": "{palette.color.white}",
|
|
48
|
+
"borderColor": "{palette.color.greyMystic}",
|
|
49
|
+
"borderRadius": "{palette.radius.radius6}",
|
|
50
|
+
"borderWidth": "{palette.border.border1}",
|
|
51
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
52
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
53
|
+
"contentFlexShrink": "{system.integer.1}",
|
|
54
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
55
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
56
|
+
"outerBorderGap": "{palette.size.size0}",
|
|
57
|
+
"outerBorderWidth": "{palette.border.none}",
|
|
58
|
+
"paddingBottom": "{palette.size.size0}",
|
|
59
|
+
"paddingLeft": "{palette.size.size0}",
|
|
60
|
+
"paddingRight": "{palette.size.size0}",
|
|
61
|
+
"paddingTop": "{palette.size.size0}",
|
|
62
|
+
"shadow": "{system.shadow.none}"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
3
65
|
"StickyNavigationBar": {
|
|
4
66
|
"appearances": {},
|
|
5
67
|
"rules": [],
|