You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
610 B
22 lines
610 B
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 { TransformerVariantGroupOptions, transformerVariantGroup as default };
|
|
|