From 21b6b6fb5691b2752d4ec18fca30f3afb4001193 Mon Sep 17 00:00:00 2001 From: Dead Code Analyzer Date: Thu, 3 Apr 2025 18:37:41 -0400 Subject: [PATCH] Remove dead code --- tailwind.config.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tailwind.config.ts b/tailwind.config.ts index e28c710..6779c13 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -95,16 +95,4 @@ const config: Config = { plugins: [require("@tailwindcss/typography"), addVariablesForColors], }; -// This plugin adds each Tailwind color as a global CSS variable, e.g. var(--gray-200). -function addVariablesForColors({ addBase, theme }: any) { - let allColors = flattenColorPalette(theme("colors")); - let newVars = Object.fromEntries( - Object.entries(allColors).map(([key, val]) => [`--${key}`, val]) - ); - - addBase({ - ":root": newVars, - }); -} - export default config;