fix: tailwing config

This commit is contained in:
Clement 2024-05-21 11:42:14 +02:00
parent c93141e68f
commit c348e2b2ac
2 changed files with 23 additions and 30 deletions

View File

@ -1,5 +1,5 @@
import defaultTheme from 'tailwindcss/defaultTheme'; import defaultTheme from 'tailwindcss/defaultTheme'
import typographyPlugin from '@tailwindcss/typography'; import typographyPlugin from '@tailwindcss/typography'
module.exports = { module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}'], content: ['./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}'],
@ -21,4 +21,5 @@ module.exports = {
}, },
plugins: [typographyPlugin], plugins: [typographyPlugin],
darkMode: 'class', darkMode: 'class',
}; }

View File

@ -1,8 +0,0 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
plugins: [],
}