chore: add tailwind column classes to safelist

This commit is contained in:
Konstantinos Kaloutas
2022-10-12 19:56:54 +03:00
committed by Tienson Qin
parent 550682a1aa
commit 1951994995

View File

@@ -29,7 +29,8 @@ module.exports = {
safelist: [
'bg-black', 'bg-white',
{ pattern: /bg-(gray|red|yellow|green|blue|orange|indigo|rose|purple|pink)-(100|200|300|400|500|600|700|800|900)/ },
{ pattern: /text-(gray|red|yellow|green|blue|orange|indigo|rose|purple|pink)-(100|200|300|400|500|600|700|800|900)/ }
{ pattern: /text-(gray|red|yellow|green|blue|orange|indigo|rose|purple|pink)-(100|200|300|400|500|600|700|800|900)/ },
{ pattern: /columns-([1-9]|1[0-2])|(auto|3xs|2xs|xs|sm|md|lg|xl)|([2-7]xl)/ }
],
plugins: [
require('@tailwindcss/forms'),