forked from mvaishnavi/frontend-internship-assignment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
60 lines (58 loc) · 1.19 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 { createGlobPatternsForDependencies } = require('@nrwl/angular/tailwind');
const { join } = require('path');
const customColors = {
'dark-border': '#161528',
'light-border': '#d6d6d6',
'table-header-bg': '#f5f5f5'
}
module.exports = {
prefix: 'tw-',
corePlugins: {
preflight: false
},
content: [join(__dirname, 'src/**/!(*.stories|*.spec).{ts,html}'), ...createGlobPatternsForDependencies(__dirname)],
theme: {
textColor: {
...customColors
},
fontSize: {
'14-px': '14px',
'16-px': '16px',
'24-px': '24px',
},
extend: {
colors: {
...customColors
},
borderRadius: {
'4-px': '4px',
},
margin: {
'16-px': '16px',
'24-px': '24px'
},
padding: {
'12-px': '12px',
'24-px': '24px'
},
fontFamily: {
'activ-grotisk': '"aktiv-grotesk", sans-serif'
},
fontWeight: {
'600': '600'
},
height: {
'40-px': '40px',
'60-px': '60px'
},
width: {
'300-px': '300px',
'30-px': '30px'
},
cursor: {
'cursor': 'cursor-pointer'
}
},
},
plugins: [],
}