Organise Tailwind configuration files
This commit is contained in:
parent
94802e4286
commit
4b82d1a904
|
@ -1,9 +1,5 @@
|
||||||
const aspectRatio = require('@tailwindcss/aspect-ratio')
|
const colors = require('./tools/tailwindcss/colours')
|
||||||
const colors = require('./tailwind-colours')
|
|
||||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
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
|
const { fontFamily } = defaultTheme
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -11,7 +7,7 @@ module.exports = {
|
||||||
important: true,
|
important: true,
|
||||||
purge: {
|
purge: {
|
||||||
content: [
|
content: [
|
||||||
'tailwind-safelist-classes.txt',
|
'tools/tailwindcss/safelist-classes.txt',
|
||||||
'source/**/*.{md,twig}',
|
'source/**/*.{md,twig}',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -59,9 +55,9 @@ module.exports = {
|
||||||
container: false
|
container: false
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
aspectRatio,
|
require('./tools/tailwindcss/plugins/focus-visible'),
|
||||||
focusVisible,
|
require('@tailwindcss/aspect-ratio'),
|
||||||
forms,
|
require('@tailwindcss/forms'),
|
||||||
typography
|
require('@tailwindcss/typography')
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue