@telus-uds/theme-allium 0.0.2-prerelease.5 → 1.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.
Files changed (84) hide show
  1. package/CHANGELOG.md +1946 -0
  2. package/README.md +3 -9
  3. package/build/schema.json +8279 -0
  4. package/build/theme.js +2994 -0
  5. package/package.json +12 -15
  6. package/theme.json +3731 -0
  7. package/lib/components/ActivityIndicator.js +0 -35
  8. package/lib/components/Box.js +0 -89
  9. package/lib/components/Button.js +0 -252
  10. package/lib/components/ButtonGroup.js +0 -34
  11. package/lib/components/ButtonGroupItem.js +0 -108
  12. package/lib/components/Card.js +0 -120
  13. package/lib/components/Checkbox.js +0 -80
  14. package/lib/components/ChevronLink.js +0 -39
  15. package/lib/components/Divider.js +0 -44
  16. package/lib/components/ExpandCollapse.js +0 -23
  17. package/lib/components/ExpandCollapseControl.js +0 -49
  18. package/lib/components/ExpandCollapsePanel.js +0 -25
  19. package/lib/components/Feedback.js +0 -89
  20. package/lib/components/Icon.js +0 -47
  21. package/lib/components/InputLabel.js +0 -33
  22. package/lib/components/InputSupports.js +0 -19
  23. package/lib/components/Link.js +0 -241
  24. package/lib/components/List.js +0 -86
  25. package/lib/components/Pagination.js +0 -40
  26. package/lib/components/PaginationPageButton.js +0 -82
  27. package/lib/components/PaginationSideButton.js +0 -113
  28. package/lib/components/Radio.js +0 -78
  29. package/lib/components/Select.js +0 -102
  30. package/lib/components/SideNav.js +0 -23
  31. package/lib/components/SideNavItem.js +0 -118
  32. package/lib/components/SideNavItemsGroup.js +0 -49
  33. package/lib/components/Skeleton.js +0 -26
  34. package/lib/components/StackView.js +0 -22
  35. package/lib/components/Tags.js +0 -34
  36. package/lib/components/TagsItem.js +0 -133
  37. package/lib/components/TextArea.js +0 -20
  38. package/lib/components/TextInput.js +0 -97
  39. package/lib/components/ToggleSwitch.js +0 -144
  40. package/lib/components/Tooltip.js +0 -48
  41. package/lib/components/TooltipButton.js +0 -86
  42. package/lib/components/Typography.js +0 -370
  43. package/lib/components/index.js +0 -303
  44. package/lib/components/spacingScale.js +0 -163
  45. package/lib/index.js +0 -30
  46. package/src/components/ActivityIndicator.js +0 -25
  47. package/src/components/Box.js +0 -35
  48. package/src/components/Button.js +0 -174
  49. package/src/components/ButtonGroup.js +0 -16
  50. package/src/components/ButtonGroupItem.js +0 -88
  51. package/src/components/Card.js +0 -99
  52. package/src/components/Checkbox.js +0 -65
  53. package/src/components/ChevronLink.js +0 -19
  54. package/src/components/Divider.js +0 -34
  55. package/src/components/ExpandCollapse.js +0 -12
  56. package/src/components/ExpandCollapseControl.js +0 -29
  57. package/src/components/ExpandCollapsePanel.js +0 -15
  58. package/src/components/Feedback.js +0 -75
  59. package/src/components/Icon.js +0 -35
  60. package/src/components/InputLabel.js +0 -29
  61. package/src/components/InputSupports.js +0 -9
  62. package/src/components/Link.js +0 -211
  63. package/src/components/List.js +0 -70
  64. package/src/components/Pagination.js +0 -30
  65. package/src/components/PaginationPageButton.js +0 -71
  66. package/src/components/PaginationSideButton.js +0 -99
  67. package/src/components/Radio.js +0 -64
  68. package/src/components/Select.js +0 -88
  69. package/src/components/SideNav.js +0 -12
  70. package/src/components/SideNavItem.js +0 -115
  71. package/src/components/SideNavItemsGroup.js +0 -34
  72. package/src/components/Skeleton.js +0 -16
  73. package/src/components/StackView.js +0 -12
  74. package/src/components/Tags.js +0 -16
  75. package/src/components/TagsItem.js +0 -118
  76. package/src/components/TextArea.js +0 -10
  77. package/src/components/TextInput.js +0 -83
  78. package/src/components/ToggleSwitch.js +0 -118
  79. package/src/components/Tooltip.js +0 -41
  80. package/src/components/TooltipButton.js +0 -68
  81. package/src/components/Typography.js +0 -355
  82. package/src/components/index.js +0 -37
  83. package/src/components/spacingScale.js +0 -36
  84. package/src/index.js +0 -17
@@ -1,19 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
- import { appearances } from '@telus-uds/system-themes/schema'
4
-
5
- import leftArrowIcon from '@telus-uds/palette-allium/build/rn/icons/arrow-left.icon.svg'
6
- import rightArrowIcon from '@telus-uds/palette-allium/build/rn/icons/arrow-right.icon.svg'
7
-
8
- export default {
9
- appearances: {
10
- hover: appearances.ChevronLink.hover
11
- },
12
- tokens: {
13
- leftIcon: leftArrowIcon,
14
- rightIcon: rightArrowIcon,
15
- iconDisplace: palette.size.size0,
16
- iconSpace: system.integer[0]
17
- },
18
- rules: [{ if: { hover: true }, tokens: { iconDisplace: palette.size.size4 } }]
19
- }
@@ -1,34 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
-
3
- export default {
4
- appearances: {
5
- weight: {
6
- values: ['thick'],
7
- type: 'variant'
8
- },
9
- decorative: {
10
- description:
11
- 'Use a decorative divider to highlight an element. Non-decorative dividers are for clearly identifying separation of content.',
12
- values: [true],
13
- type: 'variant'
14
- }
15
- },
16
- tokens: {
17
- width: palette.border.border1,
18
- color: palette.color.greyShuttle
19
- },
20
- rules: [
21
- {
22
- if: { weight: 'thick' },
23
- tokens: {
24
- width: palette.border.border2
25
- }
26
- },
27
- {
28
- if: { decorative: true },
29
- tokens: {
30
- color: palette.color.greyCloud
31
- }
32
- }
33
- ]
34
- }
@@ -1,12 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
-
4
- export default {
5
- appearances: {},
6
- tokens: {
7
- borderColor: palette.color.greyCloud,
8
- borderWidth: palette.border.border1,
9
- borderStyle: system.borderStyle.solid
10
- },
11
- rules: []
12
- }
@@ -1,29 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import { appearances } from '@telus-uds/system-themes/schema'
3
-
4
- import CaretUp from '@telus-uds/palette-allium/build/rn/icons/caret-up.icon.svg'
5
- import CaretDown from '@telus-uds/palette-allium/build/rn/icons/caret-down.icon.svg'
6
- import system from '@telus-uds/system-themes/src/tokens/rn'
7
-
8
- export default {
9
- appearances: {
10
- expanded: appearances.ExpandCollapseControl.expanded
11
- },
12
- tokens: {
13
- icon: CaretDown,
14
- iconColor: palette.color.greenAccessible,
15
- iconSize: palette.size.size24,
16
- iconGap: palette.size.size8,
17
- iconPosition: system.position.left,
18
- verticalAlign: system.verticalAlign.top,
19
- justifyContent: system.flexJustifyContent.flexStart,
20
- paddingLeft: palette.size.size8,
21
- paddingRight: palette.size.size16,
22
- paddingTop: palette.size.size16,
23
- paddingBottom: palette.size.size16,
24
- borderWidth: system.border.zero,
25
- borderColor: palette.color.transparent,
26
- backgroundColor: palette.color.transparent
27
- },
28
- rules: [{ if: { expanded: true }, tokens: { icon: CaretUp } }]
29
- }
@@ -1,15 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
-
3
- export default {
4
- appearances: {},
5
- tokens: {
6
- // animate slightly faster when closing
7
- expandDuration: palette.duration.duration300,
8
- collapseDuration: palette.duration.duration250,
9
- contentPaddingLeft: palette.size.size40,
10
- contentPaddingRight: palette.size.size16,
11
- contentPaddingTop: palette.size.size0,
12
- contentPaddingBottom: palette.size.size16
13
- },
14
- rules: []
15
- }
@@ -1,75 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
- import { appearances } from '@telus-uds/system-themes/schema'
4
-
5
- import errorIcon from '@telus-uds/palette-allium/build/rn/icons/notification-error.icon.svg'
6
- import successIcon from '@telus-uds/palette-allium/build/rn/icons/notification-success.icon.svg'
7
-
8
- export default {
9
- appearances: {
10
- validation: appearances.Feedback.validation,
11
- icon: {
12
- values: [true],
13
- type: 'variant'
14
- }
15
- },
16
- tokens: {
17
- backgroundColor: palette.color.greyAthens,
18
- borderColor: palette.color.greyMystic,
19
- borderWidth: palette.border.border1,
20
- borderRadius: palette.radius.radius4,
21
- paddingTop: palette.size.size12,
22
- paddingBottom: palette.size.size12,
23
- paddingLeft: palette.size.size16,
24
- paddingRight: palette.size.size16,
25
- space: system.integer[2],
26
-
27
- color: palette.color.greyThunder,
28
-
29
- // TODO: replace with font token
30
- fontName: Object.keys(palette.font)[0],
31
- fontWeight: '400',
32
- // font: palette.font.HelveticaNow[400]
33
-
34
- lineHeight: palette.lineHeight.ratio3to2,
35
- titleFontSize: palette.fontSize.size16,
36
- contentFontSize: palette.fontSize.size14,
37
-
38
- icon: system.icon.none,
39
- iconSize: palette.fontSize.size24,
40
- iconColor: palette.color.transparent,
41
- iconGap: palette.size.size8
42
- },
43
- rules: [
44
- {
45
- if: { validation: 'success' },
46
- tokens: {
47
- backgroundColor: palette.color.greenPanache,
48
- borderColor: palette.color.greenPanache,
49
- color: palette.color.greenDarkFern
50
- }
51
- },
52
- {
53
- if: { validation: 'error' },
54
- tokens: {
55
- backgroundColor: palette.color.redLight,
56
- borderColor: palette.color.redLight,
57
- color: palette.color.red
58
- }
59
- },
60
- {
61
- if: { validation: 'success', icon: true },
62
- tokens: {
63
- icon: successIcon,
64
- iconColor: palette.color.greenAccessible
65
- }
66
- },
67
- {
68
- if: { validation: 'error', icon: true },
69
- tokens: {
70
- icon: errorIcon,
71
- iconColor: palette.color.red
72
- }
73
- }
74
- ]
75
- }
@@ -1,35 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
-
4
- export default {
5
- appearances: {
6
- size: {
7
- values: ['small'],
8
- type: 'variant'
9
- },
10
- rank: {
11
- values: ['primary'],
12
- type: 'variant'
13
- }
14
- },
15
- tokens: {
16
- size: palette.size.size24,
17
- color: palette.color.greyCharcoal,
18
- translateX: system.size.zero,
19
- translateY: system.size.zero
20
- },
21
- rules: [
22
- {
23
- if: { size: 'small' },
24
- tokens: {
25
- size: palette.size.size20
26
- }
27
- },
28
- {
29
- if: { rank: 'primary' },
30
- tokens: {
31
- color: palette.color.purpleTelus
32
- }
33
- }
34
- ]
35
- }
@@ -1,29 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
-
3
- export default {
4
- appearances: {},
5
- tokens: {
6
- gap: palette.size.size8,
7
-
8
- color: palette.color.greyCharcoal,
9
-
10
- // TODO: replace with font token
11
- fontName: Object.keys(palette.font)[0],
12
- fontWeight: '700',
13
- // font: palette.font.HelveticaNow[700]
14
-
15
- fontSize: palette.fontSize.size16,
16
- lineHeight: palette.lineHeight.ratio3to2,
17
-
18
- hintColor: palette.color.greyCharcoal,
19
-
20
- // TODO: replace with font token
21
- hintFontName: Object.keys(palette.font)[0],
22
- hintFontWeight: '400',
23
- // hintFont: palette.font.HelveticaNow[700],
24
-
25
- hintFontSize: palette.fontSize.size14,
26
- hintLineHeight: palette.lineHeight.ratio7to5
27
- },
28
- rules: []
29
- }
@@ -1,9 +0,0 @@
1
- import system from '@telus-uds/system-themes/src/tokens/rn'
2
-
3
- export default {
4
- appearances: {},
5
- tokens: {
6
- space: system.integer[1]
7
- },
8
- rules: []
9
- }
@@ -1,211 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
- import { appearances } from '@telus-uds/system-themes/schema'
4
-
5
- export default {
6
- appearances: {
7
- size: {
8
- description:
9
- 'Text sizes for block links; similar but not always identical to Typography sizes.',
10
- values: ['large', 'small', 'micro'],
11
- type: 'variant'
12
- },
13
- alternative: {
14
- description: 'Replaces the default green colour with a more subtle grey.',
15
- values: [true],
16
- type: 'variant'
17
- },
18
- inverse: {
19
- description: 'Styles the link white for use on dark backgrounds.',
20
- values: [true],
21
- type: 'variant'
22
- },
23
- light: {
24
- description:
25
- 'A lighter grey variant, used to lower the emphasis on a given Link (e.g. in Breadcrumbs)',
26
- values: [true],
27
- type: 'variant'
28
- },
29
- iconPosition: appearances.Link.iconPosition,
30
- focus: appearances.Link.focus,
31
- hover: appearances.Link.hover,
32
- pressed: appearances.Link.pressed
33
- },
34
- tokens: {
35
- color: palette.color.greenAccessible,
36
-
37
- textLine: system.textLine.underline,
38
- textLineStyle: system.textLineStyle.solid,
39
-
40
- outerBorderColor: palette.color.transparent,
41
- outerBorderWidth: palette.border.border2,
42
- outerBorderGap: palette.border.border2,
43
- outerBorderRadius: palette.radius.radius4,
44
- outerBorderOutline: system.borderStyle.none,
45
-
46
- // Same as default size Typography
47
- // TODO replace with single font token
48
- blockFontWeight: '400',
49
- blockFontName: Object.keys(palette.font)[0],
50
- // bockFont: palette.font.HelveticaNow[400]
51
-
52
- blockFontSize: palette.fontSize.size16,
53
- blockLineHeight: palette.lineHeight.ratio3to2,
54
- alignSelf: system.flexAlign.flexStart,
55
-
56
- icon: system.icon.none,
57
- iconSize: palette.fontSize.size24,
58
- iconSpace: system.integer[1],
59
- iconTranslateX: system.size.zero,
60
- iconTranslateY: system.size.zero
61
- },
62
- rules: [
63
- {
64
- if: { iconPosition: 'left' },
65
- tokens: {
66
- iconSpace: system.integer[2]
67
- }
68
- },
69
- // Initial interaction states
70
- {
71
- if: { focus: true },
72
- tokens: {
73
- outerBorderColor: palette.color.greenAccessible,
74
- outerBorderOutline: system.borderStyle.none
75
- }
76
- },
77
- {
78
- if: { hover: true },
79
- tokens: {
80
- textLine: system.textLine.none,
81
- color: palette.color.greenSanFelix
82
- }
83
- },
84
- {
85
- if: { pressed: true },
86
- tokens: {
87
- textLine: system.textLine.none,
88
- color: palette.color.greenDarkFern
89
- }
90
- },
91
- {
92
- if: { pressed: true, focus: true },
93
- tokens: {
94
- outerBorderColor: palette.color.greenDarkFern
95
- }
96
- },
97
-
98
- // block link sizes
99
- {
100
- if: { size: 'large' },
101
- tokens: {
102
- blockFontSize: palette.fontSize.size20,
103
- iconSize: palette.fontSize.size24,
104
- blockLineHeight: palette.lineHeight.ratio8to5
105
- }
106
- },
107
- {
108
- if: { size: 'small' },
109
- tokens: {
110
- blockFontSize: palette.fontSize.size14,
111
- iconSize: palette.fontSize.size20,
112
- blockLineHeight: palette.lineHeight.ratio10to7
113
- }
114
- },
115
- {
116
- if: { size: 'micro' },
117
- tokens: {
118
- blockFontSize: palette.fontSize.size12,
119
- // TODO replace this with font token
120
- blockFontWeight: '500',
121
- // blockFont: palette.font.HelveticaNow[500]
122
-
123
- iconSize: palette.fontSize.size16,
124
- blockLineHeight: palette.lineHeight.ratio4to3
125
- }
126
- },
127
-
128
- // "alternative" variant
129
- {
130
- if: { alternative: true },
131
- tokens: {
132
- color: palette.color.greyThunder
133
- }
134
- },
135
- {
136
- if: { alternative: true, focus: true },
137
- tokens: {
138
- color: palette.color.greyCharcoal,
139
- outerBorderColor: palette.color.greyCharcoal
140
- }
141
- },
142
- {
143
- if: { alternative: true, hover: true },
144
- tokens: {
145
- color: palette.color.greyThunder
146
- }
147
- },
148
- {
149
- if: { alternative: true, pressed: true },
150
- tokens: {
151
- color: palette.color.greyThunder
152
- }
153
- },
154
-
155
- // "inverse" variant
156
- {
157
- if: { inverse: true },
158
- tokens: {
159
- color: palette.color.white
160
- }
161
- },
162
- {
163
- if: { inverse: true, hover: true },
164
- tokens: {
165
- color: palette.color.greyAthens
166
- }
167
- },
168
- {
169
- if: { inverse: true, focus: true },
170
- tokens: {
171
- outerBorderColor: palette.color.white,
172
- outerBorderOutline: system.borderStyle.none
173
- }
174
- },
175
- {
176
- if: { inverse: true, pressed: true },
177
- tokens: {
178
- color: palette.color.greyMystic
179
- }
180
- },
181
- {
182
- if: { inverse: true, pressed: true, focus: true },
183
- tokens: {
184
- color: palette.color.greyMystic,
185
- outerBorderColor: palette.color.greyMystic
186
- }
187
- },
188
-
189
- // "light" variant
190
- {
191
- if: { light: true },
192
- tokens: {
193
- color: palette.color.greyShuttle
194
- }
195
- },
196
- {
197
- if: { light: true, focus: true },
198
- tokens: {
199
- color: palette.color.greyShuttle,
200
- outerBorderColor: palette.color.greyShuttle
201
- }
202
- },
203
- {
204
- if: { light: true, hover: true },
205
- tokens: {
206
- color: palette.color.greyCharcoal,
207
- textLine: system.textLine.none
208
- }
209
- }
210
- ]
211
- }
@@ -1,70 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
-
3
- export default {
4
- appearances: {
5
- size: {
6
- description: 'Indicates list item text size.',
7
- values: ['large', 'small'],
8
- type: 'variant'
9
- },
10
- compact: {
11
- description: 'When true it will reduce the line height of the list item.',
12
- values: [true],
13
- type: 'variant'
14
- }
15
- },
16
- tokens: {
17
- itemFontWeight: '400',
18
- itemFontSize: palette.fontSize.size16,
19
- itemLineHeight: palette.lineHeight.ratio3to2,
20
- itemFontName: Object.keys(palette.font)[0],
21
- interItemMargin: palette.size.size8,
22
- interItemMarginWithDivider: palette.size.size16,
23
- dividerColor: palette.color.greyCloud,
24
- dividerSize: palette.border.border1,
25
- itemBulletContainerWidth: palette.size.size16,
26
- itemBulletContainerAlign: 'center',
27
- itemBulletWidth: palette.size.size4,
28
- itemBulletHeight: palette.size.size4,
29
- itemBulletColor: palette.color.purpleTelus,
30
- itemIconSize: palette.size.size16,
31
- itemIconColor: palette.color.purpleTelus,
32
- listGutter: palette.size.size12
33
- },
34
- rules: [
35
- {
36
- if: { size: 'large' },
37
- tokens: {
38
- itemFontSize: palette.fontSize.size20,
39
- itemLineHeight: palette.lineHeight.ratio8to5,
40
- listGutter: palette.size.size12
41
- }
42
- },
43
- {
44
- if: { size: 'small' },
45
- tokens: {
46
- itemFontSize: palette.fontSize.size14,
47
- itemLineHeight: palette.lineHeight.ratio10to7,
48
- listGutter: palette.size.size12
49
- }
50
- },
51
- {
52
- if: { compact: true },
53
- tokens: {
54
- itemLineHeight: palette.lineHeight.ratio5to4
55
- }
56
- },
57
- {
58
- if: { compact: true, size: 'small' },
59
- tokens: {
60
- itemLineHeight: palette.lineHeight.ratio8to7
61
- }
62
- },
63
- {
64
- if: { compact: true, size: 'large' },
65
- tokens: {
66
- itemLineHeight: palette.lineHeight.ratio6to5
67
- }
68
- }
69
- ]
70
- }
@@ -1,30 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
- import { appearances } from '@telus-uds/system-themes/schema'
4
-
5
- export default {
6
- appearances: {
7
- viewport: appearances.system.viewport
8
- },
9
- tokens: {
10
- gap: system.integer[2],
11
- truncateAbove: system.integer[4],
12
-
13
- color: palette.color.greyShuttle,
14
- // TODO: replace with font token
15
- fontName: Object.keys(palette.font)[0],
16
- fontWeight: '400',
17
- // font: palette.font.HelveticaNow[400]
18
-
19
- fontSize: palette.fontSize.size16,
20
- lineHeight: palette.lineHeight.ratio3to2
21
- },
22
- rules: [
23
- {
24
- if: { viewport: ['md', 'lg', 'xl'] },
25
- tokens: {
26
- truncateAbove: system.integer[6]
27
- }
28
- }
29
- ]
30
- }
@@ -1,71 +0,0 @@
1
- import palette from '@telus-uds/palette-allium'
2
- import system from '@telus-uds/system-themes/src/tokens/rn'
3
- import { appearances } from '@telus-uds/system-themes/schema'
4
-
5
- export default {
6
- appearances: {
7
- focus: appearances.PaginationPageButton.focus,
8
- hover: appearances.PaginationPageButton.hover,
9
- pressed: appearances.PaginationPageButton.pressed,
10
- selected: appearances.PaginationPageButton.selected
11
- },
12
- tokens: {
13
- borderColor: palette.color.transparent,
14
- borderWidth: palette.border.border1,
15
- borderRadius: palette.radius.pill32,
16
- backgroundColor: palette.color.transparent,
17
- paddingLeft: palette.size.size8,
18
- paddingRight: palette.size.size8,
19
- paddingTop: palette.size.size4,
20
- paddingBottom: palette.size.size4,
21
- width: palette.size.size32,
22
-
23
- // never visible - used only to increase the click area size
24
- outerBorderColor: palette.color.transparent,
25
- outerBorderWidth: palette.border.border4,
26
- outerBorderGap: palette.border.border4,
27
-
28
- color: palette.color.greyShuttle,
29
-
30
- // TODO: replace this with font token
31
- fontName: Object.keys(palette.font)[0],
32
- fontWeight: '400',
33
- // font: palette.font.HelveticaNow[400]
34
-
35
- fontSize: palette.fontSize.size16,
36
- lineHeight: palette.lineHeight.ratio3to2,
37
- textLine: system.textLine.underline,
38
- textAlign: system.flexJustifyContent.center
39
- },
40
- rules: [
41
- {
42
- if: { hover: true },
43
- tokens: {
44
- borderColor: palette.color.greyShuttle,
45
- textLine: system.textLine.none
46
- }
47
- },
48
- {
49
- if: { focus: true },
50
- tokens: {
51
- borderColor: palette.color.greyShuttle,
52
- borderWidth: palette.border.border3
53
- }
54
- },
55
- {
56
- if: { selected: true },
57
- tokens: {
58
- backgroundColor: palette.color.greyShuttle,
59
- color: palette.color.white,
60
- textLine: system.textLine.none
61
- }
62
- },
63
- {
64
- if: { pressed: true },
65
- tokens: {
66
- backgroundColor: palette.color.greyShuttle,
67
- color: palette.color.white
68
- }
69
- }
70
- ]
71
- }