@bcc-code/design-tokens 5.0.2 → 5.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.
- package/build/bcc/css/auto.css +111 -97
- package/build/bcc/css/auto.css.d.ts +3 -0
- package/build/bcc/css/dark.css +66 -54
- package/build/bcc/css/dark.css.d.ts +3 -0
- package/build/bcc/css/light.css +66 -54
- package/build/bcc/css/light.css.d.ts +3 -0
- package/build/bcc/css/tailwind-auto.css +109 -97
- package/build/bcc/css/tailwind-auto.css.d.ts +3 -0
- package/build/bcc/css/tailwind-dark.css +66 -54
- package/build/bcc/css/tailwind-dark.css.d.ts +3 -0
- package/build/bcc/css/tailwind-light.css +66 -54
- package/build/bcc/css/tailwind-light.css.d.ts +3 -0
- package/build/bcc/js/dark.d.ts +16 -2
- package/build/bcc/js/dark.js +25 -11
- package/build/bcc/js/light.d.ts +16 -2
- package/build/bcc/js/light.js +26 -12
- package/build/primevue/component-dark.js +264 -264
- package/build/primevue/component-light.js +485 -485
- package/{config/primevue.config.d.ts → build/primevue/config.d.ts} +11 -11
- package/build/primevue/config.js +3195 -0
- package/build/primevue/overrides.css.d.ts +3 -0
- package/build/primevue/primitive.js +14 -0
- package/build/primevue/semantic-dark.js +13 -13
- package/build/primevue/semantic-light.js +13 -13
- package/package.json +31 -13
- package/config/primevue.config.js +0 -987
- /package/{config/primevue-overrides.css → build/primevue/overrides.css} +0 -0
|
@@ -171,6 +171,18 @@ export default {
|
|
|
171
171
|
1000: "#1d154d",
|
|
172
172
|
},
|
|
173
173
|
transparent: "rgba(0, 0, 0, 0)",
|
|
174
|
+
brand: {
|
|
175
|
+
100: "#f0fcfa",
|
|
176
|
+
200: "#d2eeeb",
|
|
177
|
+
300: "#a0cec8",
|
|
178
|
+
400: "#6fb5ad",
|
|
179
|
+
500: "#3e9f97",
|
|
180
|
+
600: "#1d7f78",
|
|
181
|
+
700: "#0c625c",
|
|
182
|
+
800: "#014d49",
|
|
183
|
+
900: "#0b3633",
|
|
184
|
+
1000: "#012320",
|
|
185
|
+
},
|
|
174
186
|
},
|
|
175
187
|
space: {
|
|
176
188
|
0: "0rem",
|
|
@@ -231,6 +243,7 @@ export default {
|
|
|
231
243
|
regular: 400,
|
|
232
244
|
medium: 500,
|
|
233
245
|
bold: 700,
|
|
246
|
+
semibold: 600,
|
|
234
247
|
},
|
|
235
248
|
"line-height": {
|
|
236
249
|
1: "14px",
|
|
@@ -254,6 +267,7 @@ export default {
|
|
|
254
267
|
"2xl": "2em",
|
|
255
268
|
"3xl": "2.25rem",
|
|
256
269
|
"4xl": "3rem",
|
|
270
|
+
"5xl": "3.5rem",
|
|
257
271
|
},
|
|
258
272
|
border: {
|
|
259
273
|
radius: {
|
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"size": "14px"
|
|
13
13
|
},
|
|
14
14
|
"card": {
|
|
15
|
-
"background": "
|
|
15
|
+
"background": "{color.elevation.surface.default}"
|
|
16
16
|
},
|
|
17
17
|
"sm": {
|
|
18
18
|
"font": {
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
},
|
|
54
54
|
"elevation": {
|
|
55
55
|
"shadow": {
|
|
56
|
-
"
|
|
56
|
+
"oveflow": "0 0 8px 0 rgba(30,31,33,0.16), 0 0 1px 0 rgba(30,31,33,0.12)",
|
|
57
57
|
"overlay": "0 8px 12px 0 rgba(30,31,33,0.15), 0 0 1px 0 rgba(30,31,33,0.31)",
|
|
58
58
|
"raised": "0 1px 1px 0 rgba(30,31,33,0.25), 0 0 1px 0 rgba(30,31,33,0.31)"
|
|
59
59
|
}
|
|
@@ -163,15 +163,15 @@ export default {
|
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
"heading": {
|
|
166
|
-
"xs": "
|
|
167
|
-
"sm": "
|
|
168
|
-
"md": "
|
|
169
|
-
"lg": "
|
|
170
|
-
"xl": "
|
|
171
|
-
"2xl": "
|
|
172
|
-
"3xl": "
|
|
173
|
-
"4xl": "
|
|
174
|
-
"5xl": "
|
|
166
|
+
"xs": "600 0.75rem/14px Archivo",
|
|
167
|
+
"sm": "600 0.875rem/16px Archivo",
|
|
168
|
+
"md": "600 1rem/20px Archivo",
|
|
169
|
+
"lg": "600 1.25rem/24px Archivo",
|
|
170
|
+
"xl": "600 1.5rem/28px Archivo",
|
|
171
|
+
"2xl": "600 2em/32px Archivo",
|
|
172
|
+
"3xl": "600 2.25rem/40px Archivo",
|
|
173
|
+
"4xl": "600 3rem/56px Archivo",
|
|
174
|
+
"5xl": "600 3.5rem/64px Archivo"
|
|
175
175
|
},
|
|
176
176
|
"highlight": {
|
|
177
177
|
"background": "{primary.400}",
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
191
191
|
"padding": "{space.100}"
|
|
192
192
|
},
|
|
193
193
|
"option": {
|
|
194
|
-
"padding": "{space.
|
|
194
|
+
"padding": "{space.100} {space.150}",
|
|
195
195
|
"border": {
|
|
196
196
|
"radius": "{border.radius.sm}"
|
|
197
197
|
},
|
|
@@ -351,7 +351,7 @@ export default {
|
|
|
351
351
|
"950": "{zinc.950}"
|
|
352
352
|
},
|
|
353
353
|
"text": {
|
|
354
|
-
"color": "
|
|
354
|
+
"color": "{color.text.default}",
|
|
355
355
|
"hover": {
|
|
356
356
|
"color": "{surface.0}",
|
|
357
357
|
"muted": {
|
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"size": "14px"
|
|
13
13
|
},
|
|
14
14
|
"card": {
|
|
15
|
-
"background": "
|
|
15
|
+
"background": "{color.elevation.surface.default}"
|
|
16
16
|
},
|
|
17
17
|
"sm": {
|
|
18
18
|
"font": {
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
},
|
|
54
54
|
"elevation": {
|
|
55
55
|
"shadow": {
|
|
56
|
-
"
|
|
56
|
+
"oveflow": "0 0 8px 0 rgba(30,31,33,0.16), 0 0 1px 0 rgba(30,31,33,0.12)",
|
|
57
57
|
"overlay": "0 8px 12px 0 rgba(30,31,33,0.15), 0 0 1px 0 rgba(30,31,33,0.31)",
|
|
58
58
|
"raised": "0 1px 1px 0 rgba(30,31,33,0.25), 0 0 1px 0 rgba(30,31,33,0.31)"
|
|
59
59
|
}
|
|
@@ -163,15 +163,15 @@ export default {
|
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
"heading": {
|
|
166
|
-
"xs": "
|
|
167
|
-
"sm": "
|
|
168
|
-
"md": "
|
|
169
|
-
"lg": "
|
|
170
|
-
"xl": "
|
|
171
|
-
"2xl": "
|
|
172
|
-
"3xl": "
|
|
173
|
-
"4xl": "
|
|
174
|
-
"5xl": "
|
|
166
|
+
"xs": "600 0.75rem/14px Archivo",
|
|
167
|
+
"sm": "600 0.875rem/16px Archivo",
|
|
168
|
+
"md": "600 1rem/20px Archivo",
|
|
169
|
+
"lg": "600 1.25rem/24px Archivo",
|
|
170
|
+
"xl": "600 1.5rem/28px Archivo",
|
|
171
|
+
"2xl": "600 2em/32px Archivo",
|
|
172
|
+
"3xl": "600 2.25rem/40px Archivo",
|
|
173
|
+
"4xl": "600 3rem/56px Archivo",
|
|
174
|
+
"5xl": "600 3.5rem/64px Archivo"
|
|
175
175
|
},
|
|
176
176
|
"highlight": {
|
|
177
177
|
"background": "{primary.50}",
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
191
191
|
"padding": "{space.100}"
|
|
192
192
|
},
|
|
193
193
|
"option": {
|
|
194
|
-
"padding": "{space.
|
|
194
|
+
"padding": "{space.100} {space.150}",
|
|
195
195
|
"border": {
|
|
196
196
|
"radius": "{border.radius.sm}"
|
|
197
197
|
},
|
|
@@ -351,7 +351,7 @@ export default {
|
|
|
351
351
|
"950": "{slate.950}"
|
|
352
352
|
},
|
|
353
353
|
"text": {
|
|
354
|
-
"color": "
|
|
354
|
+
"color": "{color.text.default}",
|
|
355
355
|
"hover": {
|
|
356
356
|
"color": "{surface.800}",
|
|
357
357
|
"muted": {
|
package/package.json
CHANGED
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/design-tokens",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Design tokens build system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=18.0.0"
|
|
8
8
|
},
|
|
9
9
|
"exports": {
|
|
10
|
-
"./css":
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"./
|
|
15
|
-
|
|
10
|
+
"./css": {
|
|
11
|
+
"types": "./build/bcc/css/auto.css.d.ts",
|
|
12
|
+
"default": "./build/bcc/css/auto.css"
|
|
13
|
+
},
|
|
14
|
+
"./css/light": {
|
|
15
|
+
"types": "./build/bcc/css/light.css.d.ts",
|
|
16
|
+
"default": "./build/bcc/css/light.css"
|
|
17
|
+
},
|
|
18
|
+
"./css/dark": {
|
|
19
|
+
"types": "./build/bcc/css/dark.css.d.ts",
|
|
20
|
+
"default": "./build/bcc/css/dark.css"
|
|
21
|
+
},
|
|
22
|
+
"./tailwind": {
|
|
23
|
+
"types": "./build/bcc/css/tailwind-auto.css.d.ts",
|
|
24
|
+
"default": "./build/bcc/css/tailwind-auto.css"
|
|
25
|
+
},
|
|
26
|
+
"./tailwind/light": {
|
|
27
|
+
"types": "./build/bcc/css/tailwind-light.css.d.ts",
|
|
28
|
+
"default": "./build/bcc/css/tailwind-light.css"
|
|
29
|
+
},
|
|
30
|
+
"./tailwind/dark": {
|
|
31
|
+
"types": "./build/bcc/css/tailwind-dark.css.d.ts",
|
|
32
|
+
"default": "./build/bcc/css/tailwind-dark.css"
|
|
33
|
+
},
|
|
16
34
|
"./js/light": {
|
|
17
35
|
"types": "./build/bcc/js/light.d.ts",
|
|
18
36
|
"default": "./build/bcc/js/light.js"
|
|
@@ -22,17 +40,17 @@
|
|
|
22
40
|
"default": "./build/bcc/js/dark.js"
|
|
23
41
|
},
|
|
24
42
|
"./primevue": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
43
|
+
"types": "./build/primevue/config.d.ts",
|
|
44
|
+
"import": "./build/primevue/config.js"
|
|
45
|
+
},
|
|
46
|
+
"./primevue/overrides": {
|
|
47
|
+
"types": "./build/primevue/overrides.css.d.ts",
|
|
48
|
+
"default": "./build/primevue/overrides.css"
|
|
27
49
|
},
|
|
28
|
-
"./primevue/overrides": "./config/primevue-overrides.css",
|
|
29
50
|
"./package.json": "./package.json"
|
|
30
51
|
},
|
|
31
52
|
"files": [
|
|
32
53
|
"build/**/*",
|
|
33
|
-
"config/primevue.config.js",
|
|
34
|
-
"config/primevue.config.d.ts",
|
|
35
|
-
"config/primevue-overrides.css",
|
|
36
54
|
"README.md",
|
|
37
55
|
"package.json"
|
|
38
56
|
],
|