windi.config.ts 2.4 KB

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