tailwind.config.js 824 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /** @type {import('tailwindcss').Config} */
  2. import { nextui } from "@nextui-org/react";
  3. import typography from '@tailwindcss/typography';
  4. export default {
  5. content: [
  6. "./src/**/*.{js,ts,jsx,tsx}",
  7. "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
  8. ],
  9. theme: {
  10. extend: {
  11. colors: {
  12. 'root-primary': '#171717',
  13. 'root-secondary': '#262626',
  14. 'hyperlink': '#007AFF',
  15. 'danger': '#EF3744',
  16. 'success': '#4CAF50',
  17. },
  18. },
  19. },
  20. darkMode: "class",
  21. plugins: [
  22. nextui({
  23. defaultTheme: "dark",
  24. layout: {
  25. radius: {
  26. small: "5px",
  27. large: "20px",
  28. },
  29. },
  30. themes: {
  31. dark: {
  32. colors: {
  33. primary: "#4465DB",
  34. },
  35. }
  36. }
  37. }),
  38. typography,
  39. ],
  40. };