fix: tailwind config using safelist instead of whitelist

This commit is contained in:
원더 2021-01-13 22:59:53 +09:00
parent b0e16af449
commit 98a5c3f657

View File

@ -8,7 +8,7 @@ module.exports = {
'./**/*.{ts,tsx}', './**/*.{ts,tsx}',
], ],
options: { options: {
whitelist: ['text-green-400', 'text-yellow-300', 'text-red-500', 'text-gray-500', 'text-purple-500'], safelist: ['text-green-400', 'text-yellow-300', 'text-red-500', 'text-gray-500', 'text-purple-500'],
} }
}, },
darkMode: 'class', // or 'media' or 'class' darkMode: 'class', // or 'media' or 'class'