windi.config.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import { defineConfig } from "windicss/helpers"
  2. export default defineConfig({
  3. theme: {
  4. container: {
  5. center: true,
  6. },
  7. extend: {
  8. inset: {
  9. upperPrimaryStickyFold: "var(--upper-primary-sticky-fold)",
  10. upperSecondaryStickyFold: "var(--upper-secondary-sticky-fold)",
  11. upperTertiaryStickyFold: "var(--upper-tertiary-sticky-fold)",
  12. lowerPrimaryStickyFold: "var(--lower-primary-sticky-fold)",
  13. lowerSecondaryStickyFold: "var(--lower-secondary-sticky-fold)",
  14. sidebarPrimaryStickyFold: "var(--sidebar-primary-sticky-fold)",
  15. sidebarSecondaryStickyFold: "var(--sidebar-secondary-sticky-fold)",
  16. },
  17. colors: {
  18. primary: "var(--primary-color)",
  19. primaryLight: "var(--primary-light-color)",
  20. primaryDark: "var(--primary-dark-color)",
  21. secondary: "var(--secondary-color)",
  22. secondaryLight: "var(--secondary-light-color)",
  23. secondaryDark: "var(--secondary-dark-color)",
  24. accent: "var(--accent-color)",
  25. accentLight: "var(--accent-light-color)",
  26. accentDark: "var(--accent-dark-color)",
  27. accentContrast: "var(--accent-contrast-color)",
  28. divider: "var(--divider-color)",
  29. dividerLight: "var(--divider-light-color)",
  30. dividerDark: "var(--divider-dark-color)",
  31. error: "var(--error-color)",
  32. tooltip: "var(--tooltip-color)",
  33. popover: "var(--popover-color)",
  34. gradientFrom: "var(--gradient-from-color)",
  35. gradientVia: "var(--gradient-via-color)",
  36. gradientTo: "var(--gradient-to-color)",
  37. },
  38. fontFamily: {
  39. sans: "var(--font-sans)",
  40. mono: "var(--font-mono)",
  41. icon: "var(--font-icon)",
  42. },
  43. },
  44. },
  45. })