From 554c7753ec65c38645ca2907af3efa2bc37b4541 Mon Sep 17 00:00:00 2001 From: Davide Ciulla Date: Sun, 10 Nov 2024 18:26:41 +0100 Subject: [PATCH] Migrate tailwind config file to typescript --- tailwind.config.js => tailwind.config.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename tailwind.config.js => tailwind.config.ts (95%) diff --git a/tailwind.config.js b/tailwind.config.ts similarity index 95% rename from tailwind.config.js rename to tailwind.config.ts index 26bc6ad..f80cf6b 100644 --- a/tailwind.config.js +++ b/tailwind.config.ts @@ -1,5 +1,6 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { +import {type Config} from 'tailwindcss' + +const config = { darkMode: "class", content: ["./contents/**/*.tsx", "./popup/**/*.tsx"], theme: { @@ -90,4 +91,6 @@ module.exports = { }, }, plugins: [], -} +} satisfies Config + +export default config