windi.config.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. upperMobilePrimaryStickyFold: "var(--upper-mobile-primary-sticky-fold)",
  13. upperMobileSecondaryStickyFold:
  14. "var(--upper-mobile-secondary-sticky-fold)",
  15. upperMobileRawStickyFold: "var(--upper-mobile-raw-sticky-fold)",
  16. upperMobileRawTertiaryStickyFold:
  17. "var(--upper-mobile-raw-tertiary-sticky-fold)",
  18. lowerPrimaryStickyFold: "var(--lower-primary-sticky-fold)",
  19. lowerSecondaryStickyFold: "var(--lower-secondary-sticky-fold)",
  20. sidebarPrimaryStickyFold: "var(--sidebar-primary-sticky-fold)",
  21. },
  22. colors: {
  23. primary: "var(--primary-color)",
  24. primaryLight: "var(--primary-light-color)",
  25. primaryDark: "var(--primary-dark-color)",
  26. secondary: "var(--secondary-color)",
  27. secondaryLight: "var(--secondary-light-color)",
  28. secondaryDark: "var(--secondary-dark-color)",
  29. accent: "var(--accent-color)",
  30. accentLight: "var(--accent-light-color)",
  31. accentDark: "var(--accent-dark-color)",
  32. accentContrast: "var(--accent-contrast-color)",
  33. divider: "var(--divider-color)",
  34. dividerLight: "var(--divider-light-color)",
  35. dividerDark: "var(--divider-dark-color)",
  36. error: "var(--error-color)",
  37. tooltip: "var(--tooltip-color)",
  38. popover: "var(--popover-color)",
  39. gradientFrom: "var(--gradient-from-color)",
  40. gradientVia: "var(--gradient-via-color)",
  41. gradientTo: "var(--gradient-to-color)",
  42. },
  43. fontFamily: {
  44. sans: "var(--font-sans)",
  45. mono: "var(--font-mono)",
  46. icon: "var(--font-icon)",
  47. },
  48. fontSize: {
  49. tiny: "var(--font-size-tiny)",
  50. body: "var(--font-size-body)",
  51. },
  52. lineHeight: {
  53. body: "var(--line-height-body)",
  54. },
  55. cursor: {
  56. nsResize: "ns-resize",
  57. grab: "grab",
  58. grabbing: "grabbing",
  59. },
  60. },
  61. },
  62. })