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

@unocss/preset-mini

Package Overview
Dependencies
Maintainers
1
Versions
294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-mini - npm Package Compare versions

Comparing version 0.55.1 to 0.55.2

dist/colors.d.cts

355

dist/colors.d.ts

@@ -1,3 +0,354 @@

export { c as colors } from './colors-dabdd21f.js';
import './types-d991ba46.js';
import { C as Colors } from './shared/preset-mini.5f54784f.js';
import '@unocss/core';
declare const colors: {
inherit: string;
current: string;
transparent: string;
black: string;
white: string;
rose: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
pink: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
fuchsia: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
purple: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
violet: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
indigo: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
blue: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
sky: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
cyan: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
teal: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
emerald: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
green: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
lime: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
yellow: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
amber: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
orange: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
red: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
gray: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
slate: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
zinc: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
neutral: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
stone: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
light: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
dark: {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
950: string;
};
readonly lightblue: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly lightBlue: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly warmgray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly warmGray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly truegray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly trueGray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly coolgray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly coolGray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly bluegray: string | (Colors & {
DEFAULT?: string | undefined;
});
readonly blueGray: string | (Colors & {
DEFAULT?: string | undefined;
});
};
export { colors };

12

dist/index.d.ts
import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core';
export { c as colors } from './colors-dabdd21f.js';
export { t as theme } from './default-1f25a0ae.js';
import { T as Theme } from './types-d991ba46.js';
export { T as Theme, a as ThemeAnimation } from './types-d991ba46.js';
export { p as parseColor } from './utilities-d496540e.js';
import { T as Theme } from './shared/preset-mini.5f54784f.js';
export { a as ThemeAnimation } from './shared/preset-mini.5f54784f.js';
export { t as theme } from './shared/preset-mini.024bdcea.js';
export { colors } from './colors.js';
export { p as parseColor } from './shared/preset-mini.e93c20db.js';

@@ -69,2 +69,2 @@ declare const preflights: Preflight[];

export { DarkModeSelectors, PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
export { DarkModeSelectors, PresetMiniOptions, Theme, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
import { Rule, CSSEntries, StaticRule } from '@unocss/core';
import { T as Theme } from './types-d991ba46.js';
import { T as Theme } from './shared/preset-mini.5f54784f.js';

@@ -4,0 +4,0 @@ declare const verticalAligns: Rule[];

@@ -1,5 +0,5 @@

export { c as colors } from './colors-dabdd21f.js';
export { t as theme } from './default-1f25a0ae.js';
import { T as Theme } from './types-d991ba46.js';
export { C as Colors, T as Theme, a as ThemeAnimation } from './types-d991ba46.js';
export { colors } from './colors.js';
export { t as theme } from './shared/preset-mini.024bdcea.js';
import { T as Theme } from './shared/preset-mini.5f54784f.js';
export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.5f54784f.js';
import '@unocss/core';

@@ -264,2 +264,2 @@

export { baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
import * as _unocss_core from '@unocss/core';
import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core';
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './utilities-d496540e.js';
import './types-d991ba46.js';
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.e93c20db.js';
import './shared/preset-mini.5f54784f.js';

@@ -36,9 +36,3 @@ declare function hex2rgba(hex?: string): RGBAColorValue | undefined;

declare const handlers_numberWithUnit: typeof numberWithUnit;
declare const handlers_auto: typeof auto;
declare const handlers_rem: typeof rem;
declare const handlers_px: typeof px;
declare const handlers_number: typeof number;
declare const handlers_percent: typeof percent;
declare const handlers_fraction: typeof fraction;
declare const handlers_bracket: typeof bracket;

@@ -49,16 +43,16 @@ declare const handlers_bracketOfColor: typeof bracketOfColor;

declare const handlers_cssvar: typeof cssvar;
declare const handlers_time: typeof time;
declare const handlers_degree: typeof degree;
declare const handlers_fraction: typeof fraction;
declare const handlers_global: typeof global;
declare const handlers_number: typeof number;
declare const handlers_numberWithUnit: typeof numberWithUnit;
declare const handlers_percent: typeof percent;
declare const handlers_position: typeof position;
declare const handlers_properties: typeof properties;
declare const handlers_position: typeof position;
declare const handlers_px: typeof px;
declare const handlers_rem: typeof rem;
declare const handlers_time: typeof time;
declare namespace handlers {
export {
handlers_numberWithUnit as numberWithUnit,
handlers_auto as auto,
handlers_rem as rem,
handlers_px as px,
handlers_number as number,
handlers_percent as percent,
handlers_fraction as fraction,
handlers_bracket as bracket,

@@ -69,12 +63,18 @@ handlers_bracketOfColor as bracketOfColor,

handlers_cssvar as cssvar,
handlers_time as time,
handlers_degree as degree,
handlers_fraction as fraction,
handlers_global as global,
handlers_number as number,
handlers_numberWithUnit as numberWithUnit,
handlers_percent as percent,
handlers_position as position,
handlers_properties as properties,
handlers_position as position,
handlers_px as px,
handlers_rem as rem,
handlers_time as time,
};
}
declare const handler: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
declare const h: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
declare const handler: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
declare const h: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;

@@ -81,0 +81,0 @@ declare function variantMatcher(name: string, handler: (input: VariantHandlerContext) => Record<string, any>): VariantObject;

import { VariantObject, Variant } from '@unocss/core';
import { PresetMiniOptions } from './index.js';
import { T as Theme } from './types-d991ba46.js';
import './colors-dabdd21f.js';
import './default-1f25a0ae.js';
import './utilities-d496540e.js';
import { T as Theme } from './shared/preset-mini.5f54784f.js';
import './shared/preset-mini.024bdcea.js';
import './colors.js';
import './shared/preset-mini.e93c20db.js';

@@ -8,0 +8,0 @@ declare const variantAria: VariantObject;

{
"name": "@unocss/preset-mini",
"version": "0.55.1",
"version": "0.55.2",
"description": "The minimal preset for UnoCSS",

@@ -64,4 +64,4 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"dependencies": {
"@unocss/core": "0.55.1",
"@unocss/extractor-arbitrary-variants": "0.55.1"
"@unocss/core": "0.55.2",
"@unocss/extractor-arbitrary-variants": "0.55.2"
},

@@ -68,0 +68,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

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

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

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