diff --git a/tailwind.config.js b/tailwind.config.js index ac2f193b..442750e8 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,9 +1,5 @@ -const aspectRatio = require('@tailwindcss/aspect-ratio') -const colors = require('./tailwind-colours') +const colors = require('./tools/tailwindcss/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 = { @@ -11,7 +7,7 @@ module.exports = { important: true, purge: { content: [ - 'tailwind-safelist-classes.txt', + 'tools/tailwindcss/safelist-classes.txt', 'source/**/*.{md,twig}', ], }, @@ -59,9 +55,9 @@ module.exports = { container: false }, plugins: [ - aspectRatio, - focusVisible, - forms, - typography + require('./tools/tailwindcss/plugins/focus-visible'), + require('@tailwindcss/aspect-ratio'), + require('@tailwindcss/forms'), + require('@tailwindcss/typography') ] } diff --git a/tailwind-colours.js b/tools/tailwindcss/colours.js similarity index 100% rename from tailwind-colours.js rename to tools/tailwindcss/colours.js diff --git a/tailwind-plugin-focus-visible.js b/tools/tailwindcss/plugins/focus-visible.js similarity index 100% rename from tailwind-plugin-focus-visible.js rename to tools/tailwindcss/plugins/focus-visible.js diff --git a/tailwind-safelist-classes.txt b/tools/tailwindcss/safelist-classes.txt similarity index 100% rename from tailwind-safelist-classes.txt rename to tools/tailwindcss/safelist-classes.txt