23 lines
615 B
TypeScript
Raw Permalink Normal View History

2026-05-31 13:21:13 +02:00
import { SourceCodeTransformer } from '@unocss/core';
interface TransformerVariantGroupOptions {
/**
* Separators to expand.
*
* ```
* foo-(bar baz) -> foo-bar foo-baz
* ^
* separator
* ```
*
* You may set it to `[':']` for strictness.
*
* @default [':', '-']
* @see https://github.com/unocss/unocss/pull/1231
*/
separators?: (':' | '-')[];
}
declare function transformerVariantGroup(options?: TransformerVariantGroupOptions): SourceCodeTransformer;
export { type TransformerVariantGroupOptions, transformerVariantGroup as default };