@qpmtx/tokens 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.
- package/README.md +124 -0
- package/dist/css-var.d.ts +28 -0
- package/dist/css-var.d.ts.map +1 -0
- package/dist/css-var.js +17 -0
- package/dist/groups/colors-and-gradients.d.ts +646 -0
- package/dist/groups/colors-and-gradients.d.ts.map +1 -0
- package/dist/groups/colors-and-gradients.js +644 -0
- package/dist/groups/elevation-and-glow-shadows.d.ts +107 -0
- package/dist/groups/elevation-and-glow-shadows.d.ts.map +1 -0
- package/dist/groups/elevation-and-glow-shadows.js +105 -0
- package/dist/groups/motion-and-zindex.d.ts +137 -0
- package/dist/groups/motion-and-zindex.d.ts.map +1 -0
- package/dist/groups/motion-and-zindex.js +135 -0
- package/dist/groups/radius.d.ts +47 -0
- package/dist/groups/radius.d.ts.map +1 -0
- package/dist/groups/radius.js +45 -0
- package/dist/groups/spacing-and-layout.d.ts +157 -0
- package/dist/groups/spacing-and-layout.d.ts.map +1 -0
- package/dist/groups/spacing-and-layout.js +155 -0
- package/dist/groups/typography.d.ts +402 -0
- package/dist/groups/typography.d.ts.map +1 -0
- package/dist/groups/typography.js +400 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/package.json +34 -0
- package/tokens.css +248 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QPMatrix design tokens - group: typography
|
|
3
|
+
*
|
|
4
|
+
* AUTO-TRANSCRIBED from the owner's design source (tokens.json / tokens.css extracted
|
|
5
|
+
* from the QPMatrix Design System export). Do not hand-edit values here - regenerate
|
|
6
|
+
* from the live source per packages/.agents/skills/tokens/SKILL.md instead.
|
|
7
|
+
*
|
|
8
|
+
* Each entry mirrors the source JSON 1:1:
|
|
9
|
+
* raw - the literal CSS declaration value (may reference other vars)
|
|
10
|
+
* resolved - raw fully dereferenced down to a literal (hex/rgba/px/...)
|
|
11
|
+
* light - present only for tokens overridden by [data-theme="light"]
|
|
12
|
+
* usedByComponentBundle - whether the owner's component bundle references this token
|
|
13
|
+
*/
|
|
14
|
+
export const typography = {
|
|
15
|
+
"font-arabic": {
|
|
16
|
+
raw: '"IBM Plex Sans Arabic","IBM Plex Sans",ui-sans-serif,system-ui,sans-serif',
|
|
17
|
+
resolved: '"IBM Plex Sans Arabic","IBM Plex Sans",ui-sans-serif,system-ui,sans-serif',
|
|
18
|
+
usedByComponentBundle: false,
|
|
19
|
+
},
|
|
20
|
+
"font-display": {
|
|
21
|
+
raw: '"Space Grotesk",ui-sans-serif,system-ui,sans-serif',
|
|
22
|
+
resolved: '"Space Grotesk",ui-sans-serif,system-ui,sans-serif',
|
|
23
|
+
usedByComponentBundle: false,
|
|
24
|
+
},
|
|
25
|
+
"font-hebrew": {
|
|
26
|
+
raw: '"IBM Plex Sans Hebrew","IBM Plex Sans",ui-sans-serif,system-ui,sans-serif',
|
|
27
|
+
resolved: '"IBM Plex Sans Hebrew","IBM Plex Sans",ui-sans-serif,system-ui,sans-serif',
|
|
28
|
+
usedByComponentBundle: false,
|
|
29
|
+
},
|
|
30
|
+
"font-mono": {
|
|
31
|
+
raw: '"JetBrains Mono",ui-monospace,"SFMono-Regular",Menlo,monospace',
|
|
32
|
+
resolved: '"JetBrains Mono",ui-monospace,"SFMono-Regular",Menlo,monospace',
|
|
33
|
+
usedByComponentBundle: true,
|
|
34
|
+
},
|
|
35
|
+
"font-sans": {
|
|
36
|
+
raw: '"IBM Plex Sans","IBM Plex Sans Arabic","IBM Plex Sans Hebrew",ui-sans-serif,system-ui,-apple-system,sans-serif',
|
|
37
|
+
resolved: '"IBM Plex Sans","IBM Plex Sans Arabic","IBM Plex Sans Hebrew",ui-sans-serif,system-ui,-apple-system,sans-serif',
|
|
38
|
+
usedByComponentBundle: true,
|
|
39
|
+
},
|
|
40
|
+
"script-arabic-lh-adjust": {
|
|
41
|
+
raw: "1.12",
|
|
42
|
+
resolved: "1.12",
|
|
43
|
+
usedByComponentBundle: false,
|
|
44
|
+
},
|
|
45
|
+
"script-arabic-size-adjust": {
|
|
46
|
+
raw: "1.06",
|
|
47
|
+
resolved: "1.06",
|
|
48
|
+
usedByComponentBundle: false,
|
|
49
|
+
},
|
|
50
|
+
"script-hebrew-lh-adjust": {
|
|
51
|
+
raw: "1.06",
|
|
52
|
+
resolved: "1.06",
|
|
53
|
+
usedByComponentBundle: false,
|
|
54
|
+
},
|
|
55
|
+
"script-hebrew-size-adjust": {
|
|
56
|
+
raw: "1.02",
|
|
57
|
+
resolved: "1.02",
|
|
58
|
+
usedByComponentBundle: false,
|
|
59
|
+
},
|
|
60
|
+
"text-body-lg-lh": {
|
|
61
|
+
raw: "1.60",
|
|
62
|
+
resolved: "1.60",
|
|
63
|
+
usedByComponentBundle: false,
|
|
64
|
+
},
|
|
65
|
+
"text-body-lg-size": {
|
|
66
|
+
raw: "17px",
|
|
67
|
+
resolved: "17px",
|
|
68
|
+
usedByComponentBundle: false,
|
|
69
|
+
},
|
|
70
|
+
"text-body-lg-tracking": {
|
|
71
|
+
raw: "0em",
|
|
72
|
+
resolved: "0em",
|
|
73
|
+
usedByComponentBundle: false,
|
|
74
|
+
},
|
|
75
|
+
"text-body-lg-weight": {
|
|
76
|
+
raw: "400",
|
|
77
|
+
resolved: "400",
|
|
78
|
+
usedByComponentBundle: false,
|
|
79
|
+
},
|
|
80
|
+
"text-body-lh": {
|
|
81
|
+
raw: "1.60",
|
|
82
|
+
resolved: "1.60",
|
|
83
|
+
usedByComponentBundle: true,
|
|
84
|
+
},
|
|
85
|
+
"text-body-size": {
|
|
86
|
+
raw: "15px",
|
|
87
|
+
resolved: "15px",
|
|
88
|
+
usedByComponentBundle: true,
|
|
89
|
+
},
|
|
90
|
+
"text-body-sm-lh": {
|
|
91
|
+
raw: "1.55",
|
|
92
|
+
resolved: "1.55",
|
|
93
|
+
usedByComponentBundle: false,
|
|
94
|
+
},
|
|
95
|
+
"text-body-sm-size": {
|
|
96
|
+
raw: "13px",
|
|
97
|
+
resolved: "13px",
|
|
98
|
+
usedByComponentBundle: true,
|
|
99
|
+
},
|
|
100
|
+
"text-body-sm-tracking": {
|
|
101
|
+
raw: "0em",
|
|
102
|
+
resolved: "0em",
|
|
103
|
+
usedByComponentBundle: false,
|
|
104
|
+
},
|
|
105
|
+
"text-body-sm-weight": {
|
|
106
|
+
raw: "400",
|
|
107
|
+
resolved: "400",
|
|
108
|
+
usedByComponentBundle: false,
|
|
109
|
+
},
|
|
110
|
+
"text-body-tracking": {
|
|
111
|
+
raw: "0em",
|
|
112
|
+
resolved: "0em",
|
|
113
|
+
usedByComponentBundle: false,
|
|
114
|
+
},
|
|
115
|
+
"text-body-weight": {
|
|
116
|
+
raw: "400",
|
|
117
|
+
resolved: "400",
|
|
118
|
+
usedByComponentBundle: false,
|
|
119
|
+
},
|
|
120
|
+
"text-caption-lh": {
|
|
121
|
+
raw: "1.40",
|
|
122
|
+
resolved: "1.40",
|
|
123
|
+
usedByComponentBundle: false,
|
|
124
|
+
},
|
|
125
|
+
"text-caption-size": {
|
|
126
|
+
raw: "12px",
|
|
127
|
+
resolved: "12px",
|
|
128
|
+
usedByComponentBundle: true,
|
|
129
|
+
},
|
|
130
|
+
"text-caption-tracking": {
|
|
131
|
+
raw: "0.01em",
|
|
132
|
+
resolved: "0.01em",
|
|
133
|
+
usedByComponentBundle: false,
|
|
134
|
+
},
|
|
135
|
+
"text-caption-weight": {
|
|
136
|
+
raw: "400",
|
|
137
|
+
resolved: "400",
|
|
138
|
+
usedByComponentBundle: false,
|
|
139
|
+
},
|
|
140
|
+
"text-code-lh": {
|
|
141
|
+
raw: "1.60",
|
|
142
|
+
resolved: "1.60",
|
|
143
|
+
usedByComponentBundle: false,
|
|
144
|
+
},
|
|
145
|
+
"text-code-size": {
|
|
146
|
+
raw: "13px",
|
|
147
|
+
resolved: "13px",
|
|
148
|
+
usedByComponentBundle: false,
|
|
149
|
+
},
|
|
150
|
+
"text-code-tracking": {
|
|
151
|
+
raw: "0em",
|
|
152
|
+
resolved: "0em",
|
|
153
|
+
usedByComponentBundle: false,
|
|
154
|
+
},
|
|
155
|
+
"text-code-weight": {
|
|
156
|
+
raw: "400",
|
|
157
|
+
resolved: "400",
|
|
158
|
+
usedByComponentBundle: false,
|
|
159
|
+
},
|
|
160
|
+
"text-display-lg-lh": {
|
|
161
|
+
raw: "1.05",
|
|
162
|
+
resolved: "1.05",
|
|
163
|
+
usedByComponentBundle: false,
|
|
164
|
+
},
|
|
165
|
+
"text-display-lg-size": {
|
|
166
|
+
raw: "64px",
|
|
167
|
+
resolved: "64px",
|
|
168
|
+
usedByComponentBundle: false,
|
|
169
|
+
},
|
|
170
|
+
"text-display-lg-tracking": {
|
|
171
|
+
raw: "-0.02em",
|
|
172
|
+
resolved: "-0.02em",
|
|
173
|
+
usedByComponentBundle: false,
|
|
174
|
+
},
|
|
175
|
+
"text-display-lg-weight": {
|
|
176
|
+
raw: "600",
|
|
177
|
+
resolved: "600",
|
|
178
|
+
usedByComponentBundle: false,
|
|
179
|
+
},
|
|
180
|
+
"text-display-md-lh": {
|
|
181
|
+
raw: "1.10",
|
|
182
|
+
resolved: "1.10",
|
|
183
|
+
usedByComponentBundle: false,
|
|
184
|
+
},
|
|
185
|
+
"text-display-md-size": {
|
|
186
|
+
raw: "44px",
|
|
187
|
+
resolved: "44px",
|
|
188
|
+
usedByComponentBundle: false,
|
|
189
|
+
},
|
|
190
|
+
"text-display-md-tracking": {
|
|
191
|
+
raw: "-0.015em",
|
|
192
|
+
resolved: "-0.015em",
|
|
193
|
+
usedByComponentBundle: false,
|
|
194
|
+
},
|
|
195
|
+
"text-display-md-weight": {
|
|
196
|
+
raw: "600",
|
|
197
|
+
resolved: "600",
|
|
198
|
+
usedByComponentBundle: false,
|
|
199
|
+
},
|
|
200
|
+
"text-h1-lh": {
|
|
201
|
+
raw: "1.18",
|
|
202
|
+
resolved: "1.18",
|
|
203
|
+
usedByComponentBundle: false,
|
|
204
|
+
},
|
|
205
|
+
"text-h1-size": {
|
|
206
|
+
raw: "34px",
|
|
207
|
+
resolved: "34px",
|
|
208
|
+
usedByComponentBundle: false,
|
|
209
|
+
},
|
|
210
|
+
"text-h1-tracking": {
|
|
211
|
+
raw: "-0.01em",
|
|
212
|
+
resolved: "-0.01em",
|
|
213
|
+
usedByComponentBundle: false,
|
|
214
|
+
},
|
|
215
|
+
"text-h1-weight": {
|
|
216
|
+
raw: "600",
|
|
217
|
+
resolved: "600",
|
|
218
|
+
usedByComponentBundle: false,
|
|
219
|
+
},
|
|
220
|
+
"text-h2-lh": {
|
|
221
|
+
raw: "1.22",
|
|
222
|
+
resolved: "1.22",
|
|
223
|
+
usedByComponentBundle: false,
|
|
224
|
+
},
|
|
225
|
+
"text-h2-size": {
|
|
226
|
+
raw: "27px",
|
|
227
|
+
resolved: "27px",
|
|
228
|
+
usedByComponentBundle: false,
|
|
229
|
+
},
|
|
230
|
+
"text-h2-tracking": {
|
|
231
|
+
raw: "-0.01em",
|
|
232
|
+
resolved: "-0.01em",
|
|
233
|
+
usedByComponentBundle: false,
|
|
234
|
+
},
|
|
235
|
+
"text-h2-weight": {
|
|
236
|
+
raw: "600",
|
|
237
|
+
resolved: "600",
|
|
238
|
+
usedByComponentBundle: false,
|
|
239
|
+
},
|
|
240
|
+
"text-h3-lh": {
|
|
241
|
+
raw: "1.28",
|
|
242
|
+
resolved: "1.28",
|
|
243
|
+
usedByComponentBundle: false,
|
|
244
|
+
},
|
|
245
|
+
"text-h3-size": {
|
|
246
|
+
raw: "22px",
|
|
247
|
+
resolved: "22px",
|
|
248
|
+
usedByComponentBundle: true,
|
|
249
|
+
},
|
|
250
|
+
"text-h3-tracking": {
|
|
251
|
+
raw: "0em",
|
|
252
|
+
resolved: "0em",
|
|
253
|
+
usedByComponentBundle: false,
|
|
254
|
+
},
|
|
255
|
+
"text-h3-weight": {
|
|
256
|
+
raw: "600",
|
|
257
|
+
resolved: "600",
|
|
258
|
+
usedByComponentBundle: false,
|
|
259
|
+
},
|
|
260
|
+
"text-h4-lh": {
|
|
261
|
+
raw: "1.32",
|
|
262
|
+
resolved: "1.32",
|
|
263
|
+
usedByComponentBundle: false,
|
|
264
|
+
},
|
|
265
|
+
"text-h4-size": {
|
|
266
|
+
raw: "18px",
|
|
267
|
+
resolved: "18px",
|
|
268
|
+
usedByComponentBundle: false,
|
|
269
|
+
},
|
|
270
|
+
"text-h4-tracking": {
|
|
271
|
+
raw: "0em",
|
|
272
|
+
resolved: "0em",
|
|
273
|
+
usedByComponentBundle: false,
|
|
274
|
+
},
|
|
275
|
+
"text-h4-weight": {
|
|
276
|
+
raw: "600",
|
|
277
|
+
resolved: "600",
|
|
278
|
+
usedByComponentBundle: false,
|
|
279
|
+
},
|
|
280
|
+
"text-label-lg-lh": {
|
|
281
|
+
raw: "1.30",
|
|
282
|
+
resolved: "1.30",
|
|
283
|
+
usedByComponentBundle: false,
|
|
284
|
+
},
|
|
285
|
+
"text-label-lg-size": {
|
|
286
|
+
raw: "15px",
|
|
287
|
+
resolved: "15px",
|
|
288
|
+
usedByComponentBundle: true,
|
|
289
|
+
},
|
|
290
|
+
"text-label-lg-tracking": {
|
|
291
|
+
raw: "0em",
|
|
292
|
+
resolved: "0em",
|
|
293
|
+
usedByComponentBundle: false,
|
|
294
|
+
},
|
|
295
|
+
"text-label-lg-weight": {
|
|
296
|
+
raw: "500",
|
|
297
|
+
resolved: "500",
|
|
298
|
+
usedByComponentBundle: false,
|
|
299
|
+
},
|
|
300
|
+
"text-label-lh": {
|
|
301
|
+
raw: "1.30",
|
|
302
|
+
resolved: "1.30",
|
|
303
|
+
usedByComponentBundle: false,
|
|
304
|
+
},
|
|
305
|
+
"text-label-size": {
|
|
306
|
+
raw: "13px",
|
|
307
|
+
resolved: "13px",
|
|
308
|
+
usedByComponentBundle: true,
|
|
309
|
+
},
|
|
310
|
+
"text-label-sm-lh": {
|
|
311
|
+
raw: "1.30",
|
|
312
|
+
resolved: "1.30",
|
|
313
|
+
usedByComponentBundle: false,
|
|
314
|
+
},
|
|
315
|
+
"text-label-sm-size": {
|
|
316
|
+
raw: "12px",
|
|
317
|
+
resolved: "12px",
|
|
318
|
+
usedByComponentBundle: true,
|
|
319
|
+
},
|
|
320
|
+
"text-label-sm-tracking": {
|
|
321
|
+
raw: "0.01em",
|
|
322
|
+
resolved: "0.01em",
|
|
323
|
+
usedByComponentBundle: false,
|
|
324
|
+
},
|
|
325
|
+
"text-label-sm-weight": {
|
|
326
|
+
raw: "500",
|
|
327
|
+
resolved: "500",
|
|
328
|
+
usedByComponentBundle: false,
|
|
329
|
+
},
|
|
330
|
+
"text-label-tracking": {
|
|
331
|
+
raw: "0.005em",
|
|
332
|
+
resolved: "0.005em",
|
|
333
|
+
usedByComponentBundle: false,
|
|
334
|
+
},
|
|
335
|
+
"text-label-weight": {
|
|
336
|
+
raw: "500",
|
|
337
|
+
resolved: "500",
|
|
338
|
+
usedByComponentBundle: false,
|
|
339
|
+
},
|
|
340
|
+
"text-metric-compact-lh": {
|
|
341
|
+
raw: "1.10",
|
|
342
|
+
resolved: "1.10",
|
|
343
|
+
usedByComponentBundle: false,
|
|
344
|
+
},
|
|
345
|
+
"text-metric-compact-size": {
|
|
346
|
+
raw: "22px",
|
|
347
|
+
resolved: "22px",
|
|
348
|
+
usedByComponentBundle: true,
|
|
349
|
+
},
|
|
350
|
+
"text-metric-compact-tracking": {
|
|
351
|
+
raw: "-0.005em",
|
|
352
|
+
resolved: "-0.005em",
|
|
353
|
+
usedByComponentBundle: false,
|
|
354
|
+
},
|
|
355
|
+
"text-metric-compact-weight": {
|
|
356
|
+
raw: "600",
|
|
357
|
+
resolved: "600",
|
|
358
|
+
usedByComponentBundle: false,
|
|
359
|
+
},
|
|
360
|
+
"text-metric-lg-lh": {
|
|
361
|
+
raw: "1.00",
|
|
362
|
+
resolved: "1.00",
|
|
363
|
+
usedByComponentBundle: false,
|
|
364
|
+
},
|
|
365
|
+
"text-metric-lg-size": {
|
|
366
|
+
raw: "40px",
|
|
367
|
+
resolved: "40px",
|
|
368
|
+
usedByComponentBundle: true,
|
|
369
|
+
},
|
|
370
|
+
"text-metric-lg-tracking": {
|
|
371
|
+
raw: "-0.01em",
|
|
372
|
+
resolved: "-0.01em",
|
|
373
|
+
usedByComponentBundle: false,
|
|
374
|
+
},
|
|
375
|
+
"text-metric-lg-weight": {
|
|
376
|
+
raw: "600",
|
|
377
|
+
resolved: "600",
|
|
378
|
+
usedByComponentBundle: false,
|
|
379
|
+
},
|
|
380
|
+
"weight-bold": {
|
|
381
|
+
raw: "700",
|
|
382
|
+
resolved: "700",
|
|
383
|
+
usedByComponentBundle: false,
|
|
384
|
+
},
|
|
385
|
+
"weight-medium": {
|
|
386
|
+
raw: "500",
|
|
387
|
+
resolved: "500",
|
|
388
|
+
usedByComponentBundle: false,
|
|
389
|
+
},
|
|
390
|
+
"weight-regular": {
|
|
391
|
+
raw: "400",
|
|
392
|
+
resolved: "400",
|
|
393
|
+
usedByComponentBundle: false,
|
|
394
|
+
},
|
|
395
|
+
"weight-semibold": {
|
|
396
|
+
raw: "600",
|
|
397
|
+
resolved: "600",
|
|
398
|
+
usedByComponentBundle: false,
|
|
399
|
+
},
|
|
400
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @qpmtx/tokens — framework-agnostic QPMatrix design token system.
|
|
3
|
+
*
|
|
4
|
+
* Ships two aligned deliverables generated from the same design source:
|
|
5
|
+
* - CSS custom properties: import "@qpmtx/tokens/css" (see tokens.css)
|
|
6
|
+
* - Typed token objects: the named exports below
|
|
7
|
+
*
|
|
8
|
+
* See README.md for the consumption model and
|
|
9
|
+
* packages/.agents/skills/tokens/SKILL.md for how to extend it.
|
|
10
|
+
*/
|
|
11
|
+
export { colorsAndGradients, type ColorsAndGradientsVarName } from "./groups/colors-and-gradients";
|
|
12
|
+
export { elevationAndGlowShadows, type ElevationAndGlowShadowsVarName, } from "./groups/elevation-and-glow-shadows";
|
|
13
|
+
export { motionAndZIndex, type MotionAndZIndexVarName } from "./groups/motion-and-zindex";
|
|
14
|
+
export { radius, type RadiusVarName } from "./groups/radius";
|
|
15
|
+
export { spacingAndLayout, type SpacingAndLayoutVarName } from "./groups/spacing-and-layout";
|
|
16
|
+
export { typography, type TypographyVarName } from "./groups/typography";
|
|
17
|
+
export { cssVar, type TokenVarName } from "./css-var";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,kBAAkB,EAAE,KAAK,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACnG,OAAO,EACL,uBAAuB,EACvB,KAAK,8BAA8B,GACpC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @qpmtx/tokens — framework-agnostic QPMatrix design token system.
|
|
3
|
+
*
|
|
4
|
+
* Ships two aligned deliverables generated from the same design source:
|
|
5
|
+
* - CSS custom properties: import "@qpmtx/tokens/css" (see tokens.css)
|
|
6
|
+
* - Typed token objects: the named exports below
|
|
7
|
+
*
|
|
8
|
+
* See README.md for the consumption model and
|
|
9
|
+
* packages/.agents/skills/tokens/SKILL.md for how to extend it.
|
|
10
|
+
*/
|
|
11
|
+
export { colorsAndGradients } from "./groups/colors-and-gradients";
|
|
12
|
+
export { elevationAndGlowShadows, } from "./groups/elevation-and-glow-shadows";
|
|
13
|
+
export { motionAndZIndex } from "./groups/motion-and-zindex";
|
|
14
|
+
export { radius } from "./groups/radius";
|
|
15
|
+
export { spacingAndLayout } from "./groups/spacing-and-layout";
|
|
16
|
+
export { typography } from "./groups/typography";
|
|
17
|
+
export { cssVar } from "./css-var";
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@qpmtx/tokens",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/QPMatrix/qpm-ui.git"
|
|
11
|
+
},
|
|
12
|
+
"main": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"tokens.css"
|
|
17
|
+
],
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./css": "./tokens.css"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@qpmtx/tokens": "0.3.0",
|
|
27
|
+
"@qpmtx/typescript-config": "0.2.0",
|
|
28
|
+
"@types/bun": "^1.4.0"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "bun --bun tsc --build tsconfig.build.json --pretty false",
|
|
32
|
+
"test": "bun test"
|
|
33
|
+
}
|
|
34
|
+
}
|