-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
36 lines (35 loc) · 854 Bytes
/
tailwind.config.js
File metadata and controls
36 lines (35 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import defaultTheme from "tailwindcss/defaultTheme"
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
'sans': ['var(--font-geist-sans)', ...defaultTheme.fontFamily.sans],
'mono': ['var(--font-geist-mono)', ...defaultTheme.fontFamily.mono],
},
container: {
center: 'true',
padding: {
DEFAULT: '.5rem',
md: '3rem',
lg: '1.75rem'
},
},
spacing: {
'nav-height': 'var(--navbar-height)',
}
}
},
plugins: [
require("tailwindcss-animate"),
// plugin(({ addUtilities, addComponents }) => {
// addUtilities({ "nav-height": "var(--navbar-height)" }, ["responsive"])
// })
],
}