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

  1. import {
  2. transformerVariantGroup,
  3. transformerDirectives,
  4. presetAttributify,
  5. defineConfig,
  6. presetMini,
  7. presetUno
  8. } from "unocss";
  9. // https://github.com/unocss/unocss#readme
  10. export default defineConfig({
  11. presets: [presetMini({ dark: "class" }), presetAttributify(), presetUno()],
  12. transformers: [transformerDirectives(), transformerVariantGroup()],
  13. exclude: [`${__dirname}/node_modules/**/*`],
  14. shortcuts: {
  15. "wh-full": "w-full h-full",
  16. "flex-ac": "flex justify-around items-center",
  17. "flex-bc": "flex justify-between items-center"
  18. },
  19. theme: {}
  20. });