tailwindcss/tests/fixtures/custom-purge-config.js
Brad Cornes 477dd06ec3
Resolve purge paths (#4214)
* resolve purge paths

* add test for purgecss pattern resolution

* resolve purgecss patterns relative to the config file if there is one

* account for raw content when transforming purgecss options

* append test name to postcss `from` option in purge tests
fixes tests hanging

* add test for relative purge path resolution in JIT mode
2021-05-07 13:46:19 -04:00

21 lines
353 B
JavaScript

module.exports = {
purge: ['./*.html'],
theme: {
extend: {
colors: {
'black!': '#000',
},
spacing: {
1.5: '0.375rem',
'(1/2+8)': 'calc(50% + 2rem)',
},
minHeight: {
'(screen-4)': 'calc(100vh - 1rem)',
},
fontFamily: {
'%#$@': 'Comic Sans',
},
},
},
}