Answers for "tailwind css override default font"

CSS
0

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: [],
}
Posted by: Guest on May-09-2021

Browse Popular Code Answers by Language