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.
21 lines
580 B
21 lines
580 B
import {
|
|
transformerVariantGroup,
|
|
transformerDirectives,
|
|
presetAttributify,
|
|
defineConfig,
|
|
presetMini,
|
|
presetUno
|
|
} from "unocss";
|
|
|
|
// https://github.com/unocss/unocss#readme
|
|
export default defineConfig({
|
|
presets: [presetMini({ dark: "class" }), presetAttributify(), presetUno()],
|
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
|
exclude: [`${__dirname}/node_modules/**/*`],
|
|
shortcuts: {
|
|
"wh-full": "w-full h-full",
|
|
"flex-ac": "flex justify-around items-center",
|
|
"flex-bc": "flex justify-between items-center"
|
|
},
|
|
theme: {}
|
|
});
|