@telus-uds/themes-community.theme-allium 0.2.3 → 0.3.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.
@@ -0,0 +1,133 @@
1
+ {
2
+ "appearances": {
3
+ "focus": {
4
+ "description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
5
+ "type": "state",
6
+ "values": [true, false]
7
+ },
8
+ "hover": {
9
+ "description": "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
10
+ "type": "state",
11
+ "values": [true, false]
12
+ },
13
+ "pressed": {
14
+ "description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
15
+ "type": "state",
16
+ "values": [true, false]
17
+ },
18
+ "selected": {
19
+ "description": "Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.",
20
+ "type": "state",
21
+ "values": [true]
22
+ }
23
+ },
24
+ "rules": [
25
+ {
26
+ "if": {
27
+ "focus": true
28
+ },
29
+ "tokens": {
30
+ "color": {
31
+ "red": 0.2549,
32
+ "green": 0.27059,
33
+ "blue": 0.27843,
34
+ "alpha": 1
35
+ },
36
+ "outerBorderColor": {
37
+ "red": 0.2549,
38
+ "green": 0.27059,
39
+ "blue": 0.27843,
40
+ "alpha": 1
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "if": {
46
+ "hover": true
47
+ },
48
+ "tokens": {
49
+ "color": {
50
+ "red": 0.17255,
51
+ "green": 0.18039,
52
+ "blue": 0.18824,
53
+ "alpha": 1
54
+ },
55
+ "textLine": "underline"
56
+ }
57
+ },
58
+ {
59
+ "if": {
60
+ "pressed": true
61
+ },
62
+ "tokens": {
63
+ "color": {
64
+ "red": 0.17255,
65
+ "green": 0.18039,
66
+ "blue": 0.18824,
67
+ "alpha": 1
68
+ },
69
+ "textLine": "none"
70
+ }
71
+ },
72
+ {
73
+ "if": {
74
+ "focus": true,
75
+ "pressed": true
76
+ },
77
+ "tokens": {
78
+ "outerBorderColor": {
79
+ "red": 0.08627,
80
+ "green": 0.24314,
81
+ "blue": 0.02353,
82
+ "alpha": 1
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "if": {
88
+ "selected": true
89
+ },
90
+ "tokens": {
91
+ "blockFontName": "HelveticaNow",
92
+ "blockFontWeight": 700,
93
+ "color": {
94
+ "red": 0.17255,
95
+ "green": 0.18039,
96
+ "blue": 0.18824,
97
+ "alpha": 1
98
+ }
99
+ }
100
+ }
101
+ ],
102
+ "tokens": {
103
+ "alignSelf": "flex-start",
104
+ "blockFontName": "HelveticaNow",
105
+ "blockFontSize": 14,
106
+ "blockFontWeight": 400,
107
+ "blockLineHeight": 1.5,
108
+ "borderRadius": 4,
109
+ "color": {
110
+ "red": 0.17255,
111
+ "green": 0.18039,
112
+ "blue": 0.18824,
113
+ "alpha": 1
114
+ },
115
+ "externalLinkIcon": "PaletteIconLinkExternal",
116
+ "icon": null,
117
+ "iconSize": 20,
118
+ "iconSpace": 1,
119
+ "iconTranslateX": 0,
120
+ "iconTranslateY": 0,
121
+ "outerBorderColor": {
122
+ "red": 0,
123
+ "green": 0,
124
+ "blue": 0,
125
+ "alpha": 0
126
+ },
127
+ "outerBorderGap": 2,
128
+ "outerBorderOutline": "none",
129
+ "outerBorderWidth": 2,
130
+ "textLine": "none",
131
+ "textLineStyle": "solid"
132
+ }
133
+ }