unocss.config.ts 625 B

12345678910111213141516171819202122232425
  1. import { presetDaisy } from "unocss-preset-daisy";
  2. import { presetAttributify, presetIcons, presetUno, transformerDirectives, transformerVariantGroup } from "unocss";
  3. import { defineConfig } from "unocss/vite";
  4. import presetChinese from "unocss-preset-chinese";
  5. import presetEase from "unocss-preset-ease";
  6. export default defineConfig({
  7. presets: [
  8. presetUno(),
  9. presetAttributify(),
  10. presetChinese(),
  11. presetEase(),
  12. presetIcons({
  13. scale: 1.5,
  14. }),
  15. // presetDaisy({
  16. // themes: false,
  17. // }),
  18. ],
  19. transformers: [
  20. transformerDirectives(),
  21. transformerVariantGroup(),
  22. ],
  23. });