Browse Source

chore: add tailwind column classes to safelist

Konstantinos Kaloutas 3 years ago
parent
commit
1951994995
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tailwind.config.js

+ 2 - 1
tailwind.config.js

@@ -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'),