@polyxd/ds-carbon 0.1.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,385 @@
1
+ {
2
+ "$description": "IBM Carbon system tier, mode-independent: productive type styles (@carbon/type@11.67.0) and shadows (@carbon/styles 1.115.0 utilities/_box-shadow.scss).",
3
+ "carbon": {
4
+ "type": {
5
+ "$type": "typography",
6
+ "$description": "Carbon type styles from @carbon/type@11.67.0. Carbon sets font-family: sans on every style except code, and helper-text inherits weight (regular).",
7
+ "body-01": {
8
+ "$value": {
9
+ "fontFamily": "{carbon.type.font-family.sans}",
10
+ "fontSize": {
11
+ "value": 14,
12
+ "unit": "px"
13
+ },
14
+ "fontWeight": "{carbon.type.font-weight.regular}",
15
+ "lineHeight": 1.42857,
16
+ "letterSpacing": {
17
+ "value": 0.16,
18
+ "unit": "px"
19
+ }
20
+ }
21
+ },
22
+ "body-02": {
23
+ "$value": {
24
+ "fontFamily": "{carbon.type.font-family.sans}",
25
+ "fontSize": {
26
+ "value": 16,
27
+ "unit": "px"
28
+ },
29
+ "fontWeight": "{carbon.type.font-weight.regular}",
30
+ "lineHeight": 1.5,
31
+ "letterSpacing": {
32
+ "value": 0,
33
+ "unit": "px"
34
+ }
35
+ }
36
+ },
37
+ "body-compact-01": {
38
+ "$value": {
39
+ "fontFamily": "{carbon.type.font-family.sans}",
40
+ "fontSize": {
41
+ "value": 14,
42
+ "unit": "px"
43
+ },
44
+ "fontWeight": "{carbon.type.font-weight.regular}",
45
+ "lineHeight": 1.28572,
46
+ "letterSpacing": {
47
+ "value": 0.16,
48
+ "unit": "px"
49
+ }
50
+ }
51
+ },
52
+ "body-compact-02": {
53
+ "$value": {
54
+ "fontFamily": "{carbon.type.font-family.sans}",
55
+ "fontSize": {
56
+ "value": 16,
57
+ "unit": "px"
58
+ },
59
+ "fontWeight": "{carbon.type.font-weight.regular}",
60
+ "lineHeight": 1.375,
61
+ "letterSpacing": {
62
+ "value": 0,
63
+ "unit": "px"
64
+ }
65
+ }
66
+ },
67
+ "heading-01": {
68
+ "$value": {
69
+ "fontFamily": "{carbon.type.font-family.sans}",
70
+ "fontSize": {
71
+ "value": 14,
72
+ "unit": "px"
73
+ },
74
+ "fontWeight": "{carbon.type.font-weight.semibold}",
75
+ "lineHeight": 1.42857,
76
+ "letterSpacing": {
77
+ "value": 0.16,
78
+ "unit": "px"
79
+ }
80
+ }
81
+ },
82
+ "heading-02": {
83
+ "$value": {
84
+ "fontFamily": "{carbon.type.font-family.sans}",
85
+ "fontSize": {
86
+ "value": 16,
87
+ "unit": "px"
88
+ },
89
+ "fontWeight": "{carbon.type.font-weight.semibold}",
90
+ "lineHeight": 1.5,
91
+ "letterSpacing": {
92
+ "value": 0,
93
+ "unit": "px"
94
+ }
95
+ }
96
+ },
97
+ "heading-03": {
98
+ "$value": {
99
+ "fontFamily": "{carbon.type.font-family.sans}",
100
+ "fontSize": {
101
+ "value": 20,
102
+ "unit": "px"
103
+ },
104
+ "fontWeight": "{carbon.type.font-weight.regular}",
105
+ "lineHeight": 1.4,
106
+ "letterSpacing": {
107
+ "value": 0,
108
+ "unit": "px"
109
+ }
110
+ }
111
+ },
112
+ "heading-04": {
113
+ "$value": {
114
+ "fontFamily": "{carbon.type.font-family.sans}",
115
+ "fontSize": {
116
+ "value": 28,
117
+ "unit": "px"
118
+ },
119
+ "fontWeight": "{carbon.type.font-weight.regular}",
120
+ "lineHeight": 1.28572,
121
+ "letterSpacing": {
122
+ "value": 0,
123
+ "unit": "px"
124
+ }
125
+ }
126
+ },
127
+ "heading-05": {
128
+ "$value": {
129
+ "fontFamily": "{carbon.type.font-family.sans}",
130
+ "fontSize": {
131
+ "value": 32,
132
+ "unit": "px"
133
+ },
134
+ "fontWeight": "{carbon.type.font-weight.regular}",
135
+ "lineHeight": 1.25,
136
+ "letterSpacing": {
137
+ "value": 0,
138
+ "unit": "px"
139
+ }
140
+ }
141
+ },
142
+ "heading-06": {
143
+ "$value": {
144
+ "fontFamily": "{carbon.type.font-family.sans}",
145
+ "fontSize": {
146
+ "value": 42,
147
+ "unit": "px"
148
+ },
149
+ "fontWeight": "{carbon.type.font-weight.light}",
150
+ "lineHeight": 1.199,
151
+ "letterSpacing": {
152
+ "value": 0,
153
+ "unit": "px"
154
+ }
155
+ }
156
+ },
157
+ "heading-07": {
158
+ "$value": {
159
+ "fontFamily": "{carbon.type.font-family.sans}",
160
+ "fontSize": {
161
+ "value": 54,
162
+ "unit": "px"
163
+ },
164
+ "fontWeight": "{carbon.type.font-weight.light}",
165
+ "lineHeight": 1.199,
166
+ "letterSpacing": {
167
+ "value": 0,
168
+ "unit": "px"
169
+ }
170
+ }
171
+ },
172
+ "heading-compact-01": {
173
+ "$value": {
174
+ "fontFamily": "{carbon.type.font-family.sans}",
175
+ "fontSize": {
176
+ "value": 14,
177
+ "unit": "px"
178
+ },
179
+ "fontWeight": "{carbon.type.font-weight.semibold}",
180
+ "lineHeight": 1.28572,
181
+ "letterSpacing": {
182
+ "value": 0.16,
183
+ "unit": "px"
184
+ }
185
+ }
186
+ },
187
+ "heading-compact-02": {
188
+ "$value": {
189
+ "fontFamily": "{carbon.type.font-family.sans}",
190
+ "fontSize": {
191
+ "value": 16,
192
+ "unit": "px"
193
+ },
194
+ "fontWeight": "{carbon.type.font-weight.semibold}",
195
+ "lineHeight": 1.375,
196
+ "letterSpacing": {
197
+ "value": 0,
198
+ "unit": "px"
199
+ }
200
+ }
201
+ },
202
+ "label-01": {
203
+ "$value": {
204
+ "fontFamily": "{carbon.type.font-family.sans}",
205
+ "fontSize": {
206
+ "value": 12,
207
+ "unit": "px"
208
+ },
209
+ "fontWeight": "{carbon.type.font-weight.regular}",
210
+ "lineHeight": 1.33333,
211
+ "letterSpacing": {
212
+ "value": 0.32,
213
+ "unit": "px"
214
+ }
215
+ }
216
+ },
217
+ "label-02": {
218
+ "$value": {
219
+ "fontFamily": "{carbon.type.font-family.sans}",
220
+ "fontSize": {
221
+ "value": 14,
222
+ "unit": "px"
223
+ },
224
+ "fontWeight": "{carbon.type.font-weight.regular}",
225
+ "lineHeight": 1.28572,
226
+ "letterSpacing": {
227
+ "value": 0.16,
228
+ "unit": "px"
229
+ }
230
+ }
231
+ },
232
+ "helper-text-01": {
233
+ "$value": {
234
+ "fontFamily": "{carbon.type.font-family.sans}",
235
+ "fontSize": {
236
+ "value": 12,
237
+ "unit": "px"
238
+ },
239
+ "fontWeight": "{carbon.type.font-weight.regular}",
240
+ "lineHeight": 1.33333,
241
+ "letterSpacing": {
242
+ "value": 0.32,
243
+ "unit": "px"
244
+ }
245
+ }
246
+ },
247
+ "helper-text-02": {
248
+ "$value": {
249
+ "fontFamily": "{carbon.type.font-family.sans}",
250
+ "fontSize": {
251
+ "value": 14,
252
+ "unit": "px"
253
+ },
254
+ "fontWeight": "{carbon.type.font-weight.regular}",
255
+ "lineHeight": 1.28572,
256
+ "letterSpacing": {
257
+ "value": 0.16,
258
+ "unit": "px"
259
+ }
260
+ }
261
+ },
262
+ "legal-01": {
263
+ "$value": {
264
+ "fontFamily": "{carbon.type.font-family.sans}",
265
+ "fontSize": {
266
+ "value": 12,
267
+ "unit": "px"
268
+ },
269
+ "fontWeight": "{carbon.type.font-weight.regular}",
270
+ "lineHeight": 1.33333,
271
+ "letterSpacing": {
272
+ "value": 0.32,
273
+ "unit": "px"
274
+ }
275
+ }
276
+ },
277
+ "legal-02": {
278
+ "$value": {
279
+ "fontFamily": "{carbon.type.font-family.sans}",
280
+ "fontSize": {
281
+ "value": 14,
282
+ "unit": "px"
283
+ },
284
+ "fontWeight": "{carbon.type.font-weight.regular}",
285
+ "lineHeight": 1.28572,
286
+ "letterSpacing": {
287
+ "value": 0.16,
288
+ "unit": "px"
289
+ }
290
+ }
291
+ },
292
+ "code-01": {
293
+ "$value": {
294
+ "fontFamily": "{carbon.type.font-family.mono}",
295
+ "fontSize": {
296
+ "value": 12,
297
+ "unit": "px"
298
+ },
299
+ "fontWeight": "{carbon.type.font-weight.regular}",
300
+ "lineHeight": 1.33333,
301
+ "letterSpacing": {
302
+ "value": 0.32,
303
+ "unit": "px"
304
+ }
305
+ }
306
+ },
307
+ "code-02": {
308
+ "$value": {
309
+ "fontFamily": "{carbon.type.font-family.mono}",
310
+ "fontSize": {
311
+ "value": 14,
312
+ "unit": "px"
313
+ },
314
+ "fontWeight": "{carbon.type.font-weight.regular}",
315
+ "lineHeight": 1.42857,
316
+ "letterSpacing": {
317
+ "value": 0.32,
318
+ "unit": "px"
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "shadow": {
324
+ "$type": "shadow",
325
+ "box-shadow": {
326
+ "$value": {
327
+ "color": "{carbon.theme.shadow}",
328
+ "offsetX": {
329
+ "value": 0,
330
+ "unit": "px"
331
+ },
332
+ "offsetY": {
333
+ "value": 2,
334
+ "unit": "px"
335
+ },
336
+ "blur": {
337
+ "value": 6,
338
+ "unit": "px"
339
+ },
340
+ "spread": {
341
+ "value": 0,
342
+ "unit": "px"
343
+ }
344
+ },
345
+ "$description": "@carbon/styles 1.115.0 scss/utilities/_box-shadow.scss: box-shadow: 0 2px 6px $shadow (menus, dropdowns, overflow menus)"
346
+ }
347
+ }
348
+ },
349
+ "polyxd": {
350
+ "shadow": {
351
+ "$type": "shadow",
352
+ "flat": {
353
+ "$value": {
354
+ "color": {
355
+ "colorSpace": "srgb",
356
+ "components": [
357
+ 0,
358
+ 0,
359
+ 0
360
+ ],
361
+ "alpha": 0,
362
+ "hex": "#000000"
363
+ },
364
+ "offsetX": {
365
+ "value": 0,
366
+ "unit": "px"
367
+ },
368
+ "offsetY": {
369
+ "value": 0,
370
+ "unit": "px"
371
+ },
372
+ "blur": {
373
+ "value": 0,
374
+ "unit": "px"
375
+ },
376
+ "spread": {
377
+ "value": 0,
378
+ "unit": "px"
379
+ }
380
+ },
381
+ "$description": "Polyxd addition: no shadow. Carbon tiles and cards are flat and are set apart by $layer colour, not elevation."
382
+ }
383
+ }
384
+ }
385
+ }