mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-24 07:29:14 +08:00
15 lines
290 B
Text
15 lines
290 B
Text
'use strict';
|
|
|
|
const core = require('@unocss/core');
|
|
|
|
function transformerVariantGroup(options = {}) {
|
|
return {
|
|
name: "variant-group",
|
|
enforce: "pre",
|
|
transform(s) {
|
|
core.expandVariantGroup(s, options.separators);
|
|
}
|
|
};
|
|
}
|
|
|
|
module.exports = transformerVariantGroup;
|