@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.
@@ -0,0 +1,3 @@
1
+ export {};
2
+
3
+ declare module "@bcc-code/design-tokens/primevue/overrides" {}
@@ -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": "#1f1f21"
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
- "overlow": "0 0 8px 0 rgba(30,31,33,0.16), 0 0 1px 0 rgba(30,31,33,0.12)",
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": "700 0.75rem/14px Archivo",
167
- "sm": "700 0.875rem/16px Archivo",
168
- "md": "700 1rem/20px Archivo",
169
- "lg": "700 1.25rem/24px Archivo",
170
- "xl": "700 1.5rem/28px Archivo",
171
- "2xl": "700 2em/32px Archivo",
172
- "3xl": "700 2.25rem/40px Archivo",
173
- "4xl": "700 3rem/56px Archivo",
174
- "5xl": "700 3rem/64px Archivo"
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.150} {space.100}",
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": "#e2e3e4",
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": "#ffffff"
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
- "overlow": "0 0 8px 0 rgba(30,31,33,0.16), 0 0 1px 0 rgba(30,31,33,0.12)",
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": "700 0.75rem/14px Archivo",
167
- "sm": "700 0.875rem/16px Archivo",
168
- "md": "700 1rem/20px Archivo",
169
- "lg": "700 1.25rem/24px Archivo",
170
- "xl": "700 1.5rem/28px Archivo",
171
- "2xl": "700 2em/32px Archivo",
172
- "3xl": "700 2.25rem/40px Archivo",
173
- "4xl": "700 3rem/56px Archivo",
174
- "5xl": "700 3rem/64px Archivo"
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.150} {space.100}",
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": "#292a2e",
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.2",
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": "./build/bcc/css/auto.css",
11
- "./css/light": "./build/bcc/css/light.css",
12
- "./css/dark": "./build/bcc/css/dark.css",
13
- "./tailwind": "./build/bcc/css/tailwind-auto.css",
14
- "./tailwind/light": "./build/bcc/css/tailwind-light.css",
15
- "./tailwind/dark": "./build/bcc/css/tailwind-dark.css",
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
- "import": "./config/primevue.config.js",
26
- "types": "./config/primevue.config.d.ts"
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
  ],