@vinicunca/unocss-preset 1.5.0 → 1.6.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/chunks/index3.cjs +1 -1
- package/dist/chunks/index3.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{unocss-preset.D9CUN8gV.cjs → unocss-preset.C98k-urX.cjs} +9 -1
- package/dist/shared/{unocss-preset.Bo6d0oPz.mjs → unocss-preset.CCm-GQKu.mjs} +9 -1
- package/package.json +1 -1
package/dist/chunks/index3.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const utils = require('@unocss/preset-mini/utils');
|
|
4
|
-
const index = require('../shared/unocss-preset.
|
|
4
|
+
const index = require('../shared/unocss-preset.C98k-urX.cjs');
|
|
5
5
|
require('@unocss/core');
|
|
6
6
|
require('@vinicunca/perkakas');
|
|
7
7
|
require('@unocss/preset-mini');
|
package/dist/chunks/index3.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@unocss/preset-mini/utils';
|
|
2
|
-
import { l as layerMeta } from '../shared/unocss-preset.
|
|
2
|
+
import { l as layerMeta } from '../shared/unocss-preset.CCm-GQKu.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
4
|
import '@vinicunca/perkakas';
|
|
5
5
|
import '@unocss/preset-mini';
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@unocss/core';
|
|
2
|
-
export { a as defineConfig, d as defineVinicuncaConfig, p as presetVinicunca } from './shared/unocss-preset.
|
|
2
|
+
export { a as defineConfig, d as defineVinicuncaConfig, p as presetVinicunca } from './shared/unocss-preset.CCm-GQKu.mjs';
|
|
3
3
|
import '@vinicunca/perkakas';
|
|
4
4
|
import '@unocss/preset-mini';
|
|
5
5
|
import 'unocss';
|
|
@@ -498,7 +498,15 @@ function getPreflights(options) {
|
|
|
498
498
|
].filter(Boolean);
|
|
499
499
|
}
|
|
500
500
|
function getMiniPreflights() {
|
|
501
|
-
const entries = Object.entries(
|
|
501
|
+
const entries = Object.entries({
|
|
502
|
+
...presetMini.theme.preflightBase,
|
|
503
|
+
"--un-shadow-color": " ",
|
|
504
|
+
"--un-inset-shadow": "0 0 rgb(0 0 0 / 0)",
|
|
505
|
+
"--un-inset-shadow-color": " ",
|
|
506
|
+
"--un-ring-shadow": "0 0 rgb(0 0 0 / 0)",
|
|
507
|
+
"--un-inset-ring-color": " ",
|
|
508
|
+
"--un-inset-ring-shadow": "0 0 rgb(0 0 0 / 0)"
|
|
509
|
+
});
|
|
502
510
|
const css = unocss.entriesToCss(entries);
|
|
503
511
|
const roots = ["*,::before,::after", "::backdrop"];
|
|
504
512
|
const cssContent = roots.map((root) => `${root}{${css}}`).join("");
|
|
@@ -496,7 +496,15 @@ function getPreflights(options) {
|
|
|
496
496
|
].filter(Boolean);
|
|
497
497
|
}
|
|
498
498
|
function getMiniPreflights() {
|
|
499
|
-
const entries = Object.entries(
|
|
499
|
+
const entries = Object.entries({
|
|
500
|
+
...theme.preflightBase,
|
|
501
|
+
"--un-shadow-color": " ",
|
|
502
|
+
"--un-inset-shadow": "0 0 rgb(0 0 0 / 0)",
|
|
503
|
+
"--un-inset-shadow-color": " ",
|
|
504
|
+
"--un-ring-shadow": "0 0 rgb(0 0 0 / 0)",
|
|
505
|
+
"--un-inset-ring-color": " ",
|
|
506
|
+
"--un-inset-ring-shadow": "0 0 rgb(0 0 0 / 0)"
|
|
507
|
+
});
|
|
500
508
|
const css = entriesToCss(entries);
|
|
501
509
|
const roots = ["*,::before,::after", "::backdrop"];
|
|
502
510
|
const cssContent = roots.map((root) => `${root}{${css}}`).join("");
|