-
Notifications
You must be signed in to change notification settings - Fork 15
/
tailwind.config.js
109 lines (108 loc) · 2.52 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
const {
colors
} = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
minWidth: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
},
extend: {
maxWidth: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
},
boxShadow: {
'default': '0 4px 5px 0 rgba(0, 0, 0, .13), 0 3px 4px 0 rgba(0, 0, 0, .08)',
'lg': '0 6px 25px -2px rgba(0, 0, 0, 0.1), 0 4px 15px -1px rgba(0, 0, 0, 0.05)',
},
lineHeight: {
relaxed: 1.75
},
fontSize: {
'xxs': '0.65rem',
'md': '1.075rem',
'4xl': '2rem',
'5xl': '2.5rem',
'6xl': '3rem',
},
fontFamily: {
'silkaBlack': ['Silka Black'],
'silkaBold': ['Silka Bold'],
'silkaExtraLight': ['Silka ExtraLight'],
'silkaLight': ['Silka Light'],
'silkaMedium': ['Silka Medium'],
'silkaRegular': ['Silka Regular'],
'silkaSemiBold': ['Silka SemiBold'],
'silkaThin': ['Silka Thin'],
'helveticaNeueThin': ['Helvetica Neue Thin'],
'helveticaNeueLight': ['Helvetica Neue Light'],
'helveticaNeueRegular': ['Helvetica Neue Regular'],
'helveticaNeueBold': ['Helvetica Neue Bold'],
'sans': ['Helvetica Neue', 'Helvetica', 'Roboto', 'Arial', 'sans-serif'],
},
opacity: {
'0': '0',
'10': '.1',
'20': '.2',
'30': '.3',
'40': '.4',
'50': '.5',
'60': '.6',
'70': '.7',
'80': '.8',
'90': '.9',
'100': '1',
},
// spacing: {
// sm: '8px',
// md: '16px',
// lg: '24px',
// xl: '48px',
// },
fill: theme => ({
'indigo': theme('colors.indigo.500')
}),
colors: {
gray: {
...colors.gray,
'100': '#f8f8f8',
},
teal: {
...colors.teal,
'200': '#63D2F9'
},
blue: {
...colors.blue,
'300': '#63B0F9',
'900': '#282846',
},
indigo: {
...colors.indigo,
'500': '#4E5EE4',
},
},
container: {
center: true,
padding: '2rem',
},
screens: {
'sm': '640px',
// => @media (min-width: 640px) { ... }
'md': '768px',
'lg': '960px',
'xl': '1020px',
}
},
},
variants: {
opacity: ['responsive', 'hover']
},
plugins: []
}