@indra-inter/neobrutalism-components 0.1.3 → 0.2.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 +144 -128
- package/dist/module/components/accordion/accordion.js +2 -13
- package/dist/module/components/accordion/accordion.js.map +1 -1
- package/dist/module/components/app-bar/app-bar.js +3 -5
- package/dist/module/components/app-bar/app-bar.js.map +1 -1
- package/dist/module/components/avatar/avatar.js +10 -11
- package/dist/module/components/avatar/avatar.js.map +1 -1
- package/dist/module/components/badge/badge.js +4 -5
- package/dist/module/components/badge/badge.js.map +1 -1
- package/dist/module/components/bottom-navigation/bottom-navigation.js +2 -15
- package/dist/module/components/bottom-navigation/bottom-navigation.js.map +1 -1
- package/dist/module/components/bottom-sheet/bottom-sheet.js +10 -4
- package/dist/module/components/bottom-sheet/bottom-sheet.js.map +1 -1
- package/dist/module/components/button/button.js +6 -16
- package/dist/module/components/button/button.js.map +1 -1
- package/dist/module/components/calendar/calendar.js.map +1 -1
- package/dist/module/components/card/card.js +3 -19
- package/dist/module/components/card/card.js.map +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js.map +1 -1
- package/dist/module/components/dialog/dialog.js +1 -1
- package/dist/module/components/dialog/dialog.js.map +1 -1
- package/dist/module/components/dropdown/dropdown-menu.js +4 -17
- package/dist/module/components/dropdown/dropdown-menu.js.map +1 -1
- package/dist/module/components/dropdown/dropdown.js +1 -1
- package/dist/module/components/dropdown/dropdown.js.map +1 -1
- package/dist/module/components/icon-button/icon-button.js +3 -3
- package/dist/module/components/icon-button/icon-button.js.map +1 -1
- package/dist/module/components/pin-code-field/pin-code-field.js +3 -2
- package/dist/module/components/pin-code-field/pin-code-field.js.map +1 -1
- package/dist/module/components/shared/styling.js +12 -0
- package/dist/module/components/shared/styling.js.map +1 -1
- package/dist/module/components/skeleton/skeleton.js +3 -3
- package/dist/module/components/skeleton/skeleton.js.map +1 -1
- package/dist/module/components/tabs/tabs.js.map +1 -1
- package/dist/module/index.js +2 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/theme/design-tokens.generated.js +91 -3
- package/dist/module/theme/design-tokens.generated.js.map +1 -1
- package/dist/module/theme/nativewind-theme-provider.js +27 -0
- package/dist/module/theme/nativewind-theme-provider.js.map +1 -0
- package/dist/module/theme/nativewind-tokens.generated.js +299 -0
- package/dist/module/theme/nativewind-tokens.generated.js.map +1 -0
- package/dist/module/theme/theme-provider.js +3 -2
- package/dist/module/theme/theme-provider.js.map +1 -1
- package/dist/module/theme/theme.js +45 -22
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/typescript/components/accordion/accordion.d.ts +2 -3
- package/dist/typescript/components/accordion/accordion.d.ts.map +1 -1
- package/dist/typescript/components/app-bar/app-bar.d.ts +0 -2
- package/dist/typescript/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/typescript/components/avatar/avatar.d.ts +4 -7
- package/dist/typescript/components/avatar/avatar.d.ts.map +1 -1
- package/dist/typescript/components/badge/badge.d.ts +5 -8
- package/dist/typescript/components/badge/badge.d.ts.map +1 -1
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts +3 -5
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts.map +1 -1
- package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts +4 -1
- package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts.map +1 -1
- package/dist/typescript/components/button/button.d.ts +2 -3
- package/dist/typescript/components/button/button.d.ts.map +1 -1
- package/dist/typescript/components/calendar/calendar.d.ts +3 -4
- package/dist/typescript/components/calendar/calendar.d.ts.map +1 -1
- package/dist/typescript/components/card/card.d.ts +3 -7
- package/dist/typescript/components/card/card.d.ts.map +1 -1
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts +3 -7
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts.map +1 -1
- package/dist/typescript/components/icon-button/icon-button.d.ts +4 -5
- package/dist/typescript/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/typescript/components/pin-code-field/pin-code-field.d.ts +3 -2
- package/dist/typescript/components/pin-code-field/pin-code-field.d.ts.map +1 -1
- package/dist/typescript/components/shared/styling.d.ts +2 -0
- package/dist/typescript/components/shared/styling.d.ts.map +1 -1
- package/dist/typescript/components/skeleton/skeleton.d.ts +4 -5
- package/dist/typescript/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/typescript/components/tabs/tabs.d.ts +2 -4
- package/dist/typescript/components/tabs/tabs.d.ts.map +1 -1
- package/dist/typescript/index.d.ts +11 -10
- package/dist/typescript/index.d.ts.map +1 -1
- package/dist/typescript/theme/design-tokens.generated.d.ts +91 -3
- package/dist/typescript/theme/design-tokens.generated.d.ts.map +1 -1
- package/dist/typescript/theme/nativewind-theme-provider.d.ts +8 -0
- package/dist/typescript/theme/nativewind-theme-provider.d.ts.map +1 -0
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts +295 -0
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts.map +1 -0
- package/dist/typescript/theme/theme-provider.d.ts +3 -2
- package/dist/typescript/theme/theme-provider.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +19 -16
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/nativewind.css +66 -22
- package/package.json +6 -3
- package/tokens.css +2 -2
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
export declare const nativeWindTokenVariables: {
|
|
2
|
+
readonly blue: {
|
|
3
|
+
readonly light: {
|
|
4
|
+
readonly "--accent": "201.11 100% 89.41%";
|
|
5
|
+
readonly "--accent-foreground": "202.17 79.31% 11.37%";
|
|
6
|
+
readonly "--background": "0 0% 100%";
|
|
7
|
+
readonly "--border": "0 0% 0%";
|
|
8
|
+
readonly "--card": "0 0% 95.29%";
|
|
9
|
+
readonly "--card-foreground": "0 0% 3.92%";
|
|
10
|
+
readonly "--code": "0 0% 94.9%";
|
|
11
|
+
readonly "--code-foreground": "0 0% 3.92%";
|
|
12
|
+
readonly "--decor-accent": "199.84 100% 50.2%";
|
|
13
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
14
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
15
|
+
readonly "--destructive": "355.49 77.58% 56.27%";
|
|
16
|
+
readonly "--destructive-foreground": "0 0% 100%";
|
|
17
|
+
readonly "--foreground": "0 0% 3.92%";
|
|
18
|
+
readonly "--input": "0 0% 100%";
|
|
19
|
+
readonly "--muted": "0 0% 94.9%";
|
|
20
|
+
readonly "--muted-foreground": "0 0% 36.08%";
|
|
21
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
22
|
+
readonly "--popover": "0 0% 98.04%";
|
|
23
|
+
readonly "--popover-foreground": "0 0% 3.92%";
|
|
24
|
+
readonly "--primary": "199.84 100% 50.2%";
|
|
25
|
+
readonly "--primary-foreground": "0 0% 0%";
|
|
26
|
+
readonly "--primary-hover": "200.98 79.89% 64.9%";
|
|
27
|
+
readonly "--ring": "199.84 100% 50.2%";
|
|
28
|
+
readonly "--secondary": "0 0% 3.92%";
|
|
29
|
+
readonly "--secondary-foreground": "0 0% 100%";
|
|
30
|
+
readonly "--selection": "199.84 100% 50.2%";
|
|
31
|
+
readonly "--selection-foreground": "0 0% 0%";
|
|
32
|
+
readonly "--semantic-background": "0 0% 55.29%";
|
|
33
|
+
readonly "--semantic-border": "0 0.45% 56.27%";
|
|
34
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
35
|
+
readonly "--shadow-color": "0 0% 4.31%";
|
|
36
|
+
readonly "--sidebar": "0 0% 100%";
|
|
37
|
+
readonly "--sidebar-accent": "201.11 100% 89.41%";
|
|
38
|
+
readonly "--sidebar-accent-foreground": "202.17 79.31% 11.37%";
|
|
39
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
40
|
+
readonly "--sidebar-foreground": "0 0% 3.92%";
|
|
41
|
+
readonly "--sidebar-primary": "199.84 100% 50.2%";
|
|
42
|
+
readonly "--sidebar-primary-foreground": "0 0% 0%";
|
|
43
|
+
readonly "--sidebar-ring": "199.84 100% 50.2%";
|
|
44
|
+
readonly "--surface": "0 0% 95.29%";
|
|
45
|
+
readonly "--surface-foreground": "0 0% 3.92%";
|
|
46
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
47
|
+
readonly "--success-foreground": "0 0% 3.92%";
|
|
48
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
49
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
50
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
51
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
52
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
53
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
54
|
+
readonly "--info-foreground": "0 0% 3.92%";
|
|
55
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
56
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
57
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
58
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
59
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
60
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
61
|
+
readonly "--warning-foreground": "0 0% 3.92%";
|
|
62
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
63
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
64
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
65
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
66
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
67
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
68
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
69
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
70
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
71
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
72
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
73
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
74
|
+
};
|
|
75
|
+
readonly dark: {
|
|
76
|
+
readonly "--accent": "202.5 64.86% 14.51%";
|
|
77
|
+
readonly "--accent-foreground": "201.11 100% 89.41%";
|
|
78
|
+
readonly "--background": "0 0% 12.16%";
|
|
79
|
+
readonly "--border": "0 0% 0%";
|
|
80
|
+
readonly "--card": "0 0% 10.2%";
|
|
81
|
+
readonly "--card-foreground": "0 0% 98.04%";
|
|
82
|
+
readonly "--code": "0 0% 14.9%";
|
|
83
|
+
readonly "--code-foreground": "0 0% 98.04%";
|
|
84
|
+
readonly "--decor-accent": "200.19 46.85% 56.47%";
|
|
85
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
86
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
87
|
+
readonly "--destructive": "0 100% 70.98%";
|
|
88
|
+
readonly "--destructive-foreground": "0 10.64% 9.22%";
|
|
89
|
+
readonly "--foreground": "0 0% 98.04%";
|
|
90
|
+
readonly "--input": "200 8.57% 13.73%";
|
|
91
|
+
readonly "--muted": "0 0% 14.9%";
|
|
92
|
+
readonly "--muted-foreground": "0 0% 63.92%";
|
|
93
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
94
|
+
readonly "--popover": "0 0% 10.2%";
|
|
95
|
+
readonly "--popover-foreground": "0 0% 98.04%";
|
|
96
|
+
readonly "--primary": "199.84 100% 50.2%";
|
|
97
|
+
readonly "--primary-foreground": "0 0% 0%";
|
|
98
|
+
readonly "--primary-hover": "200.98 79.89% 64.9%";
|
|
99
|
+
readonly "--ring": "199.89 100% 65.1%";
|
|
100
|
+
readonly "--secondary": "0 0% 98.04%";
|
|
101
|
+
readonly "--secondary-foreground": "0 0% 5.88%";
|
|
102
|
+
readonly "--selection": "199.84 100% 50.2%";
|
|
103
|
+
readonly "--selection-foreground": "0 0% 0%";
|
|
104
|
+
readonly "--semantic-background": "30 2.63% 14.9%";
|
|
105
|
+
readonly "--semantic-border": "210 1.22% 32.16%";
|
|
106
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
107
|
+
readonly "--shadow-color": "0 0% 23.92%";
|
|
108
|
+
readonly "--sidebar": "0 0% 12.16%";
|
|
109
|
+
readonly "--sidebar-accent": "202.5 64.86% 14.51%";
|
|
110
|
+
readonly "--sidebar-accent-foreground": "201.11 100% 89.41%";
|
|
111
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
112
|
+
readonly "--sidebar-foreground": "0 0% 98.04%";
|
|
113
|
+
readonly "--sidebar-primary": "199.84 100% 50.2%";
|
|
114
|
+
readonly "--sidebar-primary-foreground": "0 0% 0%";
|
|
115
|
+
readonly "--sidebar-ring": "199.89 100% 65.1%";
|
|
116
|
+
readonly "--surface": "0 0% 10.2%";
|
|
117
|
+
readonly "--surface-foreground": "0 0% 98.04%";
|
|
118
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
119
|
+
readonly "--success-foreground": "0 0% 98.04%";
|
|
120
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
121
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
122
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
123
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
124
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
125
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
126
|
+
readonly "--info-foreground": "0 0% 98.04%";
|
|
127
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
128
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
129
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
130
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
131
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
132
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
133
|
+
readonly "--warning-foreground": "0 0% 98.04%";
|
|
134
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
135
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
136
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
137
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
138
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
139
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
140
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
141
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
142
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
143
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
144
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
145
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
readonly coral: {
|
|
149
|
+
readonly light: {
|
|
150
|
+
readonly "--accent": "16.8 49.02% 90%";
|
|
151
|
+
readonly "--accent-foreground": "16.8 49.02% 20%";
|
|
152
|
+
readonly "--background": "0 0% 100%";
|
|
153
|
+
readonly "--border": "0 0% 0%";
|
|
154
|
+
readonly "--card": "0 0% 95.29%";
|
|
155
|
+
readonly "--card-foreground": "0 0% 3.92%";
|
|
156
|
+
readonly "--code": "0 0% 94.9%";
|
|
157
|
+
readonly "--code-foreground": "0 0% 3.92%";
|
|
158
|
+
readonly "--decor-accent": "16.11 100% 65.69%";
|
|
159
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
160
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
161
|
+
readonly "--destructive": "355.49 77.58% 56.27%";
|
|
162
|
+
readonly "--destructive-foreground": "0 0% 100%";
|
|
163
|
+
readonly "--foreground": "0 0% 3.92%";
|
|
164
|
+
readonly "--input": "0 0% 100%";
|
|
165
|
+
readonly "--muted": "0 0% 94.9%";
|
|
166
|
+
readonly "--muted-foreground": "0 0% 36.08%";
|
|
167
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
168
|
+
readonly "--popover": "0 0% 98.04%";
|
|
169
|
+
readonly "--popover-foreground": "0 0% 3.92%";
|
|
170
|
+
readonly "--primary": "16.11 100% 65.69%";
|
|
171
|
+
readonly "--primary-foreground": "15.79 50% 14.9%";
|
|
172
|
+
readonly "--primary-hover": "16.47 79.69% 74.9%";
|
|
173
|
+
readonly "--ring": "16.14 94.77% 70%";
|
|
174
|
+
readonly "--secondary": "0 0% 3.92%";
|
|
175
|
+
readonly "--secondary-foreground": "0 0% 100%";
|
|
176
|
+
readonly "--selection": "16.11 100% 65.69%";
|
|
177
|
+
readonly "--selection-foreground": "15.79 50% 14.9%";
|
|
178
|
+
readonly "--semantic-background": "0 0% 55.29%";
|
|
179
|
+
readonly "--semantic-border": "0 0.45% 56.27%";
|
|
180
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
181
|
+
readonly "--shadow-color": "0 0% 4.31%";
|
|
182
|
+
readonly "--sidebar": "0 0% 100%";
|
|
183
|
+
readonly "--sidebar-accent": "16.8 49.02% 90%";
|
|
184
|
+
readonly "--sidebar-accent-foreground": "16.8 49.02% 20%";
|
|
185
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
186
|
+
readonly "--sidebar-foreground": "0 0% 3.92%";
|
|
187
|
+
readonly "--sidebar-primary": "16.11 100% 65.69%";
|
|
188
|
+
readonly "--sidebar-primary-foreground": "15.79 50% 14.9%";
|
|
189
|
+
readonly "--sidebar-ring": "16.14 94.77% 70%";
|
|
190
|
+
readonly "--surface": "0 0% 95.29%";
|
|
191
|
+
readonly "--surface-foreground": "0 0% 3.92%";
|
|
192
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
193
|
+
readonly "--success-foreground": "0 0% 3.92%";
|
|
194
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
195
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
196
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
197
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
198
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
199
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
200
|
+
readonly "--info-foreground": "0 0% 3.92%";
|
|
201
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
202
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
203
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
204
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
205
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
206
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
207
|
+
readonly "--warning-foreground": "0 0% 3.92%";
|
|
208
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
209
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
210
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
211
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
212
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
213
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
214
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
215
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
216
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
217
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
218
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
219
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
220
|
+
};
|
|
221
|
+
readonly dark: {
|
|
222
|
+
readonly "--accent": "16.8 49.02% 20%";
|
|
223
|
+
readonly "--accent-foreground": "16.8 49.02% 90%";
|
|
224
|
+
readonly "--background": "0 0% 12.16%";
|
|
225
|
+
readonly "--border": "0 0% 0%";
|
|
226
|
+
readonly "--card": "0 0% 10.2%";
|
|
227
|
+
readonly "--card-foreground": "0 0% 98.04%";
|
|
228
|
+
readonly "--code": "0 0% 14.9%";
|
|
229
|
+
readonly "--code-foreground": "0 0% 98.04%";
|
|
230
|
+
readonly "--decor-accent": "17.42 60.78% 10%";
|
|
231
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
232
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
233
|
+
readonly "--destructive": "0 100% 70.98%";
|
|
234
|
+
readonly "--destructive-foreground": "0 10.64% 9.22%";
|
|
235
|
+
readonly "--foreground": "0 0% 98.04%";
|
|
236
|
+
readonly "--input": "200 8.57% 13.73%";
|
|
237
|
+
readonly "--muted": "0 0% 14.9%";
|
|
238
|
+
readonly "--muted-foreground": "0 0% 63.92%";
|
|
239
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
240
|
+
readonly "--popover": "0 0% 10.2%";
|
|
241
|
+
readonly "--popover-foreground": "0 0% 98.04%";
|
|
242
|
+
readonly "--primary": "16.11 100% 65.69%";
|
|
243
|
+
readonly "--primary-foreground": "15.79 50% 14.9%";
|
|
244
|
+
readonly "--primary-hover": "16.47 79.69% 74.9%";
|
|
245
|
+
readonly "--ring": "16.33 96.08% 70%";
|
|
246
|
+
readonly "--secondary": "0 0% 98.04%";
|
|
247
|
+
readonly "--secondary-foreground": "0 0% 5.88%";
|
|
248
|
+
readonly "--selection": "16.11 100% 65.69%";
|
|
249
|
+
readonly "--selection-foreground": "15.79 50% 14.9%";
|
|
250
|
+
readonly "--semantic-background": "30 2.63% 14.9%";
|
|
251
|
+
readonly "--semantic-border": "210 1.22% 32.16%";
|
|
252
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
253
|
+
readonly "--shadow-color": "0 0% 23.92%";
|
|
254
|
+
readonly "--sidebar": "0 0% 12.16%";
|
|
255
|
+
readonly "--sidebar-accent": "16.8 49.02% 20%";
|
|
256
|
+
readonly "--sidebar-accent-foreground": "16.8 49.02% 90%";
|
|
257
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
258
|
+
readonly "--sidebar-foreground": "0 0% 98.04%";
|
|
259
|
+
readonly "--sidebar-primary": "16.11 100% 65.69%";
|
|
260
|
+
readonly "--sidebar-primary-foreground": "15.79 50% 14.9%";
|
|
261
|
+
readonly "--sidebar-ring": "16.33 96.08% 70%";
|
|
262
|
+
readonly "--surface": "0 0% 10.2%";
|
|
263
|
+
readonly "--surface-foreground": "0 0% 98.04%";
|
|
264
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
265
|
+
readonly "--success-foreground": "0 0% 98.04%";
|
|
266
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
267
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
268
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
269
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
270
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
271
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
272
|
+
readonly "--info-foreground": "0 0% 98.04%";
|
|
273
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
274
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
275
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
276
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
277
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
278
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
279
|
+
readonly "--warning-foreground": "0 0% 98.04%";
|
|
280
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
281
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
282
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
283
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
284
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
285
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
286
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
287
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
288
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
289
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
290
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
291
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
//# sourceMappingURL=nativewind-tokens.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativewind-tokens.generated.d.ts","sourceRoot":"","sources":["../../../src/theme/nativewind-tokens.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqS3B,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type Theme, type ThemeMode } from './theme.js';
|
|
2
|
+
import { type Theme, type ThemeMode, type ThemeVariant } from './theme.js';
|
|
3
3
|
export type ThemeProviderProps = PropsWithChildren<{
|
|
4
4
|
mode: ThemeMode;
|
|
5
|
+
variant?: ThemeVariant;
|
|
5
6
|
}>;
|
|
6
|
-
export declare function ThemeProvider({ children, mode }: ThemeProviderProps): import("react").JSX.Element;
|
|
7
|
+
export declare function ThemeProvider({ children, mode, variant }: ThemeProviderProps): import("react").JSX.Element;
|
|
7
8
|
export declare function useTheme(): Theme;
|
|
8
9
|
//# sourceMappingURL=theme-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAGL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,YAAS,CAAC;AAIjB,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAgB,EAAE,EAAE,kBAAkB,+BAMrF;AAED,wBAAgB,QAAQ,IAAI,KAAK,CAEhC"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import { designTokens } from './design-tokens.generated.js';
|
|
1
2
|
export type ThemeMode = 'light' | 'dark';
|
|
3
|
+
export type ThemeVariant = 'blue' | 'coral';
|
|
4
|
+
type KebabToCamelCase<Value extends string> = Value extends `${infer Head}-${infer Tail}` ? `${Head}${Capitalize<KebabToCamelCase<Tail>>}` : Value;
|
|
5
|
+
type ModeTokenName = keyof (typeof designTokens.mode.light.Blue) & string;
|
|
6
|
+
type ModeColors = {
|
|
7
|
+
[Name in ModeTokenName as KebabToCamelCase<Name>]: string;
|
|
8
|
+
};
|
|
9
|
+
type ThemeStatusName = 'success' | 'info' | 'warning' | 'error';
|
|
10
|
+
type ThemeStatusScale = '100' | '200' | '300' | '400' | '500';
|
|
11
|
+
type ThemeStatusColor = Record<ThemeStatusScale, string> & {
|
|
12
|
+
foreground: string;
|
|
13
|
+
};
|
|
14
|
+
export type ThemeStatus = Record<ThemeStatusName, ThemeStatusColor>;
|
|
2
15
|
export type Theme = {
|
|
3
|
-
colors: {
|
|
4
|
-
background: string;
|
|
5
|
-
surface: string;
|
|
6
|
-
popover: string;
|
|
7
|
-
accent: string;
|
|
8
|
-
primary: string;
|
|
9
|
-
primaryHover: string;
|
|
10
|
-
primaryForeground: string;
|
|
11
|
-
secondary: string;
|
|
12
|
-
secondaryForeground: string;
|
|
13
|
-
destructive: string;
|
|
14
|
-
destructiveForeground: string;
|
|
16
|
+
colors: ModeColors & {
|
|
15
17
|
warning: string;
|
|
16
18
|
success: string;
|
|
17
19
|
info: string;
|
|
18
|
-
|
|
19
|
-
mutedForeground: string;
|
|
20
|
+
error: string;
|
|
20
21
|
disabled: string;
|
|
21
|
-
semanticBorder: string;
|
|
22
22
|
};
|
|
23
|
+
status: ThemeStatus;
|
|
23
24
|
border: {
|
|
24
25
|
color: string;
|
|
25
26
|
radius: number;
|
|
@@ -47,6 +48,8 @@ export type Theme = {
|
|
|
47
48
|
weight: '500';
|
|
48
49
|
};
|
|
49
50
|
};
|
|
50
|
-
export declare function
|
|
51
|
+
export declare function createNativeWindVariables(mode: ThemeMode, variant?: ThemeVariant): Record<`--${string}`, string>;
|
|
52
|
+
export declare function createTheme(mode?: ThemeMode, variant?: ThemeVariant): Theme;
|
|
51
53
|
export declare const theme: Theme;
|
|
54
|
+
export {};
|
|
52
55
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA2B,CAAC;AAGzD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5C,KAAK,gBAAgB,CAAC,KAAK,SAAS,MAAM,IACxC,KAAK,SAAS,GAAG,MAAM,IAAI,IAAI,MAAM,IAAI,EAAE,GACvC,GAAG,IAAI,GAAG,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,EAAE,GAC9C,KAAK,CAAC;AAEZ,KAAK,aAAa,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC;AAE1E,KAAK,UAAU,GAAG;KACf,IAAI,IAAI,aAAa,IAAI,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM;CAC1D,CAAC;AAEF,KAAK,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAChE,KAAK,gBAAgB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAC9D,KAAK,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAEpE,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,EAAE,UAAU,GAAG;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5D,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5D,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,KAAK,CAAC;KACf,CAAC;CACH,CAAC;AA2CF,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,SAAS,EACf,OAAO,GAAE,YAAqB,GAC7B,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,MAAM,CAAC,CAE/B;AAED,wBAAgB,WAAW,CACzB,IAAI,GAAE,SAAmB,EACzB,OAAO,GAAE,YAAqB,GAC7B,KAAK,CA2CP;AAED,eAAO,MAAM,KAAK,OAAuB,CAAC"}
|
package/nativewind.css
CHANGED
|
@@ -1,25 +1,47 @@
|
|
|
1
1
|
/* Generated NativeWind semantic tokens from Figma design tokens. Do not edit by hand. */
|
|
2
2
|
:root {
|
|
3
|
+
--accent: 201.11 100% 89.41%;
|
|
4
|
+
--accent-foreground: 202.17 79.31% 11.37%;
|
|
3
5
|
--background: 0 0% 100%;
|
|
4
|
-
--
|
|
6
|
+
--border: 0 0% 0%;
|
|
5
7
|
--card: 0 0% 95.29%;
|
|
6
8
|
--card-foreground: 0 0% 3.92%;
|
|
9
|
+
--code: 0 0% 94.9%;
|
|
10
|
+
--code-foreground: 0 0% 3.92%;
|
|
11
|
+
--decor-accent: 199.84 100% 50.2%;
|
|
12
|
+
--decor-ink: 0 0% 0%;
|
|
13
|
+
--decor-paper: 0 0% 100%;
|
|
14
|
+
--destructive: 355.49 77.58% 56.27%;
|
|
15
|
+
--destructive-foreground: 0 0% 100%;
|
|
16
|
+
--foreground: 0 0% 3.92%;
|
|
17
|
+
--input: 0 0% 100%;
|
|
18
|
+
--muted: 0 0% 94.9%;
|
|
19
|
+
--muted-foreground: 0 0% 36.08%;
|
|
20
|
+
--overlay: 0 0% 0% / 50.2%;
|
|
7
21
|
--popover: 0 0% 98.04%;
|
|
8
22
|
--popover-foreground: 0 0% 3.92%;
|
|
9
23
|
--primary: 199.84 100% 50.2%;
|
|
10
|
-
--primary-hover: 200.98 79.89% 64.9%;
|
|
11
24
|
--primary-foreground: 0 0% 0%;
|
|
25
|
+
--primary-hover: 200.98 79.89% 64.9%;
|
|
26
|
+
--ring: 199.84 100% 50.2%;
|
|
12
27
|
--secondary: 0 0% 3.92%;
|
|
13
28
|
--secondary-foreground: 0 0% 100%;
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
29
|
+
--selection: 199.84 100% 50.2%;
|
|
30
|
+
--selection-foreground: 0 0% 0%;
|
|
31
|
+
--semantic-background: 0 0% 55.29%;
|
|
32
|
+
--semantic-border: 0 0.45% 56.27%;
|
|
33
|
+
--semantic-foreground: 0 0% 100%;
|
|
34
|
+
--shadow-color: 0 0% 4.31%;
|
|
35
|
+
--sidebar: 0 0% 100%;
|
|
36
|
+
--sidebar-accent: 201.11 100% 89.41%;
|
|
37
|
+
--sidebar-accent-foreground: 202.17 79.31% 11.37%;
|
|
38
|
+
--sidebar-border: 0 0% 0%;
|
|
39
|
+
--sidebar-foreground: 0 0% 3.92%;
|
|
40
|
+
--sidebar-primary: 199.84 100% 50.2%;
|
|
41
|
+
--sidebar-primary-foreground: 0 0% 0%;
|
|
42
|
+
--sidebar-ring: 199.84 100% 50.2%;
|
|
43
|
+
--surface: 0 0% 95.29%;
|
|
44
|
+
--surface-foreground: 0 0% 3.92%;
|
|
23
45
|
--success: 142.09 70.56% 45.29%;
|
|
24
46
|
--success-foreground: 0 0% 3.92%;
|
|
25
47
|
--color-success-100: 140.63 84.21% 92.55%;
|
|
@@ -51,26 +73,48 @@
|
|
|
51
73
|
}
|
|
52
74
|
|
|
53
75
|
.dark:root {
|
|
76
|
+
--accent: 202.5 64.86% 14.51%;
|
|
77
|
+
--accent-foreground: 201.11 100% 89.41%;
|
|
54
78
|
--background: 0 0% 12.16%;
|
|
55
|
-
--
|
|
79
|
+
--border: 0 0% 0%;
|
|
56
80
|
--card: 0 0% 10.2%;
|
|
57
81
|
--card-foreground: 0 0% 98.04%;
|
|
82
|
+
--code: 0 0% 14.9%;
|
|
83
|
+
--code-foreground: 0 0% 98.04%;
|
|
84
|
+
--decor-accent: 200.19 46.85% 56.47%;
|
|
85
|
+
--decor-ink: 0 0% 0%;
|
|
86
|
+
--decor-paper: 0 0% 100%;
|
|
87
|
+
--destructive: 0 100% 70.98%;
|
|
88
|
+
--destructive-foreground: 0 10.64% 9.22%;
|
|
89
|
+
--foreground: 0 0% 98.04%;
|
|
90
|
+
--input: 200 8.57% 13.73%;
|
|
91
|
+
--muted: 0 0% 14.9%;
|
|
92
|
+
--muted-foreground: 0 0% 63.92%;
|
|
93
|
+
--overlay: 0 0% 0% / 50.2%;
|
|
58
94
|
--popover: 0 0% 10.2%;
|
|
59
95
|
--popover-foreground: 0 0% 98.04%;
|
|
60
96
|
--primary: 199.84 100% 50.2%;
|
|
61
|
-
--primary-hover: 200.98 79.89% 64.9%;
|
|
62
97
|
--primary-foreground: 0 0% 0%;
|
|
98
|
+
--primary-hover: 200.98 79.89% 64.9%;
|
|
99
|
+
--ring: 199.89 100% 65.1%;
|
|
63
100
|
--secondary: 0 0% 98.04%;
|
|
64
101
|
--secondary-foreground: 0 0% 5.88%;
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
102
|
+
--selection: 199.84 100% 50.2%;
|
|
103
|
+
--selection-foreground: 0 0% 0%;
|
|
104
|
+
--semantic-background: 30 2.63% 14.9%;
|
|
105
|
+
--semantic-border: 210 1.22% 32.16%;
|
|
106
|
+
--semantic-foreground: 0 0% 100%;
|
|
107
|
+
--shadow-color: 0 0% 23.92%;
|
|
108
|
+
--sidebar: 0 0% 12.16%;
|
|
109
|
+
--sidebar-accent: 202.5 64.86% 14.51%;
|
|
110
|
+
--sidebar-accent-foreground: 201.11 100% 89.41%;
|
|
111
|
+
--sidebar-border: 0 0% 0%;
|
|
112
|
+
--sidebar-foreground: 0 0% 98.04%;
|
|
113
|
+
--sidebar-primary: 199.84 100% 50.2%;
|
|
114
|
+
--sidebar-primary-foreground: 0 0% 0%;
|
|
115
|
+
--sidebar-ring: 199.89 100% 65.1%;
|
|
116
|
+
--surface: 0 0% 10.2%;
|
|
117
|
+
--surface-foreground: 0 0% 98.04%;
|
|
74
118
|
--success: 142.09 70.56% 45.29%;
|
|
75
119
|
--success-foreground: 0 0% 98.04%;
|
|
76
120
|
--color-success-100: 140.63 84.21% 92.55%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indra-inter/neobrutalism-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -45,17 +45,20 @@
|
|
|
45
45
|
"generate:design-tokens": "node ./scripts/generate-design-tokens.mjs",
|
|
46
46
|
"test:badge-nativewind": "node ./scripts/test-badge-nativewind.mjs",
|
|
47
47
|
"test:card-nativewind": "node ./scripts/test-card-nativewind.mjs",
|
|
48
|
+
"test:canonical-component-api": "node ./scripts/test-canonical-component-api.mjs",
|
|
48
49
|
"test:bottom-sheet-drag-dismiss": "node ./scripts/test-bottom-sheet-drag-dismiss.mjs",
|
|
49
50
|
"test:chat-list-item-slots": "node ./scripts/test-chat-list-item-slots.mjs",
|
|
50
|
-
"test:design-tokens": "node ./scripts/test-design-tokens.mjs",
|
|
51
|
+
"test:design-tokens": "node ./scripts/test-design-tokens.mjs && node ./scripts/test-theme-family-token-contract.mjs",
|
|
51
52
|
"test:divider": "node ./scripts/test-divider.mjs",
|
|
52
53
|
"test:icon-button-ghost": "node ./scripts/test-icon-button-ghost.mjs",
|
|
53
54
|
"test:input-addon-padding": "node ./scripts/test-input-addon-padding.mjs",
|
|
54
55
|
"test:list-item-nativewind": "node ./scripts/test-list-item-nativewind.mjs",
|
|
55
56
|
"test:pin-code-field": "node ./scripts/test-pin-code-field.mjs",
|
|
56
|
-
"test:public-styling-contract": "node ./scripts/test-public-styling-contract.mjs",
|
|
57
|
+
"test:public-styling-contract": "node ./scripts/test-public-styling-contract.mjs && node ./scripts/test-theme-family-public-contract.mjs",
|
|
58
|
+
"test:semantic-color-contract": "node ./scripts/test-semantic-color-contract.mjs",
|
|
57
59
|
"test:shared-styling": "node ./scripts/test-shared-styling.mjs",
|
|
58
60
|
"test:styling-aliases": "node ./scripts/test-styling-aliases.mjs",
|
|
61
|
+
"test:theme-family-runtime": "node ./scripts/test-theme-family-runtime-contract.mjs",
|
|
59
62
|
"test:tabs-figma-update": "node ./scripts/test-tabs-figma-update.mjs",
|
|
60
63
|
"prepare": "pnpm build",
|
|
61
64
|
"typecheck": "tsc --noEmit"
|
package/tokens.css
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
--neo-decor-accent: 199.84 100% 50.2%;
|
|
39
39
|
--neo-decor-ink: 0 0% 0%;
|
|
40
40
|
--neo-decor-paper: 0 0% 100%;
|
|
41
|
-
--neo-
|
|
41
|
+
--neo-overlay: 0 0% 0% / 50.2%;
|
|
42
42
|
--neo-semantic-background: 0 0% 55.29%;
|
|
43
43
|
--neo-semantic-border: 0 0.45% 56.27%;
|
|
44
44
|
--neo-semantic-foreground: 0 0% 100%;
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
--neo-decor-accent: 200.19 46.85% 56.47%;
|
|
105
105
|
--neo-decor-ink: 0 0% 0%;
|
|
106
106
|
--neo-decor-paper: 0 0% 100%;
|
|
107
|
-
--neo-
|
|
107
|
+
--neo-overlay: 0 0% 0% / 50.2%;
|
|
108
108
|
--neo-semantic-background: 30 2.63% 14.9%;
|
|
109
109
|
--neo-semantic-border: 210 1.22% 32.16%;
|
|
110
110
|
--neo-semantic-foreground: 0 0% 100%;
|