tailwind css override default font

Solutions on MaxInterview for tailwind css override default font by the best coders in the world

showing results for - "tailwind css override default font"
Matteo
17 Jan 2016
1// tailwind.config.js
2const defaultTheme = require('tailwindcss/defaultTheme')
3
4module.exports = {
5  theme: {
6    extend: {
7      colors: {},
8      fontFamily: {
9        sans: ['Montserrat', ...defaultTheme.fontFamily.sans],
10      },
11    },
12  },
13  variants: {},
14  plugins: [],
15}
16