@bcc-code/design-tokens 3.0.4 → 3.0.5

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 CHANGED
@@ -1,63 +1,63 @@
1
- # @bcc-code/design-tokens
2
-
3
- Design tokens for BCC projects with CSS, Tailwind v4, and PrimeVue support.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @bcc-code/design-tokens
9
- ```
10
-
11
- ## Usage
12
-
13
- ### CSS Variables
14
-
15
- ```css
16
- @import '@bcc-code/design-tokens/css/light';
17
- /* or */
18
- @import '@bcc-code/design-tokens/css/dark';
19
- ```
20
-
21
- ```css
22
- .card {
23
- background: var(--color-elevation-surface-default);
24
- color: var(--color-text-default);
25
- padding: var(--space-300);
26
- }
27
- ```
28
-
29
- ### Tailwind CSS v4
30
-
31
- ```css
32
- @import '@bcc-code/design-tokens/tailwind/light';
33
- /* or */
34
- @import '@bcc-code/design-tokens/tailwind/dark';
35
- ```
36
-
37
- ```html
38
- <div class="bg-elevation-surface-default text-default p-300">
39
- Content
40
- </div>
41
- ```
42
-
43
- ### PrimeVue
44
-
45
- ```javascript
46
- import BCCPreset from "@bcc-code/design-tokens/primevue";
47
-
48
- app.use(PrimeVue, {
49
- theme: {
50
- preset: BCCPreset
51
- }
52
- });
53
- ```
54
-
55
- ## CDN
56
-
57
- ```html
58
- <link rel="stylesheet" href="https://unpkg.com/@bcc-code/design-tokens@latest/build/bcc/light.css">
59
- ```
60
-
61
- ## License
62
-
1
+ # @bcc-code/design-tokens
2
+
3
+ Design tokens for BCC projects with CSS, Tailwind v4, and PrimeVue support.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @bcc-code/design-tokens
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ### CSS Variables
14
+
15
+ ```css
16
+ @import '@bcc-code/design-tokens/css/light';
17
+ /* or */
18
+ @import '@bcc-code/design-tokens/css/dark';
19
+ ```
20
+
21
+ ```css
22
+ .card {
23
+ background: var(--color-elevation-surface-default);
24
+ color: var(--color-text-default);
25
+ padding: var(--space-300);
26
+ }
27
+ ```
28
+
29
+ ### Tailwind CSS v4
30
+
31
+ ```css
32
+ @import '@bcc-code/design-tokens/tailwind/light';
33
+ /* or */
34
+ @import '@bcc-code/design-tokens/tailwind/dark';
35
+ ```
36
+
37
+ ```html
38
+ <div class="bg-elevation-surface-default text-default p-300">
39
+ Content
40
+ </div>
41
+ ```
42
+
43
+ ### PrimeVue
44
+
45
+ ```javascript
46
+ import BCCPreset from "@bcc-code/design-tokens/primevue";
47
+
48
+ app.use(PrimeVue, {
49
+ theme: {
50
+ preset: BCCPreset
51
+ }
52
+ });
53
+ ```
54
+
55
+ ## CDN
56
+
57
+ ```html
58
+ <link rel="stylesheet" href="https://unpkg.com/@bcc-code/design-tokens@latest/build/bcc/light.css">
59
+ ```
60
+
61
+ ## License
62
+
63
63
  MIT © BCC Code