2021-06-30 07:00:00 +00:00
|
|
|
const aspectRatio = require('@tailwindcss/aspect-ratio')
|
|
|
|
const colors = require('./tailwind-colours')
|
|
|
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
|
|
|
const focusVisible = require('./tailwind-plugin-focus-visible')
|
|
|
|
const forms = require('@tailwindcss/forms')
|
|
|
|
const typography = require('@tailwindcss/typography')
|
|
|
|
const { fontFamily } = defaultTheme
|
|
|
|
|
|
|
|
module.exports = {
|
2021-06-30 07:00:00 +00:00
|
|
|
darkMode: 'media',
|
2021-06-30 07:00:00 +00:00
|
|
|
important: true,
|
|
|
|
purge: {
|
|
|
|
content: [
|
|
|
|
'tailwind-safelist-classes.txt',
|
|
|
|
'source/**/*.{md,twig}',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
typography: (theme) => ({
|
|
|
|
DEFAULT: {
|
2021-06-30 07:00:00 +00:00
|
|
|
css: {
|
|
|
|
p: {
|
|
|
|
lineHeight: 400
|
|
|
|
}
|
2021-06-30 07:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
colors,
|
|
|
|
fontFamily: {
|
|
|
|
sans: [
|
2021-06-30 07:00:00 +00:00
|
|
|
'Roboto Condensed',
|
2021-06-30 07:00:00 +00:00
|
|
|
'Arial',
|
|
|
|
'Helvetica Neue',
|
|
|
|
'Helvetica',
|
|
|
|
'sans-serif',
|
|
|
|
],
|
|
|
|
mono: [
|
|
|
|
'Operator Mono',
|
|
|
|
'Roboto Mono',
|
|
|
|
...fontFamily.mono
|
|
|
|
]
|
|
|
|
},
|
|
|
|
spacing: {
|
|
|
|
'2px': '2px'
|
|
|
|
},
|
|
|
|
borderWidth: {
|
|
|
|
3: '3px'
|
|
|
|
},
|
|
|
|
width: {
|
|
|
|
96: '24rem'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
corePlugins: {
|
|
|
|
container: false
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
aspectRatio,
|
|
|
|
focusVisible,
|
|
|
|
forms,
|
|
|
|
typography
|
|
|
|
]
|
|
|
|
}
|