workshop-tailwind-css/tailwind.config.js
Oliver Davies 0da8b14a52 Task 9 - Configure PurgeCSS
Use PurgeCSS to create a production version of the generated CSS.
2021-02-18 21:19:13 +00:00

37 lines
751 B
JavaScript

module.exports = {
purge: ['templates/**/*.twig'],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
display: ['Bebas Neue', 'Arial Narrow', 'Arial', 'sans-serif'],
sans: ['Helvetica', 'Arial', 'sans-serif'],
},
colors: {
blue: {
DEFAULT: '#56a9db',
dark: '#1772ae',
},
bronze: '#998100',
gold: '#e6c200',
gray: {
light: '#fafafa',
dark: '#333333',
},
orange: '#fcb040',
platinum: '#666666',
silver: '#999999',
white: '#ffffff',
},
extend: {
fontSize: {
'2xl': '1.5625rem', // 25px
'3xl': '1.6875rem', // 27px
},
},
},
variants: {
extend: {},
},
plugins: [],
};