From 2374e9628cd4f666769390a578f54bd1fface485 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Fri, 27 Sep 2024 10:10:14 -0400 Subject: [PATCH] refactor: tailwind config ts Signed-off-by: Adam Setch --- tailwind.config.js => tailwind.config.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename tailwind.config.js => tailwind.config.ts (81%) diff --git a/tailwind.config.js b/tailwind.config.ts similarity index 81% rename from tailwind.config.js rename to tailwind.config.ts index 3050e1769..e27beff2c 100644 --- a/tailwind.config.js +++ b/tailwind.config.ts @@ -1,5 +1,6 @@ -/** @type {import('tailwindcss').Config} */ -export default { +import type { Config } from 'tailwindcss'; + +const config: Config = { content: ['./src/**/*.js', './src/**/*.ts', './src/**/*.tsx'], darkMode: 'class', theme: { @@ -22,3 +23,5 @@ export default { }, plugins: [], }; + +export default config;