23 lines
615 B
Plaintext
23 lines
615 B
Plaintext
|
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 };
|