Skip to content

Commit

Permalink
refactor: prefer TypeScript for Tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Jun 25, 2024
1 parent e6331b6 commit 9ba6ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tailwind.config.js → tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Config } from 'tailwindcss';
import { join } from 'node:path';
import { skeleton } from '@skeletonlabs/tw-plugin';
import typo from '@tailwindcss/typography';

/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
Expand All @@ -11,4 +11,4 @@ export default {
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}'),
],
plugins: [typo, skeleton({ themes: { preset: ['wintry'] } })],
};
} satisfies Config;

0 comments on commit 9ba6ba4

Please sign in to comment.