@agorapulse/ui-theme 15.0.13 → 15.0.14
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/agorapulse-ui-theme-15.0.14.tgz +0 -0
- package/assets/{variables.css → desktop_variables.css} +26 -21
- package/assets/mobile_variables.css +257 -0
- package/assets/style/theme.scss +0 -3
- package/package.json +2 -2
- package/src/build.js +6 -0
- package/src/desktop_config.js +20 -0
- package/src/mobile_config.js +20 -0
- package/src/tokens/components/button.json +3 -0
- package/src/tokens/components/icon-button.json +5 -5
- package/src/tokens/system/desktop/button.json +9 -0
- package/src/tokens/system/desktop/icon-button.json +15 -0
- package/src/tokens/system/mobile/button.json +9 -0
- package/src/tokens/system/mobile/icon-button.json +15 -0
- package/agorapulse-ui-theme-15.0.13.tgz +0 -0
- package/src/config.json +0 -15
|
Binary file
|
|
@@ -1,29 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 21 Jun 2023 16:39:54 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
--comp-button-text-size: 14px;
|
|
8
|
-
--comp-button-text-font-family: Averta;
|
|
9
|
-
--comp-button-text-weight: 700;
|
|
10
|
-
--comp-button-text-line-height: 20px;
|
|
11
|
-
--comp-button-padding-horizontal: 8px;
|
|
12
|
-
--comp-button-padding-vertical: 16px;
|
|
13
|
-
--comp-button-border-radius: 4px;
|
|
14
|
-
--comp-button-spacing: 8px;
|
|
15
|
-
--comp-icon-button-width: 36px;
|
|
16
|
-
--comp-icon-button-height: 36px;
|
|
17
|
-
--comp-icon-button-padding: 10px;
|
|
18
|
-
--comp-icon-button-border-radius: 8px;
|
|
19
|
-
--comp-split-button-text-size: 14px;
|
|
20
|
-
--comp-split-button-text-font-family: Averta;
|
|
21
|
-
--comp-split-button-text-weight: 700;
|
|
22
|
-
--comp-split-button-text-line-height: 20px;
|
|
23
|
-
--comp-split-button-padding-horizontal: 8px;
|
|
24
|
-
--comp-split-button-padding-vertical: 16px;
|
|
25
|
-
--comp-split-button-border-radius: 4px;
|
|
26
|
-
--comp-split-button-spacing: 8px;
|
|
27
7
|
--ref-border-radius-sm: 4px;
|
|
28
8
|
--ref-border-radius-md: 6px;
|
|
29
9
|
--ref-border-radius-lg: 8px;
|
|
@@ -249,4 +229,29 @@
|
|
|
249
229
|
--sys-text-style-caption-bold-size: 12px;
|
|
250
230
|
--sys-text-style-caption-bold-weight: 700;
|
|
251
231
|
--sys-text-style-caption-bold-line-height: 16px;
|
|
232
|
+
--sys-button-height: 36px;
|
|
233
|
+
--sys-icon-button-padding: 10px;
|
|
234
|
+
--sys-icon-button-width: 36px;
|
|
235
|
+
--sys-icon-button-height: 36px;
|
|
236
|
+
--comp-button-text-size: 14px;
|
|
237
|
+
--comp-button-text-font-family: Averta;
|
|
238
|
+
--comp-button-text-weight: 700;
|
|
239
|
+
--comp-button-text-line-height: 20px;
|
|
240
|
+
--comp-button-padding-horizontal: 8px;
|
|
241
|
+
--comp-button-padding-vertical: 16px;
|
|
242
|
+
--comp-button-height: 36px;
|
|
243
|
+
--comp-button-border-radius: 4px;
|
|
244
|
+
--comp-button-spacing: 8px;
|
|
245
|
+
--comp-icon-button-padding: 10px;
|
|
246
|
+
--comp-icon-button-width: 36px;
|
|
247
|
+
--comp-icon-button-height: 36px;
|
|
248
|
+
--comp-icon-button-border-radius: 8px;
|
|
249
|
+
--comp-split-button-text-size: 14px;
|
|
250
|
+
--comp-split-button-text-font-family: Averta;
|
|
251
|
+
--comp-split-button-text-weight: 700;
|
|
252
|
+
--comp-split-button-text-line-height: 20px;
|
|
253
|
+
--comp-split-button-padding-horizontal: 8px;
|
|
254
|
+
--comp-split-button-padding-vertical: 16px;
|
|
255
|
+
--comp-split-button-border-radius: 4px;
|
|
256
|
+
--comp-split-button-spacing: 8px;
|
|
252
257
|
}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Wed, 21 Jun 2023 16:39:54 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--ref-border-radius-sm: 4px;
|
|
8
|
+
--ref-border-radius-md: 6px;
|
|
9
|
+
--ref-border-radius-lg: 8px;
|
|
10
|
+
--ref-color-white: #FFFFFF;
|
|
11
|
+
--ref-color-background: #F9F9FA;
|
|
12
|
+
--ref-color-orange-10: #FFEFE9;
|
|
13
|
+
--ref-color-orange-20: #FFE1D4;
|
|
14
|
+
--ref-color-orange-40: #FFC2A8;
|
|
15
|
+
--ref-color-orange-60: #FFA47D;
|
|
16
|
+
--ref-color-orange-80: #FF7E46;
|
|
17
|
+
--ref-color-orange-100: #FF6726;
|
|
18
|
+
--ref-color-orange-150: #C83E07;
|
|
19
|
+
--ref-color-electric-blue-10: #E8F4FF;
|
|
20
|
+
--ref-color-electric-blue-20: #D1E8FF;
|
|
21
|
+
--ref-color-electric-blue-40: #A2D1FF;
|
|
22
|
+
--ref-color-electric-blue-60: #74BBFE;
|
|
23
|
+
--ref-color-electric-blue-80: #3A9EFE;
|
|
24
|
+
--ref-color-electric-blue-100: #178DFE;
|
|
25
|
+
--ref-color-electric-blue-150: #0E72D6;
|
|
26
|
+
--ref-color-electric-blue-05: #F3F9FF;
|
|
27
|
+
--ref-color-soft-blue-10: #EFF5FC;
|
|
28
|
+
--ref-color-soft-blue-20: #DFEDFA;
|
|
29
|
+
--ref-color-soft-blue-40: #C0DBF4;
|
|
30
|
+
--ref-color-soft-blue-60: #A0C8EF;
|
|
31
|
+
--ref-color-soft-blue-80: #78B1E8;
|
|
32
|
+
--ref-color-soft-blue-100: #2873BA;
|
|
33
|
+
--ref-color-soft-blue-150: #2873BA;
|
|
34
|
+
--ref-color-grey-10: #EAECEF;
|
|
35
|
+
--ref-color-grey-20: #D6DAE0;
|
|
36
|
+
--ref-color-grey-40: #AEB5C1;
|
|
37
|
+
--ref-color-grey-60: #858FA1;
|
|
38
|
+
--ref-color-grey-80: #5D6A82;
|
|
39
|
+
--ref-color-grey-100: #344563;
|
|
40
|
+
--ref-color-grey-150: #212E44;
|
|
41
|
+
--ref-color-grey-05: #F5F5F7;
|
|
42
|
+
--ref-color-grey-bg: #F9F9FA;
|
|
43
|
+
--ref-color-green-10: #ECF7ED;
|
|
44
|
+
--ref-color-green-20: #DAF1DD;
|
|
45
|
+
--ref-color-green-40: #B5E3BB;
|
|
46
|
+
--ref-color-green-60: #8FD498;
|
|
47
|
+
--ref-color-green-80: #61C26D;
|
|
48
|
+
--ref-color-green-100: #45B854;
|
|
49
|
+
--ref-color-green-150: #0F821D;
|
|
50
|
+
--ref-color-tag-orange-10: #FFF8E6;
|
|
51
|
+
--ref-color-tag-orange-20: #FEF0CC;
|
|
52
|
+
--ref-color-tag-orange-40: #FDE199;
|
|
53
|
+
--ref-color-tag-orange-60: #FDD366;
|
|
54
|
+
--ref-color-tag-orange-80: #FCC026;
|
|
55
|
+
--ref-color-tag-orange-100: #FBB500;
|
|
56
|
+
--ref-color-tag-orange-150: #A66200;
|
|
57
|
+
--ref-color-yellow-10: #FFFDE9;
|
|
58
|
+
--ref-color-yellow-20: #FFFBD2;
|
|
59
|
+
--ref-color-yellow-40: #FFF6A5;
|
|
60
|
+
--ref-color-yellow-60: #FFF279;
|
|
61
|
+
--ref-color-yellow-80: #FFEC41;
|
|
62
|
+
--ref-color-yellow-100: #FFE91F;
|
|
63
|
+
--ref-color-yellow-150: #A56608;
|
|
64
|
+
--ref-color-red-10: #FDE7E7;
|
|
65
|
+
--ref-color-red-20: #FAD0D0;
|
|
66
|
+
--ref-color-red-40: #F6A1A1;
|
|
67
|
+
--ref-color-red-60: #F17171;
|
|
68
|
+
--ref-color-red-80: #EB3636;
|
|
69
|
+
--ref-color-red-100: #E81313;
|
|
70
|
+
--ref-color-red-150: #D80505;
|
|
71
|
+
--ref-color-purple-10: #EFEDF8;
|
|
72
|
+
--ref-color-purple-20: #E0DDF2;
|
|
73
|
+
--ref-color-purple-40: #C1BBE6;
|
|
74
|
+
--ref-color-purple-60: #A398D9;
|
|
75
|
+
--ref-color-purple-80: #7C6DC9;
|
|
76
|
+
--ref-color-purple-100: #6554C0;
|
|
77
|
+
--ref-color-purple-150: #3C2C95;
|
|
78
|
+
--ref-color-purple-05: #F6F8FF;
|
|
79
|
+
--ref-color-menthol-10: #F1F9F8;
|
|
80
|
+
--ref-color-menthol-20: #CFECEA;
|
|
81
|
+
--ref-color-menthol-40: #9FD9D6;
|
|
82
|
+
--ref-color-menthol-60: #64C8BC;
|
|
83
|
+
--ref-color-menthol-80: #1DBEB0;
|
|
84
|
+
--ref-color-menthol-100: #0FA09B;
|
|
85
|
+
--ref-color-menthol-150: #057E7A;
|
|
86
|
+
--ref-color-facebook-10: #e7f1fd;
|
|
87
|
+
--ref-color-facebook-100: #1877F2;
|
|
88
|
+
--ref-color-instagram-10: #fbe9f1;
|
|
89
|
+
--ref-color-instagram-100: #DD2A7B;
|
|
90
|
+
--ref-color-twitter-10: #e8f5fd;
|
|
91
|
+
--ref-color-twitter-100: #1DA1F2;
|
|
92
|
+
--ref-color-linkedin-10: #e6eff9;
|
|
93
|
+
--ref-color-linkedin-100: #2668B2;
|
|
94
|
+
--ref-color-youtube-10: #fee5e5;
|
|
95
|
+
--ref-color-youtube-100: #FE0101;
|
|
96
|
+
--ref-color-tiktok-default-10: #e5e5e5;
|
|
97
|
+
--ref-color-tiktok-default-100: #000000;
|
|
98
|
+
--ref-color-tiktok-blue-10: #e9fdfd;
|
|
99
|
+
--ref-color-tiktok-blue-100: #25F4EE;
|
|
100
|
+
--ref-color-tiktok-red-10: #fee9ee;
|
|
101
|
+
--ref-color-tiktok-red-100: #FE2C55;
|
|
102
|
+
--ref-font-size-xs: 12px;
|
|
103
|
+
--ref-font-size-sm: 14px;
|
|
104
|
+
--ref-font-size-md: 16px;
|
|
105
|
+
--ref-font-size-lg: 18px;
|
|
106
|
+
--ref-font-size-xl: 20px;
|
|
107
|
+
--ref-font-size-xxl: 24px;
|
|
108
|
+
--ref-font-size-xxxl: 28px;
|
|
109
|
+
--ref-font-weight-regular: 400;
|
|
110
|
+
--ref-font-weight-bold: 700;
|
|
111
|
+
--ref-font-weight-extra-bold: 800;
|
|
112
|
+
--ref-font-weight-black: 900;
|
|
113
|
+
--ref-font-line-height-xxs: 14px;
|
|
114
|
+
--ref-font-line-height-xs: 16px;
|
|
115
|
+
--ref-font-line-height-sm: 18px;
|
|
116
|
+
--ref-font-line-height-md: 20px;
|
|
117
|
+
--ref-font-line-height-lg: 24px;
|
|
118
|
+
--ref-font-line-height-xl: 32px;
|
|
119
|
+
--ref-font-line-height-xxl: 36px;
|
|
120
|
+
--ref-spacing-xxxs: 4px;
|
|
121
|
+
--ref-spacing-xxs: 8px;
|
|
122
|
+
--ref-spacing-xs: 12px;
|
|
123
|
+
--ref-spacing-sm: 16px;
|
|
124
|
+
--ref-spacing-md: 24px;
|
|
125
|
+
--ref-spacing-lg: 32px;
|
|
126
|
+
--ref-spacing-xl: 40px;
|
|
127
|
+
--ref-spacing-xxl: 48px;
|
|
128
|
+
--ref-spacing-xxxl: 60px;
|
|
129
|
+
--sys-border-color-default: #EAECEF;
|
|
130
|
+
--sys-border-color-active: #178DFE;
|
|
131
|
+
--sys-border-color-error: #E81313;
|
|
132
|
+
--sys-border-radius-sm: 4px;
|
|
133
|
+
--sys-border-radius-md: 4px;
|
|
134
|
+
--sys-border-radius-lg: 8px;
|
|
135
|
+
--sys-color-main-default-bg: #FF6726;
|
|
136
|
+
--sys-color-main-default-bg-hover: #FF7E46;
|
|
137
|
+
--sys-color-main-default-bg-clicked: #FFA47D;
|
|
138
|
+
--sys-color-main-default-bg-disabled: #FFE1D4;
|
|
139
|
+
--sys-color-main-default-text: #FFFFFF;
|
|
140
|
+
--sys-color-main-light-bg: #FFEFE9;
|
|
141
|
+
--sys-color-main-light-text: #C83E07;
|
|
142
|
+
--sys-color-main-text: #FF6726;
|
|
143
|
+
--sys-color-accent-default-bg: #178DFE;
|
|
144
|
+
--sys-color-accent-default-bg-hover: #3A9EFE;
|
|
145
|
+
--sys-color-accent-default-bg-clicked: #74BBFE;
|
|
146
|
+
--sys-color-accent-default-bg-disabled: #D1E8FF;
|
|
147
|
+
--sys-color-accent-default-text: #FFFFFF;
|
|
148
|
+
--sys-color-accent-light-bg: #F3F9FF;
|
|
149
|
+
--sys-color-accent-light-text: #0E72D6;
|
|
150
|
+
--sys-color-accent-text: #178DFE;
|
|
151
|
+
--sys-color-error-default-bg: #E81313;
|
|
152
|
+
--sys-color-error-default-bg-hover: #EB3636;
|
|
153
|
+
--sys-color-error-default-bg-clicked: #F17171;
|
|
154
|
+
--sys-color-error-default-bg-disabled: #FAD0D0;
|
|
155
|
+
--sys-color-error-default-text: #FFFFFF;
|
|
156
|
+
--sys-color-error-light-bg: #FDE7E7;
|
|
157
|
+
--sys-color-error-light-text: #D80505;
|
|
158
|
+
--sys-color-error-text: #E81313;
|
|
159
|
+
--sys-color-warning-default-bg: #FFE91F;
|
|
160
|
+
--sys-color-warning-default-bg-hover: #FFEC41;
|
|
161
|
+
--sys-color-warning-default-bg-clicked: #FFF279;
|
|
162
|
+
--sys-color-warning-default-bg-disabled: #FFFBD2;
|
|
163
|
+
--sys-color-warning-default-text: #FFFFFF;
|
|
164
|
+
--sys-color-warning-light-bg: #FFFDE9;
|
|
165
|
+
--sys-color-warning-light-text: #A56608;
|
|
166
|
+
--sys-color-warning-text: #FFE91F;
|
|
167
|
+
--sys-color-success-default-bg: #45B854;
|
|
168
|
+
--sys-color-success-default-bg-hover: #61C26D;
|
|
169
|
+
--sys-color-success-default-bg-clicked: #8FD498;
|
|
170
|
+
--sys-color-success-default-bg-disabled: #DAF1DD;
|
|
171
|
+
--sys-color-success-default-text: #FFFFFF;
|
|
172
|
+
--sys-color-success-light-bg: #ECF7ED;
|
|
173
|
+
--sys-color-success-light-text: #0F821D;
|
|
174
|
+
--sys-color-success-text: #45B854;
|
|
175
|
+
--sys-color-feature-lock-default-bg: #6554C0;
|
|
176
|
+
--sys-color-feature-lock-default-bg-hover: #7C6DC9;
|
|
177
|
+
--sys-color-feature-lock-default-bg-clicked: #A398D9;
|
|
178
|
+
--sys-color-feature-lock-default-bg-disabled: #E0DDF2;
|
|
179
|
+
--sys-color-feature-lock-default-text: #FFFFFF;
|
|
180
|
+
--sys-color-feature-lock-light-bg: #EFEDF8;
|
|
181
|
+
--sys-color-feature-lock-light-text: #3C2C95;
|
|
182
|
+
--sys-color-feature-lock-text: #6554C0;
|
|
183
|
+
--sys-icon-sm: 14px;
|
|
184
|
+
--sys-icon-md: 16px;
|
|
185
|
+
--sys-text-color-default: #344563;
|
|
186
|
+
--sys-text-color-light: #5D6A82;
|
|
187
|
+
--sys-text-color-error: #E81313;
|
|
188
|
+
--sys-text-style-h0-font-family: Averta;
|
|
189
|
+
--sys-text-style-h0-size: 20px;
|
|
190
|
+
--sys-text-style-h0-weight: 900;
|
|
191
|
+
--sys-text-style-h0-line-height: 36px;
|
|
192
|
+
--sys-text-style-marketing-font-family: Averta;
|
|
193
|
+
--sys-text-style-marketing-size: 24px;
|
|
194
|
+
--sys-text-style-marketing-weight: 800;
|
|
195
|
+
--sys-text-style-marketing-line-height: 36px;
|
|
196
|
+
--sys-text-style-h1-font-family: Averta;
|
|
197
|
+
--sys-text-style-h1-size: 20px;
|
|
198
|
+
--sys-text-style-h1-weight: 700;
|
|
199
|
+
--sys-text-style-h1-line-height: 36px;
|
|
200
|
+
--sys-text-style-h2-font-family: Averta;
|
|
201
|
+
--sys-text-style-h2-size: 18px;
|
|
202
|
+
--sys-text-style-h2-weight: 700;
|
|
203
|
+
--sys-text-style-h2-line-height: 24px;
|
|
204
|
+
--sys-text-style-subtitle-font-family: Averta;
|
|
205
|
+
--sys-text-style-subtitle-size: 16px;
|
|
206
|
+
--sys-text-style-subtitle-weight: 400;
|
|
207
|
+
--sys-text-style-subtitle-line-height: 20px;
|
|
208
|
+
--sys-text-style-h3-font-family: Averta;
|
|
209
|
+
--sys-text-style-h3-size: 16px;
|
|
210
|
+
--sys-text-style-h3-weight: 700;
|
|
211
|
+
--sys-text-style-h3-line-height: 24px;
|
|
212
|
+
--sys-text-style-h4-font-family: Averta;
|
|
213
|
+
--sys-text-style-h4-size: 14px;
|
|
214
|
+
--sys-text-style-h4-weight: 700;
|
|
215
|
+
--sys-text-style-h4-line-height: 20px;
|
|
216
|
+
--sys-text-style-body-font-family: Averta;
|
|
217
|
+
--sys-text-style-body-size: 14px;
|
|
218
|
+
--sys-text-style-body-weight: 400;
|
|
219
|
+
--sys-text-style-body-line-height: 18px;
|
|
220
|
+
--sys-text-style-body-bold-font-family: Averta;
|
|
221
|
+
--sys-text-style-body-bold-size: 14px;
|
|
222
|
+
--sys-text-style-body-bold-weight: 700;
|
|
223
|
+
--sys-text-style-body-bold-line-height: 18px;
|
|
224
|
+
--sys-text-style-caption-font-family: Averta;
|
|
225
|
+
--sys-text-style-caption-size: 12px;
|
|
226
|
+
--sys-text-style-caption-weight: 400;
|
|
227
|
+
--sys-text-style-caption-line-height: 16px;
|
|
228
|
+
--sys-text-style-caption-bold-font-family: Averta;
|
|
229
|
+
--sys-text-style-caption-bold-size: 12px;
|
|
230
|
+
--sys-text-style-caption-bold-weight: 700;
|
|
231
|
+
--sys-text-style-caption-bold-line-height: 16px;
|
|
232
|
+
--sys-button-height: 40px;
|
|
233
|
+
--sys-icon-button-padding: 8px;
|
|
234
|
+
--sys-icon-button-width: 36px;
|
|
235
|
+
--sys-icon-button-height: 36px;
|
|
236
|
+
--comp-button-text-size: 14px;
|
|
237
|
+
--comp-button-text-font-family: Averta;
|
|
238
|
+
--comp-button-text-weight: 700;
|
|
239
|
+
--comp-button-text-line-height: 20px;
|
|
240
|
+
--comp-button-padding-horizontal: 8px;
|
|
241
|
+
--comp-button-padding-vertical: 16px;
|
|
242
|
+
--comp-button-height: 40px;
|
|
243
|
+
--comp-button-border-radius: 4px;
|
|
244
|
+
--comp-button-spacing: 8px;
|
|
245
|
+
--comp-icon-button-padding: 8px;
|
|
246
|
+
--comp-icon-button-width: 36px;
|
|
247
|
+
--comp-icon-button-height: 36px;
|
|
248
|
+
--comp-icon-button-border-radius: 8px;
|
|
249
|
+
--comp-split-button-text-size: 14px;
|
|
250
|
+
--comp-split-button-text-font-family: Averta;
|
|
251
|
+
--comp-split-button-text-weight: 700;
|
|
252
|
+
--comp-split-button-text-line-height: 20px;
|
|
253
|
+
--comp-split-button-padding-horizontal: 8px;
|
|
254
|
+
--comp-split-button-padding-vertical: 16px;
|
|
255
|
+
--comp-split-button-border-radius: 4px;
|
|
256
|
+
--comp-split-button-spacing: 8px;
|
|
257
|
+
}
|
package/assets/style/theme.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agorapulse/ui-theme",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.14",
|
|
4
4
|
"description": "Agorapulse UI Theme Library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"url": "https://github.com/agorapulse/design/issues"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
-
"generate-tokens": "cd src &&
|
|
15
|
+
"generate-tokens": "cd src && node build.js && cd ../assets && git add mobile_variables.css && git add desktop_variables.css"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/agorapulse/design#readme",
|
|
18
18
|
"peerDependencies": {
|
package/src/build.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const styleDictionary = require('style-dictionary');
|
|
2
|
+
const mobileStyleDictionary = styleDictionary.extend('mobile_config.js');
|
|
3
|
+
mobileStyleDictionary.buildAllPlatforms();
|
|
4
|
+
|
|
5
|
+
const desktopStyleDictionary = styleDictionary.extend('desktop_config.js');
|
|
6
|
+
desktopStyleDictionary.buildAllPlatforms();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
source: [
|
|
3
|
+
'tokens/reference/*.json',
|
|
4
|
+
'tokens/system/*.json',
|
|
5
|
+
'tokens/system/desktop/*.json',
|
|
6
|
+
'tokens/components/*.json',
|
|
7
|
+
],
|
|
8
|
+
platforms: {
|
|
9
|
+
desktop: {
|
|
10
|
+
transformGroup: 'css',
|
|
11
|
+
transforms: ['attribute/cti', 'name/cti/kebab', 'color/hex', 'size/px'],
|
|
12
|
+
files: [
|
|
13
|
+
{
|
|
14
|
+
format: 'css/variables',
|
|
15
|
+
destination: '../assets/desktop_variables.css',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
source: [
|
|
3
|
+
'tokens/reference/*.json',
|
|
4
|
+
'tokens/system/*.json',
|
|
5
|
+
'tokens/system/mobile/*.json',
|
|
6
|
+
'tokens/components/*.json',
|
|
7
|
+
],
|
|
8
|
+
platforms: {
|
|
9
|
+
mobile: {
|
|
10
|
+
transformGroup: 'css',
|
|
11
|
+
transforms: ['attribute/cti', 'name/cti/kebab', 'color/hex', 'size/px'],
|
|
12
|
+
files: [
|
|
13
|
+
{
|
|
14
|
+
format: 'css/variables',
|
|
15
|
+
destination: '../assets/mobile_variables.css',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"comp": {
|
|
3
3
|
"iconButton": {
|
|
4
|
+
"padding": {
|
|
5
|
+
"value": "{sys.icon-button.padding}"
|
|
6
|
+
},
|
|
4
7
|
"width": {
|
|
5
|
-
"value": "
|
|
8
|
+
"value": "{sys.icon-button.width}"
|
|
6
9
|
},
|
|
7
10
|
"height": {
|
|
8
|
-
"value": "
|
|
9
|
-
},
|
|
10
|
-
"padding": {
|
|
11
|
-
"value": "10px"
|
|
11
|
+
"value": "{sys.icon-button.height}"
|
|
12
12
|
},
|
|
13
13
|
"borderRadius": {
|
|
14
14
|
"value": "{sys.border.radius.lg}"
|
|
Binary file
|
package/src/config.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source": ["tokens/**/*.json"],
|
|
3
|
-
"platforms": {
|
|
4
|
-
"css": {
|
|
5
|
-
"transformGroup": "css",
|
|
6
|
-
"transforms": ["attribute/cti", "name/cti/kebab", "color/hex", "size/px"],
|
|
7
|
-
"files": [
|
|
8
|
-
{
|
|
9
|
-
"format": "css/variables",
|
|
10
|
-
"destination": "../assets/variables.css"
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|