34 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-05-31 13:21:13 +02:00
import * as _unocss_core from '@unocss/core';
import { Variant } from '@unocss/core';
import * as _unocss_preset_mini from '@unocss/preset-mini';
import { Theme, PresetMiniOptions } from '@unocss/preset-mini';
export { Theme, colors, preflights } from '@unocss/preset-mini';
export { shortcuts } from './shortcuts.js';
export { theme } from './theme.js';
export { r as rules } from './shared/preset-wind.DRADYSMV.js';
declare function variants(options: PresetWindOptions): Variant<Theme>[];
interface PresetWindOptions extends PresetMiniOptions {
/**
* The important option lets you control whether UnoCSSs utilities should be marked with `!important`.
*
* This can be really useful when using UnoCSS with existing CSS that has high specificity selectors.
*
* You can also set `important` to a selector like `#app` instead, which will generate `#app :is(.m-1) { ... }`
*
* Also check out the compatibility with [:is()](https://caniuse.com/?search=%3Ais())
*
* @default false
*/
important?: boolean | string;
}
/**
* The Tailwind CSS / Windi CSS compact preset for UnoCSS.
*
* @see https://unocss.dev/presets/wind
*/
declare const presetWind: _unocss_core.PresetFactory<_unocss_preset_mini.Theme, PresetWindOptions>;
export { type PresetWindOptions, presetWind as default, presetWind, variants };