tailwind.config.js 524 B

1234567891011121314151617181920212223
  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. },
  16. },
  17. },
  18. darkMode: "class",
  19. plugins: [nextui({
  20. defaultTheme: "dark"
  21. })],
  22. }