@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.
@@ -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.D9CUN8gV.cjs');
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');
@@ -1,5 +1,5 @@
1
1
  import { h } from '@unocss/preset-mini/utils';
2
- import { l as layerMeta } from '../shared/unocss-preset.Bo6d0oPz.mjs';
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
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('@unocss/core');
4
- const index = require('./shared/unocss-preset.D9CUN8gV.cjs');
4
+ const index = require('./shared/unocss-preset.C98k-urX.cjs');
5
5
  require('@vinicunca/perkakas');
6
6
  require('@unocss/preset-mini');
7
7
  require('unocss');
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.Bo6d0oPz.mjs';
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(presetMini.theme.preflightBase);
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(theme.preflightBase);
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("");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/unocss-preset",
3
3
  "type": "module",
4
- "version": "1.5.0",
4
+ "version": "1.6.0",
5
5
  "description": "Opinionated UnoCSS preset",
6
6
  "author": "praburangki<https://github.com/praburangki>",
7
7
  "license": "MIT",