windi.config.ts 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import { defineConfig } from "windicss/helpers"
  2. export default defineConfig({
  3. extract: {
  4. include: ["src/**/*.{vue,html}", "../hoppscotch-ui/src/**/*.{vue,html}"],
  5. },
  6. theme: {
  7. container: {
  8. center: true,
  9. },
  10. extend: {
  11. inset: {
  12. upperPrimaryStickyFold: "var(--upper-primary-sticky-fold)",
  13. upperSecondaryStickyFold: "var(--upper-secondary-sticky-fold)",
  14. upperTertiaryStickyFold: "var(--upper-tertiary-sticky-fold)",
  15. upperFourthStickyFold: "var(--upper-fourth-sticky-fold)",
  16. upperMobilePrimaryStickyFold: "var(--upper-mobile-primary-sticky-fold)",
  17. upperMobileSecondaryStickyFold:
  18. "var(--upper-mobile-secondary-sticky-fold)",
  19. upperMobileStickyFold: "var(--upper-mobile-sticky-fold)",
  20. upperMobileTertiaryStickyFold:
  21. "var(--upper-mobile-tertiary-sticky-fold)",
  22. lowerPrimaryStickyFold: "var(--lower-primary-sticky-fold)",
  23. lowerSecondaryStickyFold: "var(--lower-secondary-sticky-fold)",
  24. lowerTertiaryStickyFold: "var(--lower-tertiary-sticky-fold)",
  25. lowerFourthStickyFold: "var(--lower-fourth-sticky-fold)",
  26. sidebarPrimaryStickyFold: "var(--sidebar-primary-sticky-fold)",
  27. sidebarSecondaryStickyFold: "var(--line-height-body)",
  28. },
  29. colors: {
  30. primary: "var(--primary-color)",
  31. primaryLight: "var(--primary-light-color)",
  32. primaryDark: "var(--primary-dark-color)",
  33. primaryContrast: "var(--primary-contrast-color)",
  34. secondary: "var(--secondary-color)",
  35. secondaryLight: "var(--secondary-light-color)",
  36. secondaryDark: "var(--secondary-dark-color)",
  37. accent: "var(--accent-color)",
  38. accentLight: "var(--accent-light-color)",
  39. accentDark: "var(--accent-dark-color)",
  40. accentContrast: "var(--accent-contrast-color)",
  41. divider: "var(--divider-color)",
  42. dividerLight: "var(--divider-light-color)",
  43. dividerDark: "var(--divider-dark-color)",
  44. error: "var(--error-color)",
  45. tooltip: "var(--tooltip-color)",
  46. popover: "var(--popover-color)",
  47. gradientFrom: "var(--gradient-from-color)",
  48. gradientVia: "var(--gradient-via-color)",
  49. gradientTo: "var(--gradient-to-color)",
  50. },
  51. fontFamily: {
  52. sans: "var(--font-sans)",
  53. mono: "var(--font-mono)",
  54. icon: "var(--font-icon)",
  55. },
  56. fontSize: {
  57. tiny: "var(--font-size-tiny)",
  58. body: "var(--font-size-body)",
  59. },
  60. lineHeight: {
  61. body: "var(--line-height-body)",
  62. },
  63. cursor: {
  64. nsResize: "ns-resize",
  65. grab: "grab",
  66. grabbing: "grabbing",
  67. },
  68. },
  69. },
  70. })