const defaultTheme = require("tailwindcss/defaultTheme"); const colors = require("tailwindcss/colors") module.exports = { content: ["./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}"], theme: { extend: { colors: { primary: colors.blue, secondary: colors.pink, }, fontFamily: { sans: ["'Inter'", ...defaultTheme.fontFamily.sans], }, }, }, plugins: [require("@tailwindcss/typography")], darkMode: "class", }; /* Alternative tailwind.config.js NOTE: Add this fonts to */ // module.exports = { // content: ["./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}"], // theme: { // extend: { // colors: { // primary: colors.cyan, // secondary: colors.lime, // }, // fontFamily: { // sans: ["'Nunito'", ...defaultTheme.fontFamily.sans], // }, // }, // }, // plugins: [require("@tailwindcss/typography")], // darkMode: "class", // };