This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
86 lines (82 loc) · 1.8 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
const { colors, fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
prefix: '',
important: false,
separator: ':',
theme: {
extend: {
height: {
7: '1.75rem',
28: '7rem',
80: '20rem'
},
width: {
7: '1.75rem',
80: '20rem'
},
maxWidth: {
56: '14rem'
},
colors: {
pink: {
...colors.pink,
100: '#ffe4f4',
200: '#ff9ad8',
400: '#FC66C2'
},
gray: {
...colors.gray,
400: '#b7abb3',
600: '#655c62',
700: '#464044'
}
},
inset: {
'-8': '-2rem',
'-16': '-4rem',
'-14': '-3.5rem',
16: '4rem'
},
fontSize: {
mega: '10rem'
},
fontFamily: {
body: ['Source Sans Pro', ...fontFamily.sans]
}
},
aspectRatio: {
square: [1, 1],
'16/9': [16, 9],
'4/3': [4, 3],
'21/9': [21, 9],
fb: [1.91, 1]
}
},
variants: {
aspectRatio: ['responsive'],
backgroundColor: ['disabled', 'responsive', 'hover', 'focus']
},
plugins: [
require('tailwind-heropatterns')({
// as per tailwind docs you can pass variants
variants: [],
// the list of patterns you want to generate a class for
// the names must be in kebab-case
// an empty array will generate all 87 patterns
patterns: [],
// The foreground colors of the pattern
colors: {
default: '#ffc4e8',
'blue-dark': '#000044' // also works with rgb(0,0,205)
},
// The foreground opacity
opacity: {
default: '0.4',
'100': '1.0'
}
}),
require('tailwindcss-responsive-embed')(),
require('tailwindcss-aspect-ratio')()
],
purge: false
}