tailwind.config.js 772 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. 'root-primary': '#171717',
  12. 'root-secondary': '#262626',
  13. 'hyperlink': '#007AFF',
  14. 'danger': '#EF3744',
  15. },
  16. },
  17. },
  18. darkMode: "class",
  19. plugins: [
  20. nextui({
  21. defaultTheme: "dark",
  22. layout: {
  23. radius: {
  24. small: "5px",
  25. large: "20px",
  26. },
  27. },
  28. themes: {
  29. dark: {
  30. colors: {
  31. primary: "#4465DB",
  32. },
  33. }
  34. }
  35. }),
  36. require('@tailwindcss/typography'),
  37. ],
  38. };