diff --git a/leaky-ships/tailwind.config.js b/leaky-ships/tailwind.config.js index d8e8fa9..1859be0 100644 --- a/leaky-ships/tailwind.config.js +++ b/leaky-ships/tailwind.config.js @@ -1,5 +1,21 @@ /** @type {import('tailwindcss').Config} */ -const colors = require("tailwindcss/colors") +const allColors = require("tailwindcss/colors") + +const colors = Object.keys(allColors) + .filter((key) => { + const deprecated = [ + "lightBlue", + "warmGray", + "trueGray", + "coolGray", + "blueGray", + ] + return !deprecated.find((val) => val === key) + }) + .reduce((acc, key) => { + acc[key] = allColors[key] + return acc + }, {}) module.exports = { content: [