windi.config.ts 716 B

123456789101112131415161718192021222324252627282930
  1. import { defineConfig } from 'vite-plugin-windicss';
  2. export default defineConfig({
  3. extract: {
  4. include: [
  5. '**/*.md',
  6. '.vitepress/theme/**/*.{md,vue}',
  7. '.vitepress/@slidev/client/internals/SlideContainer.vue',
  8. '.vitepress/@slidev/client/layouts/*.vue',
  9. '.vitepress/@slidev/theme-default/layouts/*.vue',
  10. ],
  11. },
  12. attributify: true,
  13. shortcuts: {
  14. 'bg-main': 'bg-white dark:bg-[#111]',
  15. },
  16. theme: {
  17. extend: {
  18. colors: {
  19. primary: {
  20. DEFAULT: '#3AB9D4',
  21. deep: '#2082A6',
  22. },
  23. },
  24. fontFamily: {
  25. mono: "'IBM Plex Mono', source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace",
  26. },
  27. },
  28. },
  29. });