-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (63 loc) · 1.3 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
const path = require('path');
const ROOT = path.resolve(__dirname);
const src = path.resolve(ROOT, 'src');
module.exports = {
content: [
`${src}/**/*.html`,
`${src}/**/*.js`,
`${src}/**/*.ts`,
`${src}/**/*.tsx`,
],
theme: {
extend: {
colors: {
'dark-blue': '#123B4F',
'dark-gray': '#3C3C3B',
'light-blue': '#95B8D7',
'light-gray': '#E7E1DD',
'gray': "#606060"
},
fontFamily: {
'veener-two': ['Veneer Two, sens-serif'],
'gotham': ['Gotham, sens-serif']
},
fontSize: {
'3xl.5': ['2rem'],
'xl4.25': ['2.5rem', {
lineHeight: '2.75rem',
}]
},
leading: {
'7.5': '1.875',
'11': '2.75rem',
},
spacing: {
'12.5': '3.25rem',
'16.5': '4rem',
}
}
},
variants: {
extend: {},
},
plugins: [
function ({ addBase }) {
addBase({
'@font-face': {
fontFamily: 'Veneer Two',
fontWheight: '400',
src: 'url(../assets/fonts/VeneerTwo.ttf)'
}
})
},
function ({ addBase }) {
addBase({
'@font-face': {
fontFamily: 'Gotham',
fontWheight: '400',
src: 'url(../assets/fonts/GothamLight.ttf)'
}
})
}
]
}