@unocss/core 0.48.3 → 0.48.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/dist/index.cjs +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -427,13 +427,13 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
427
427
|
preflights: mergePresets("preflights"),
|
|
428
428
|
autocomplete,
|
|
429
429
|
variants: mergePresets("variants").map(normalizeVariant),
|
|
430
|
-
shortcuts: resolveShortcuts(mergePresets("shortcuts")),
|
|
430
|
+
shortcuts: resolveShortcuts(mergePresets("shortcuts")).reverse(),
|
|
431
431
|
extractors,
|
|
432
432
|
safelist: mergePresets("safelist")
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
const version = "0.48.
|
|
436
|
+
const version = "0.48.5";
|
|
437
437
|
|
|
438
438
|
class UnoGenerator {
|
|
439
439
|
constructor(userConfig = {}, defaults = {}) {
|
package/dist/index.d.ts
CHANGED
|
@@ -422,7 +422,9 @@ type Postprocessor = (util: UtilObject) => void;
|
|
|
422
422
|
type ThemeExtender<T> = (theme: T) => void;
|
|
423
423
|
interface ConfigBase<Theme extends {} = {}> {
|
|
424
424
|
/**
|
|
425
|
-
* Rules to generate CSS utilities
|
|
425
|
+
* Rules to generate CSS utilities.
|
|
426
|
+
*
|
|
427
|
+
* Later entries have higher priority.
|
|
426
428
|
*/
|
|
427
429
|
rules?: Rule<Theme>[];
|
|
428
430
|
/**
|
|
@@ -433,6 +435,8 @@ interface ConfigBase<Theme extends {} = {}> {
|
|
|
433
435
|
/**
|
|
434
436
|
* Similar to Windi CSS's shortcuts,
|
|
435
437
|
* allows you have create new utilities by combining existing ones.
|
|
438
|
+
*
|
|
439
|
+
* Later entries have higher priority.
|
|
436
440
|
*/
|
|
437
441
|
shortcuts?: UserShortcuts<Theme>;
|
|
438
442
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -423,13 +423,13 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
423
423
|
preflights: mergePresets("preflights"),
|
|
424
424
|
autocomplete,
|
|
425
425
|
variants: mergePresets("variants").map(normalizeVariant),
|
|
426
|
-
shortcuts: resolveShortcuts(mergePresets("shortcuts")),
|
|
426
|
+
shortcuts: resolveShortcuts(mergePresets("shortcuts")).reverse(),
|
|
427
427
|
extractors,
|
|
428
428
|
safelist: mergePresets("safelist")
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
const version = "0.48.
|
|
432
|
+
const version = "0.48.5";
|
|
433
433
|
|
|
434
434
|
class UnoGenerator {
|
|
435
435
|
constructor(userConfig = {}, defaults = {}) {
|