theme design for unocss
pnpm i -D unocss-preset-design
import { defineConfig } from "@unocss/vite";
import type { Theme } from "@unocss/preset-mini";
import presetUno from "@unocss/preset-mini";
import presetDesign from "unocss-preset-design";
export default defineConfig<Theme>({
content: {
pipeline: {
exclude: ["node_modules", "dist"],
},
},
presets: [presetUno({ dark: "class" }), presetDesign()],
});