-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
56 lines (55 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
const colors = require('tailwindcss/colors');
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
backgroundColor: (theme) => ({
...theme('colors'),
primary: '#2d64b3',
secondary: '#ec3564',
danger: '#f00',
}),
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
colors: {
gray: colors.coolGray,
blue: colors.lightBlue,
white: colors.white,
black: colors.black,
green: colors.green,
primary: '#2d64b3',
secondary: '#ec3564',
red: colors.red,
accent: '#1ec66c',
},
fontFamily: {
sans: ['Roboto', 'sans-serif'],
serif: ['Merriweather', 'serif'],
},
extend: {
spacing: {
128: '32rem',
144: '36rem',
},
borderRadius: {
'4xl': '2rem',
},
height: {
navbar: '10%',
wrapper: '90%',
},
},
zIndex: {
100: 100,
10000: 10000,
},
},
variants: {
extend: {},
},
plugins: [],
};