Skip to content

Commit 5e349a6

Browse files
committed
⬆️ Upgrade tailwind & postcss config
1 parent 038edfa commit 5e349a6

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

postcss.config.cjs

-6
This file was deleted.

postcss.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {}
5+
}
6+
};

tailwind.config.cjs renamed to tailwind.config.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
import { fontFamily } from 'tailwindcss/defaultTheme';
2+
13
/** @type {import('tailwindcss').Config} */
2-
module.exports = {
4+
export default {
35
darkMode: 'class',
46
content: ['./src/**/*.{html,js,svelte,ts}'],
57
theme: {
@@ -9,8 +11,8 @@ module.exports = {
911
light: '#f5f5f5'
1012
},
1113
fontFamily: {
12-
sans: ['InterVariable', 'sans-serif'],
13-
mono: ['GeistMono', 'monospace']
14+
sans: ['InterVariable', ...fontFamily.sans],
15+
mono: ['GeistMono', ...fontFamily.mono]
1416
},
1517
fontSize: {
1618
mini: '14px'

0 commit comments

Comments
 (0)