tailwind.config.js 576 B

12345678910111213141516171819202122232425
  1. /** @type {import('tailwindcss').Config} */
  2. const { nextui } = require("@nextui-org/react");
  3. export default {
  4. content: [
  5. "./src/**/*.{js,ts,jsx,tsx}",
  6. "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
  7. ],
  8. theme: {
  9. extend: {
  10. colors: {
  11. "bg-dark": "var(--bg-dark)",
  12. "bg-light": "var(--bg-light)",
  13. "bg-input": "var(--bg-input)",
  14. "bg-workspace": "var(--bg-workspace)",
  15. border: "var(--border)",
  16. },
  17. },
  18. },
  19. darkMode: "class",
  20. plugins: [
  21. nextui({
  22. defaultTheme: "dark",
  23. }),
  24. ],
  25. };