@unocss/core 0.32.12 → 0.32.13
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/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -399,17 +399,17 @@ interface ConfigBase<Theme extends {} = {}> {
|
|
|
399
399
|
/**
|
|
400
400
|
* Rules to generate CSS utilities
|
|
401
401
|
*/
|
|
402
|
-
rules?: Rule[];
|
|
402
|
+
rules?: Rule<Theme>[];
|
|
403
403
|
/**
|
|
404
404
|
* Variants that preprocess the selectors,
|
|
405
405
|
* having the ability to rewrite the CSS object.
|
|
406
406
|
*/
|
|
407
|
-
variants?: Variant[];
|
|
407
|
+
variants?: Variant<Theme>[];
|
|
408
408
|
/**
|
|
409
409
|
* Similar to Windi CSS's shortcuts,
|
|
410
410
|
* allows you have create new utilities by combining existing ones.
|
|
411
411
|
*/
|
|
412
|
-
shortcuts?: UserShortcuts
|
|
412
|
+
shortcuts?: UserShortcuts<Theme>;
|
|
413
413
|
/**
|
|
414
414
|
* Rules to exclude the selectors for your design system (to narrow down the possibilities).
|
|
415
415
|
* Combining `warnExcluded` options it can also helps you identify wrong usages.
|
package/dist/index.mjs
CHANGED