⬆️ Upgrade tailwind & postcss config

This commit is contained in:
pheralb 2024-04-20 23:41:52 +01:00
parent 038edfa2ae
commit 5e349a68a0
3 changed files with 11 additions and 9 deletions

View File

@ -1,6 +0,0 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

6
postcss.config.js Normal file
View File

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};

View File

@ -1,5 +1,7 @@
import { fontFamily } from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
@ -9,8 +11,8 @@ module.exports = {
light: '#f5f5f5'
},
fontFamily: {
sans: ['InterVariable', 'sans-serif'],
mono: ['GeistMono', 'monospace']
sans: ['InterVariable', ...fontFamily.sans],
mono: ['GeistMono', ...fontFamily.mono]
},
fontSize: {
mini: '14px'