-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
39 lines (37 loc) · 1006 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
36
37
38
39
/** @type {import('tailwindcss').Config} */
import defaultTheme from 'tailwindcss/defaultTheme'
export default {
content: ['src/**/*.{js,md,njk,svg}'],
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', ...defaultTheme.fontFamily.sans],
serif: [...defaultTheme.fontFamily.serif],
mono: ['Fira Mono', ...defaultTheme.fontFamily.mono],
},
},
},
// Enable optimization (removes 1K on output)
experimental: {
optimizeUniversalDefaults: true,
},
plugins: [],
}