-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
35 lines (33 loc) · 942 Bytes
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
const { fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
content: ['./src/templates/**/*.{js,jsx,ts,tsx}', './src/components/**/*.{js,jsx,ts,tsx}', './content/**/*.md'],
darkMode: 'class',
corePlugins: {
touchAction: false,
ringOffsetWidth: false,
ringOffsetColor: false,
scrollSnapType: false,
borderOpacity: false,
textOpacity: false,
fontVariantNumeric: false,
},
theme: {
extend: {
colors: {
bgColor: 'var(--theme-bg)',
textColor: 'var(--theme-text)',
link: 'var(--theme-link)',
accent: 'var(--theme-accent)',
'accent-2': 'var(--theme-accent-2)',
},
fontFamily: {
// Add any custom fonts here
sans: ['Inter', ...fontFamily.sans],
serif: [...fontFamily.serif],
mono: ['Fira Mono', ...fontFamily.mono],
},
},
},
plugins: [],
}