@unocss/preset-uno 0.35.3 → 0.37.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/dist/index.cjs CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const presetWind = require('@unocss/preset-wind');
6
+ const presetMini = require('@unocss/preset-mini');
6
7
  const utils = require('@unocss/preset-mini/utils');
7
8
 
8
9
  const mixComponent = (v1, v2, w) => `calc(${v2} + (${v1} - ${v2}) * ${w} / 100)`;
@@ -66,7 +67,8 @@ const presetUno = (options = {}) => {
66
67
  ...presetWind.variants(options),
67
68
  variantColorMix
68
69
  ],
69
- options
70
+ options,
71
+ preflights: presetMini.preflights
70
72
  };
71
73
  };
72
74
 
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { theme, rules, shortcuts, variants } from '@unocss/preset-wind';
2
+ import { preflights } from '@unocss/preset-mini';
2
3
  import { parseCssColor, colorToString } from '@unocss/preset-mini/utils';
3
4
 
4
5
  const mixComponent = (v1, v2, w) => `calc(${v2} + (${v1} - ${v2}) * ${w} / 100)`;
@@ -62,7 +63,8 @@ const presetUno = (options = {}) => {
62
63
  ...variants(options),
63
64
  variantColorMix
64
65
  ],
65
- options
66
+ options,
67
+ preflights
66
68
  };
67
69
  };
68
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-uno",
3
- "version": "0.35.3",
3
+ "version": "0.37.0",
4
4
  "description": "The default preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -50,9 +50,9 @@
50
50
  "*.css"
51
51
  ],
52
52
  "dependencies": {
53
- "@unocss/core": "0.35.3",
54
- "@unocss/preset-mini": "0.35.3",
55
- "@unocss/preset-wind": "0.35.3"
53
+ "@unocss/core": "0.37.0",
54
+ "@unocss/preset-mini": "0.37.0",
55
+ "@unocss/preset-wind": "0.37.0"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "unbuild",