From 98a5c3f657ea8992001726a2378a9be392947afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Wed, 13 Jan 2021 22:59:53 +0900 Subject: [PATCH] fix: tailwind config using safelist instead of whitelist --- tailwind.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index e2a9eb4..c284d89 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,7 +8,7 @@ module.exports = { './**/*.{ts,tsx}', ], 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'