windi.config.js 2.3 KB

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