@soybeanjs/unocss-shadcn 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -138
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as unocss0 from "unocss";
2
+ import { Theme } from "unocss/preset-mini";
2
3
  import { DeepPartial } from "@unocss/core";
3
4
 
4
5
  //#region src/types.d.ts
@@ -124,143 +125,6 @@ declare function generateCSSVars(theme?: ThemeOptions | ThemeOptions[], onlyOne?
124
125
  declare const builtinColors: ThemeConfigColor[];
125
126
  declare const builtinColorMap: Record<ThemeConfigColor, string>;
126
127
  declare const builtinRadiuses: readonly [0, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1];
127
- declare const presetShadcn: unocss0.PresetFactory<{
128
- colors: {
129
- border: string;
130
- input: string;
131
- ring: string;
132
- background: string;
133
- foreground: string;
134
- primary: {
135
- DEFAULT: string;
136
- foreground: string;
137
- 50: string;
138
- 100: string;
139
- 200: string;
140
- 300: string;
141
- 400: string;
142
- 500: string;
143
- 600: string;
144
- 700: string;
145
- 800: string;
146
- 900: string;
147
- 950: string;
148
- };
149
- destructive: {
150
- DEFAULT: string;
151
- foreground: string;
152
- 50: string;
153
- 100: string;
154
- 200: string;
155
- 300: string;
156
- 400: string;
157
- 500: string;
158
- 600: string;
159
- 700: string;
160
- 800: string;
161
- 900: string;
162
- 950: string;
163
- };
164
- success: {
165
- DEFAULT: string;
166
- foreground: string;
167
- 50: string;
168
- 100: string;
169
- 200: string;
170
- 300: string;
171
- 400: string;
172
- 500: string;
173
- 600: string;
174
- 700: string;
175
- 800: string;
176
- 900: string;
177
- 950: string;
178
- };
179
- warning: {
180
- DEFAULT: string;
181
- foreground: string;
182
- 50: string;
183
- 100: string;
184
- 200: string;
185
- 300: string;
186
- 400: string;
187
- 500: string;
188
- 600: string;
189
- 700: string;
190
- 800: string;
191
- 900: string;
192
- 950: string;
193
- };
194
- info: {
195
- DEFAULT: string;
196
- foreground: string;
197
- 50: string;
198
- 100: string;
199
- 200: string;
200
- 300: string;
201
- 400: string;
202
- 500: string;
203
- 600: string;
204
- 700: string;
205
- 800: string;
206
- 900: string;
207
- 950: string;
208
- };
209
- carbon: {
210
- DEFAULT: string;
211
- foreground: string;
212
- 50: string;
213
- 100: string;
214
- 200: string;
215
- 300: string;
216
- 400: string;
217
- 500: string;
218
- 600: string;
219
- 700: string;
220
- 800: string;
221
- 900: string;
222
- 950: string;
223
- };
224
- secondary: {
225
- DEFAULT: string;
226
- foreground: string;
227
- };
228
- muted: {
229
- DEFAULT: string;
230
- foreground: string;
231
- };
232
- accent: {
233
- DEFAULT: string;
234
- foreground: string;
235
- };
236
- popover: {
237
- DEFAULT: string;
238
- foreground: string;
239
- };
240
- card: {
241
- DEFAULT: string;
242
- foreground: string;
243
- };
244
- 'sidebar-background': string;
245
- 'sidebar-foreground': string;
246
- 'sidebar-border': string;
247
- 'sidebar-ring': string;
248
- 'sidebar-primary': string;
249
- 'sidebar-primary-foreground': string;
250
- 'sidebar-accent': string;
251
- 'sidebar-accent-foreground': string;
252
- };
253
- borderRadius: {
254
- xl: string;
255
- lg: string;
256
- md: string;
257
- sm: string;
258
- };
259
- fontSize: {
260
- '4xs': string[];
261
- '3xs': string[];
262
- '2xs': string[];
263
- };
264
- }, PresetShadcnOptions>;
128
+ declare const presetShadcn: unocss0.PresetFactory<Theme, PresetShadcnOptions>;
265
129
  //#endregion
266
130
  export { type PresetShadcnOptions, type ThemeColorKey, type ThemeConfig, type ThemeConfigColor, type ThemeOptions, builtinColorMap, builtinColors, builtinRadiuses, generateCSSVars, presetShadcn };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soybeanjs/unocss-shadcn",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "unocss preset for Soybean UI",
6
6
  "author": {
7
7
  "name": "Soybean",