how to override font family in tailwind css 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: [],
}