@itcase/tokens-am 1.0.10 → 1.0.13
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/dist/css/styles/main.css +318 -0
- package/dist/index.js +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--color-accent-primary: hsla(195, 96%, 59%, 1);
|
|
3
|
+
--color-accent-primary-hover: hsla(197, 100%, 47%, 1);
|
|
4
|
+
--color-accent-secondary: hsla(194, 99%, 36%, 1);
|
|
5
|
+
--color-accent-secondary-hover: hsla(197, 100%, 47%, 1);
|
|
6
|
+
--color-accent-tertiary: hsla(219, 61%, 34%, 1);
|
|
7
|
+
--color-accent-active: hsla(195, 96%, 59%, 1);
|
|
8
|
+
--color-accent-disabled: hsla(195, 100%, 94%, 1);
|
|
9
|
+
|
|
10
|
+
--color-accent-text-primary: hsla(0, 0%, 100%, 1);
|
|
11
|
+
--color-accent-text-secondary: hsla(194, 99%, 36%, 1);
|
|
12
|
+
--color-accent-text-disable: hsla(240, 53%, 33%, 1);
|
|
13
|
+
|
|
14
|
+
--color-accent-item-primary: hsla(0, 0%, 100%, 1);
|
|
15
|
+
--color-accent-item-secondary: hsla(197, 100%, 47%, 1);
|
|
16
|
+
--color-accent-item-tertiary: hsla(219, 61%, 34%, 1);
|
|
17
|
+
--color-accent-item-quaternary: hsla(194, 99%, 36%, 1);
|
|
18
|
+
--color-accent-item-active: hsla(197, 100%, 47%, 1);
|
|
19
|
+
--color-accent-item-disabled: hsla(195, 100%, 94%, 1);
|
|
20
|
+
|
|
21
|
+
--color-accent-border-primary: hsla(0, 0%, 100%, 1);
|
|
22
|
+
--color-accent-border-secondary: hsla(197, 100%, 47%, 1);
|
|
23
|
+
--color-accent-border-disabled: hsla(195, 100%, 94%, 1);
|
|
24
|
+
|
|
25
|
+
--color-primary-primary: hsla(36, 95%, 45%, 1);
|
|
26
|
+
|
|
27
|
+
--color-secondary-primary: hsla(334, 88%, 64%, 1);
|
|
28
|
+
--color-secondary-primary-hover: hsla(334, 88%, 64%, 1);
|
|
29
|
+
--color-secondary-secondary: hsla(349, 70%, 74%, 1);
|
|
30
|
+
--color-secondary-secondary-hover: hsla(348, 68%, 85%, 1);
|
|
31
|
+
--color-secondary-disabled: hsla(348, 58%, 90%, 1);
|
|
32
|
+
--color-secondary-active: hsla(349, 95%, 34%, 1);
|
|
33
|
+
|
|
34
|
+
--color-secondary-text-hover: hsla(349, 95%, 34%, 1);
|
|
35
|
+
|
|
36
|
+
--color-surface-primary: hsla(0, 0%, 100%, 1);
|
|
37
|
+
--color-surface-primary-hover: hsla(0, 0%, 85%, 1);
|
|
38
|
+
--color-surface-secondary: hsla(220, 14%, 96%, 1);
|
|
39
|
+
--color-surface-secondary-hover: hsla(0, 0%, 78%, 1);
|
|
40
|
+
--color-surface-tertiary: hsla(0, 0%, 85%, 1);
|
|
41
|
+
--color-surface-tertiary-hover: hsla(0, 0%, 73%, 1);
|
|
42
|
+
--color-surface-quaternary: hsla(216, 2%, 51%, 1);
|
|
43
|
+
--color-surface-quaternary-50: hsla(0, 0%, 100%, 0.5);
|
|
44
|
+
--color-surface-disabled: hsla(0, 0%, 93%, 1);
|
|
45
|
+
--color-surface-quinary: hsla(195, 96%, 59%, 1);
|
|
46
|
+
--color-surface-accent: hsla(195, 95%, 85%, 1);
|
|
47
|
+
--color-surface-inverse: hsla(0, 0%, 0%, 1);
|
|
48
|
+
--color-surface-inverse-50: hsla(0, 0%, 0%, 0.5);
|
|
49
|
+
|
|
50
|
+
--color-surface-text-primary: hsla(0, 0%, 0%, 1);
|
|
51
|
+
--color-surface-text-secondary: hsla(0, 0%, 93%, 1);
|
|
52
|
+
--color-surface-text-tertiary: hsla(219, 61%, 34%, 1);
|
|
53
|
+
--color-surface-text-quaternary: hsla(216, 2%, 51%, 1);
|
|
54
|
+
--color-surface-text-disabled: hsla(0, 0%, 47%, 1);
|
|
55
|
+
--color-surface-text-hover: hsla(0, 0%, 31%, 1);
|
|
56
|
+
--color-surface-text-accent: hsla(194, 99%, 36%, 1);
|
|
57
|
+
--color-surface-text-accent-hover: hsla(195, 96%, 59%, 1);
|
|
58
|
+
--color-surface-text-active: hsla(197, 100%, 47%, 1);
|
|
59
|
+
--color-surface-text-inverse: hsla(0, 0%, 100%, 1);
|
|
60
|
+
|
|
61
|
+
--color-surface-item-primary: hsla(0, 0%, 0%, 1);
|
|
62
|
+
--color-surface-item-secondary: hsla(0, 0%, 93%, 1);
|
|
63
|
+
--color-surface-item-tertiary: hsla(219, 61%, 34%, 1);
|
|
64
|
+
--color-surface-item-quaternary: hsla(194, 99%, 36%, 1);
|
|
65
|
+
--color-surface-item-hover: hsla(0, 0%, 31%, 1);
|
|
66
|
+
--color-surface-item-disabled: hsla(0, 0%, 47%, 1);
|
|
67
|
+
--color-surface-item-accent: hsla(197, 100%, 47%, 1);
|
|
68
|
+
--color-surface-item-active: hsla(195, 96%, 59%, 1);
|
|
69
|
+
--color-surface-item-inverse: hsla(0, 0%, 100%, 1);
|
|
70
|
+
|
|
71
|
+
--color-surface-border-primary: hsla(0, 0%, 0%, 1);
|
|
72
|
+
--color-surface-border-secondary: hsla(220, 14%, 96%, 1);
|
|
73
|
+
--color-surface-border-tertiary: hsla(219, 61%, 34%, 1);
|
|
74
|
+
--color-surface-border-quaternary: hsla(216, 2%, 51%, 1);
|
|
75
|
+
--color-surface-border-hover: hsla(0, 0%, 31%, 1);
|
|
76
|
+
--color-surface-border-disabled: hsla(0, 0%, 47%, 1);
|
|
77
|
+
--color-surface-border-accent: hsla(0, 0%, 85%, 1);
|
|
78
|
+
--color-surface-border-active: hsla(195, 96%, 59%, 1);
|
|
79
|
+
--color-surface-border-inverse: hsla(0, 0%, 100%, 1);
|
|
80
|
+
|
|
81
|
+
--color-error-primary: hsla(0, 100%, 44%);
|
|
82
|
+
|
|
83
|
+
--color-error-text-primary: hsla(0, 100%, 44%, 1);
|
|
84
|
+
--color-error-text-secondary: hsla(0, 0%, 100%, 1);
|
|
85
|
+
|
|
86
|
+
--color-error-border-primary: hsla(0, 0%, 100%, 1);
|
|
87
|
+
--color-error-border-secondary: hsla(0, 100%, 44%);
|
|
88
|
+
--color-error-border-disabled: hsla(0, 31%, 65%);
|
|
89
|
+
|
|
90
|
+
--color-error-item-primary: hsla(0, 0%, 100%, 1);
|
|
91
|
+
--color-error-item-secondary: hsla(0, 100%, 44%);
|
|
92
|
+
--color-error-item-disabled: hsla(0, 31%, 65%);
|
|
93
|
+
|
|
94
|
+
--color-success-primary: hsla(92, 56%, 38%);
|
|
95
|
+
--color-success-secondary: hsla(92, 68%, 48%);
|
|
96
|
+
--color-success-tertiary: hsla(90, 53%, 93%);
|
|
97
|
+
--color-success-disabled: hsla(92, 43%, 80%);
|
|
98
|
+
|
|
99
|
+
--color-success-text-primary: hsla(0, 0%, 100%, 1);
|
|
100
|
+
--color-success-text-secondary: hsla(92, 56%, 38%);
|
|
101
|
+
--color-success-text-disabled: hsla(92, 22%, 54%);
|
|
102
|
+
|
|
103
|
+
--color-success-item-primary: hsla(92, 56%, 38%);
|
|
104
|
+
--color-success-item-secondary: hsla(0, 0%, 100%, 1);
|
|
105
|
+
--color-success-item-disabled: hsla(92, 22%, 54%);
|
|
106
|
+
|
|
107
|
+
--color-success-border-primary: hsla(92, 56%, 38%);
|
|
108
|
+
--color-success-border-secondary: hsla(0, 0%, 100%, 1);
|
|
109
|
+
--color-success-border-disabled: hsla(92, 22%, 54%);
|
|
110
|
+
|
|
111
|
+
--color-warning-primary: hsla(36, 95%, 45%);
|
|
112
|
+
--color-warning-secondary: hsla(36, 76%, 71%);
|
|
113
|
+
--color-warning-tertiary: hsla(0, 0%, 100%, 1);
|
|
114
|
+
--color-warning-disabled: hsla(36, 83%, 86%);
|
|
115
|
+
|
|
116
|
+
--color-warning-text-primary: hsla(36, 95%, 45%);
|
|
117
|
+
--color-warning-text-secondary: hsla(36, 76%, 71%);
|
|
118
|
+
--color-warning-text-disabled: hsla(36, 31%, 57%);
|
|
119
|
+
|
|
120
|
+
--color-warning-border-primary: hsla(36, 95%, 45%);
|
|
121
|
+
--color-warning-border-secondary: hsla(0, 0%, 100%, 1);
|
|
122
|
+
--color-warning-border-disabled: hsla(36, 31%, 57%);
|
|
123
|
+
|
|
124
|
+
--color-warning-item-primary: hsla(36, 95%, 45%);
|
|
125
|
+
--color-warning-item-secondary: hsla(0, 0%, 100%, 1);
|
|
126
|
+
--color-warning-item-disabled: hsla(36, 31%, 57%);
|
|
127
|
+
|
|
128
|
+
--color-info-primary: hsla(211, 83%, 47%, 1);
|
|
129
|
+
--color-info-text-primary: hsla(0, 0%, 100%, 1);
|
|
130
|
+
|
|
131
|
+
--color-danger-text-primary: hsla(349, 68%, 50%);
|
|
132
|
+
--color-danger-text-secondary: hsla(0, 0%, 100%, 1);
|
|
133
|
+
--color-danger-text-disabled: hsla(349, 43%, 75%);
|
|
134
|
+
|
|
135
|
+
--color-danger-item-primary: hsla(349, 68%, 50%);
|
|
136
|
+
--color-danger-item-secondary: hsla(0, 0%, 100%, 1);
|
|
137
|
+
--color-danger-item-disabled: hsla(349, 43%, 75%);
|
|
138
|
+
|
|
139
|
+
--color-danger-border-primary: hsla(349, 68%, 50%);
|
|
140
|
+
--color-danger-border-secondary: hsla(0, 0%, 100%, 1);
|
|
141
|
+
--color-danger-border-disabled: hsla(349, 43%, 75%);
|
|
142
|
+
|
|
143
|
+
--color-gradient-primary: linear-gradient(
|
|
144
|
+
to right,
|
|
145
|
+
hsla(0, 100%, 44%, 1) 0%,
|
|
146
|
+
hsla(27, 78%, 54%, 1) 50%,
|
|
147
|
+
hsla(92, 56%, 38%, 1) 100%
|
|
148
|
+
);
|
|
149
|
+
--elevation-1: 0px 1px 1px rgba(0, 0, 0, 0.24);
|
|
150
|
+
--elevation-2: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
|
|
151
|
+
--elevation-4: 0px 2px 6px rgba(0, 0, 0, 0.24);
|
|
152
|
+
--elevation-6: 0px 2px 6px rgba(0, 0, 0, 0.24);
|
|
153
|
+
--elevation-8: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
|
|
154
|
+
--elevation-12: 0px 6px 12px rgba(0, 0, 0, 0.16);
|
|
155
|
+
--elevation-16: 0px 8px 16px rgba(0, 0, 0, 0.16);
|
|
156
|
+
--elevation-24: 0px 16px 24px rgba(0, 0, 0, 0.12);
|
|
157
|
+
--min-max: 360px 1440px;
|
|
158
|
+
--min: 360px;
|
|
159
|
+
--max: 1440px;
|
|
160
|
+
--typography-min-viewport: 360px;
|
|
161
|
+
--typography-max-viewport: 1920px;
|
|
162
|
+
|
|
163
|
+
--typography-h1-min: 32px;
|
|
164
|
+
--typography-h1-max: 64px;
|
|
165
|
+
--typography-h1-min-line-height: 64px;
|
|
166
|
+
--typography-h1-max-line-height: 80px;
|
|
167
|
+
--typography-h1-font: var(--font-primary);
|
|
168
|
+
|
|
169
|
+
--typography-h2-min: 26px;
|
|
170
|
+
--typography-h2-max: 46px;
|
|
171
|
+
--typography-h2-min-line-height: 46px;
|
|
172
|
+
--typography-h2-max-line-height: 58px;
|
|
173
|
+
--typography-h2-font: var(--font-primary);
|
|
174
|
+
|
|
175
|
+
--typography-h3-min: 18px;
|
|
176
|
+
--typography-h3-max: 32px;
|
|
177
|
+
--typography-h3-min-line-height: 32px;
|
|
178
|
+
--typography-h3-max-line-height: 40px;
|
|
179
|
+
--typography-h3-font: var(--font-primary);
|
|
180
|
+
|
|
181
|
+
--typography-h4-min: 16px;
|
|
182
|
+
--typography-h4-max: 24px;
|
|
183
|
+
--typography-h4-min-line-height: 24px;
|
|
184
|
+
--typography-h4-max-line-height: 30px;
|
|
185
|
+
--typography-h4-font: var(--font-primary);
|
|
186
|
+
|
|
187
|
+
--typography-h5-min: 14px;
|
|
188
|
+
--typography-h5-max: 18px;
|
|
189
|
+
--typography-h5-min-line-height: 18px;
|
|
190
|
+
--typography-h5-max-line-height: 26px;
|
|
191
|
+
--typography-h5-font: var(--font-primary);
|
|
192
|
+
|
|
193
|
+
--typography-h6-min: 12px;
|
|
194
|
+
--typography-h6-max: 16px;
|
|
195
|
+
--typography-h6-min-line-height: 16px;
|
|
196
|
+
--typography-h6-max-line-height: 24px;
|
|
197
|
+
--typography-h6-font: var(--font-primary);
|
|
198
|
+
|
|
199
|
+
--typography-p-min: 14px;
|
|
200
|
+
--typography-p-max: 16px;
|
|
201
|
+
--typography-p-min-line-height: 18px;
|
|
202
|
+
--typography-p-max-line-height: 20px;
|
|
203
|
+
--typography-p-font: var(--font-primary);
|
|
204
|
+
|
|
205
|
+
--typography-text-xxl-min: 20px;
|
|
206
|
+
--typography-text-xxl-max: 24px;
|
|
207
|
+
--typography-text-xxl-min-line-height: 20px;
|
|
208
|
+
--typography-text-xxl-max-line-height: 24px;
|
|
209
|
+
--typography-text-xxl-font: var(--font-primary);
|
|
210
|
+
|
|
211
|
+
--typography-text-xl-min: 20px;
|
|
212
|
+
--typography-text-xl-max: 22px;
|
|
213
|
+
--typography-text-xl-min-line-height: 20px;
|
|
214
|
+
--typography-text-xl-max-line-height: 22px;
|
|
215
|
+
--typography-text-xl-font: var(--font-primary);
|
|
216
|
+
|
|
217
|
+
--typography-text-l-min: 18px;
|
|
218
|
+
--typography-text-l-max: 20px;
|
|
219
|
+
--typography-text-l-min-line-height: 18px;
|
|
220
|
+
--typography-text-l-max-line-height: 20px;
|
|
221
|
+
--typography-text-l-font: var(--font-primary);
|
|
222
|
+
|
|
223
|
+
--typography-text-m-min: 14px;
|
|
224
|
+
--typography-text-m-max: 16px;
|
|
225
|
+
--typography-text-m-min-line-height: 14px;
|
|
226
|
+
--typography-text-m-max-line-height: 20px;
|
|
227
|
+
--typography-text-m-font: var(--font-primary);
|
|
228
|
+
|
|
229
|
+
--typography-text-s-min: 12px;
|
|
230
|
+
--typography-text-s-max: 14px;
|
|
231
|
+
--typography-text-s-min-line-height: 12px;
|
|
232
|
+
--typography-text-s-max-line-height: 14px;
|
|
233
|
+
--typography-text-s-font: var(--font-primary);
|
|
234
|
+
|
|
235
|
+
--typography-text-xs-min: 10px;
|
|
236
|
+
--typography-text-xs-max: 12px;
|
|
237
|
+
--typography-text-xs-min-line-height: 10px;
|
|
238
|
+
--typography-text-xs-max-line-height: 12px;
|
|
239
|
+
--typography-text-xs-font: var(--font-primary);
|
|
240
|
+
|
|
241
|
+
--typography-text-xxs-min: 8px;
|
|
242
|
+
--typography-text-xxs-max: 10px;
|
|
243
|
+
--typography-text-xxs-min-line-height: 8px;
|
|
244
|
+
--typography-text-xxs-max-line-height: 10px;
|
|
245
|
+
--typography-text-xxs-font: var(--font-primary);
|
|
246
|
+
|
|
247
|
+
--typography-email-h1: 32px;
|
|
248
|
+
--typography-email-h1-line-height: 38px;
|
|
249
|
+
|
|
250
|
+
--typography-email-h2: 26px;
|
|
251
|
+
--typography-email-h2-line-height: 32px;
|
|
252
|
+
|
|
253
|
+
--typography-email-h3: 18px;
|
|
254
|
+
--typography-email-h3-line-height: 24px;
|
|
255
|
+
|
|
256
|
+
--typography-email-h4: 24px;
|
|
257
|
+
--typography-email-h4-line-height: 30px;
|
|
258
|
+
|
|
259
|
+
--typography-email-h5: 18px;
|
|
260
|
+
--typography-email-h5-line-height: 24px;
|
|
261
|
+
|
|
262
|
+
--typography-email-h6: 12px;
|
|
263
|
+
--typography-email-h6-line-height: 18px;
|
|
264
|
+
|
|
265
|
+
--typography-email-p: 16px;
|
|
266
|
+
--typography-email-p-line-height: 24px;
|
|
267
|
+
|
|
268
|
+
--typography-email-text-xxl: 24px;
|
|
269
|
+
--typography-email-text-xxl-line-height: 28px;
|
|
270
|
+
|
|
271
|
+
--typography-email-text-xl: 20px;
|
|
272
|
+
--typography-email-text-xl-line-height: 24px;
|
|
273
|
+
|
|
274
|
+
--typography-email-text-l: 18px;
|
|
275
|
+
--typography-email-text-l-line-height: 24px;
|
|
276
|
+
|
|
277
|
+
--typography-email-text-m: 16px;
|
|
278
|
+
--typography-email-text-m-line-height: 18px;
|
|
279
|
+
|
|
280
|
+
--typography-email-text-s: 14px;
|
|
281
|
+
--typography-email-text-s-line-height: 18px;
|
|
282
|
+
|
|
283
|
+
--typography-email-text-xs: 12px;
|
|
284
|
+
--typography-email-text-xs-line-height: 16px;
|
|
285
|
+
|
|
286
|
+
--typography-email-text-xxs: 10px;
|
|
287
|
+
--typography-email-text-xxs-line-height: 14px;
|
|
288
|
+
}
|
|
289
|
+
/* stylelint-disable custom-property-empty-line-before, value-keyword-case */
|
|
290
|
+
@media (--desktop) {
|
|
291
|
+
:root {
|
|
292
|
+
--wrapper-margin: 40px;
|
|
293
|
+
/* Warning first column 1fr by default */
|
|
294
|
+
--grid-system-columns: 23;
|
|
295
|
+
--grid-system-gutter: 12px;
|
|
296
|
+
--grid-system-margin: 40px;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@media (--mobile) {
|
|
301
|
+
:root {
|
|
302
|
+
--wrapper-margin: 12px;
|
|
303
|
+
/* Warning first column 1fr by default */
|
|
304
|
+
--grid-system-columns: 11;
|
|
305
|
+
--grid-system-gutter: 12px;
|
|
306
|
+
--grid-system-margin: 12px;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@media (--tablet) {
|
|
311
|
+
:root {
|
|
312
|
+
--wrapper-margin: 24px;
|
|
313
|
+
/* Warning first column 1fr by default */
|
|
314
|
+
--grid-system-columns: 15;
|
|
315
|
+
--grid-system-gutter: 12px;
|
|
316
|
+
--grid-system-margin: 24px;
|
|
317
|
+
}
|
|
318
|
+
}
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/tokens-am",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.13",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"access": "public",
|
|
22
22
|
"registry": "https://registry.npmjs.org/"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "532095d3385c63108f1ddb5ef41802af5a2a5f7d"
|
|
25
25
|
}
|