tailwind css set default font code example
Example: tailwind css override default font
// tailwind.config.js
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
extend: {
colors: {},
fontFamily: {
sans: ['Montserrat', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {},
plugins: [],
}