windi.config.ts 2.4 KB

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