Skip to content

Commit

Permalink
refactor: migrate tailwind config to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
joejordan committed Oct 26, 2024
1 parent ba204a1 commit 2a33fd5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tailwind.config.cjs → tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
import type { Config } from 'tailwindcss';

const config: Config = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './*.html'],
darkMode: 'media',
mode: 'jit',
};

export default config;

0 comments on commit 2a33fd5

Please sign in to comment.