-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtailwind.config.js
60 lines (59 loc) · 1.12 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const colors = require('tailwindcss/colors')
const plugin = require('tailwindcss/plugin')
module.exports = {
content: [
'./src/**/*.njk',
'./src/**/*.md',
'./src/**/*.js',
'./.*.js',
'./_site/**/*.html'
],
darkMode: 'media', // or 'media' or 'class'
theme: {
colors: {
gray: colors.slate,
purple: colors.purple,
orange: colors.orange,
rose: colors.rose,
blue: colors.blue,
green: colors.green,
yellow: colors.yellow,
white: colors.white,
black: colors.black,
current: 'currentColor',
transparent: 'transparent'
},
fontFamily: {
sans: [
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji'
],
serif: [
'ui-serif',
'Georgia',
'Cambria',
'Times New Roman',
'Times',
'serif'
]
}
},
variants: {
backgroundColor: ['responsive', 'dark', 'focus', 'active', 'hover'],
extend: { space: ['last'] }
},
plugins: []
}