Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unocss/preset-uno

Package Overview
Dependencies
Maintainers
1
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-uno - npm Package Compare versions

Comparing version 0.11.1 to 0.11.3

dist/chunk-27BCQBR5.mjs

10

dist/index.d.ts

@@ -6,4 +6,10 @@ import { Preset } from '@unocss/core';

declare const preset: () => Preset<Theme>;
interface UnoOptions {
/**
* @default 'class'
*/
dark?: 'class' | 'media';
}
declare const preset: (options?: UnoOptions) => Preset<Theme>;
export { preset as default, preset };
export { UnoOptions, preset as default, preset };

15

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkDTFAXVU4js = require('./chunk-DTFAXVU4.js');
var _chunkVL3EBQ6Wjs = require('./chunk-VL3EBQ6W.js');

@@ -10,3 +10,5 @@

var _chunkFAMDTWJOjs = require('./chunk-FAMDTWJO.js');
var _chunkGP4COTTPjs = require('./chunk-GP4COTTP.js');
require('./chunk-PVS5EBXX.js');

@@ -16,7 +18,10 @@ require('./chunk-Y6EUTGDC.js');

// src/index.ts
var preset = () => ({
var preset = (options = {}) => ({
name: "@unocss/preset-uno",
theme: _chunkR5JSOZOBjs.theme,
rules: _chunkDTFAXVU4js.rules,
variants: _chunkFAMDTWJOjs.variants
rules: _chunkVL3EBQ6Wjs.rules,
variants: [
..._chunkGP4COTTPjs.variants,
...options.dark === "media" ? _chunkGP4COTTPjs.variantColorsMedia : _chunkGP4COTTPjs.variantColorsClass
]
});

@@ -23,0 +28,0 @@ var src_default = preset;

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkDTFAXVU4js = require('./chunk-DTFAXVU4.js');
var _chunkVL3EBQ6Wjs = require('./chunk-VL3EBQ6W.js');
require('./chunk-PVS5EBXX.js');

@@ -8,2 +8,2 @@ require('./chunk-Y6EUTGDC.js');

exports.rules = _chunkDTFAXVU4js.rules;
exports.rules = _chunkVL3EBQ6Wjs.rules;

@@ -13,3 +13,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkFAMDTWJOjs = require('./chunk-FAMDTWJO.js');
var _chunkGP4COTTPjs = require('./chunk-GP4COTTP.js');
require('./chunk-PVS5EBXX.js');

@@ -29,2 +29,2 @@ require('./chunk-Y6EUTGDC.js');

exports.PseudoClasses = _chunkFAMDTWJOjs.PseudoClasses; exports.variantBreakpoints = _chunkFAMDTWJOjs.variantBreakpoints; exports.variantChildren = _chunkFAMDTWJOjs.variantChildren; exports.variantColorsClass = _chunkFAMDTWJOjs.variantColorsClass; exports.variantColorsMedia = _chunkFAMDTWJOjs.variantColorsMedia; exports.variantImportant = _chunkFAMDTWJOjs.variantImportant; exports.variantNegative = _chunkFAMDTWJOjs.variantNegative; exports.variantPseudoClasses = _chunkFAMDTWJOjs.variantPseudoClasses; exports.variantPseudoElements = _chunkFAMDTWJOjs.variantPseudoElements; exports.variantSpace = _chunkFAMDTWJOjs.variantSpace; exports.variants = _chunkFAMDTWJOjs.variants;
exports.PseudoClasses = _chunkGP4COTTPjs.PseudoClasses; exports.variantBreakpoints = _chunkGP4COTTPjs.variantBreakpoints; exports.variantChildren = _chunkGP4COTTPjs.variantChildren; exports.variantColorsClass = _chunkGP4COTTPjs.variantColorsClass; exports.variantColorsMedia = _chunkGP4COTTPjs.variantColorsMedia; exports.variantImportant = _chunkGP4COTTPjs.variantImportant; exports.variantNegative = _chunkGP4COTTPjs.variantNegative; exports.variantPseudoClasses = _chunkGP4COTTPjs.variantPseudoClasses; exports.variantPseudoElements = _chunkGP4COTTPjs.variantPseudoElements; exports.variantSpace = _chunkGP4COTTPjs.variantSpace; exports.variants = _chunkGP4COTTPjs.variants;
{
"name": "@unocss/preset-uno",
"version": "0.11.1",
"version": "0.11.3",
"description": "The default preset for UnoCSS",

@@ -48,3 +48,3 @@ "keywords": [

"dependencies": {
"@unocss/core": "0.11.1"
"@unocss/core": "0.11.3"
},

@@ -51,0 +51,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc