tailwind.config.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { nextui } from "@nextui-org/react";
  2. import type { Config } from "tailwindcss";
  3. const config: Config = {
  4. content: [
  5. "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
  6. "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
  7. "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
  8. "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
  9. ],
  10. theme: {
  11. extend: {
  12. backgroundImage: {
  13. "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
  14. "gradient-conic":
  15. "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
  16. },
  17. },
  18. },
  19. plugins: [
  20. nextui({
  21. layout: {
  22. fontSize: {
  23. // tiny: "10px", // text-tiny
  24. // small: "12px", // text-small
  25. // medium: "14px", // text-medium
  26. // large: "16px", // text-large
  27. },
  28. },
  29. themes: {
  30. dark: {
  31. colors: {
  32. primary: "#ff6a01",
  33. },
  34. },
  35. light: {},
  36. },
  37. }),
  38. ],
  39. };
  40. export default config;