tailwind.config.js 652 B

123456789101112131415161718192021222324252627
  1. const defaultTheme = require("tailwindcss/defaultTheme");
  2. const colors = require("tailwindcss/colors");
  3. /** @type {import('tailwindcss').Config} */
  4. module.exports = {
  5. content: [
  6. './src/pages/**/*.{js,ts,jsx,tsx,mdx}',
  7. './src/components/**/*.{js,ts,jsx,tsx,mdx}',
  8. './src/app/**/*.{js,ts,jsx,tsx,mdx}',
  9. ],
  10. darkMode: "class",
  11. theme: {
  12. extend: {
  13. colors: {
  14. trueGray: colors.neutral,
  15. },
  16. },
  17. fontFamily: {
  18. sans: ["Inter", ...defaultTheme.fontFamily.sans],
  19. stock: [defaultTheme.fontFamily.sans],
  20. },
  21. },
  22. variants: {
  23. extend: {},
  24. },
  25. plugins: [require("@tailwindcss/aspect-ratio")],
  26. }