tailwind.config.js 794 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. },
  17. },
  18. },
  19. darkMode: "class",
  20. plugins: [
  21. nextui({
  22. defaultTheme: "dark",
  23. layout: {
  24. radius: {
  25. small: "5px",
  26. large: "20px",
  27. },
  28. },
  29. themes: {
  30. dark: {
  31. colors: {
  32. primary: "#4465DB",
  33. },
  34. }
  35. }
  36. }),
  37. typography,
  38. ],
  39. };