-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
92 lines (91 loc) · 1.87 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
const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
sm: '576px',
md: '768px',
lg: '992px',
xl: '1200px',
'2xl': '1400px'
},
colors: {
primary: '#FF6464',
secondary: '#00A8CC',
dark: '#21243D',
light: '#8695A4',
white: '#fff',
blue: {
light: '#EDF7FA'
},
red: {
500: '#cc5050'
},
gray: colors.gray,
indigo: colors.indigo
},
fontFamily: {
body: ['"Heebo"', 'sans-serif']
},
boxShadow: {
DEFAULT: '0 4px 10px 0 rgba(187, 225, 250, .25)'
},
extend: {
typography: {
DEFAULT: {
css: {
color: '#21243D',
a: {
color: '#FF6464',
textDecoration: 'underline'
},
h1: {
textDecoration: 'underline'
},
h2: {
textDecoration: 'underline'
},
img: {
maxWidth: '100%',
width: '100%'
}
}
}
}
}
},
variants: {
extend: {}
},
corePlugins: {
container: false
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
function ({ addComponents }) {
addComponents({
'.container': {
maxWidth: '100%',
'@screen sm': {
maxWidth: '540px'
},
'@screen md': {
maxWidth: '768px'
},
'@screen lg': {
maxWidth: '856px'
},
'@screen xl': {
maxWidth: '1036px'
},
'@screen 2xl': {
maxWidth: '1210px'
}
}
})
}
]
}