-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtailwind.config.js
executable file
·62 lines (60 loc) · 1.89 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
const {join} = require('path');
module.exports = {
presets: [require('@yearn-finance/web-lib/tailwind.config.cjs')],
content: [
join(__dirname, 'pages', '**', '*.{js,jsx,ts,tsx}'),
join(__dirname, 'components', 'icons', '**', '*.{js,jsx,ts,tsx}'),
join(__dirname, 'components', 'logo', '**', '*.{js,jsx,ts,tsx}'),
join(__dirname, 'components', 'strategies', '**', '*.{js,jsx,ts,tsx}'),
join(__dirname, 'components', 'vaults', '**', '*.{js,jsx,ts,tsx}'),
join(__dirname, 'components', '**', '*.{js,jsx,ts,tsx}'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'dist', 'layouts', '**', '*.js'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'dist', 'components', '**', '*.js'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'dist', 'contexts', '**', '*.js'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'dist', 'icons', '**', '*.js'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'dist', 'utils', '**', '*.js')
],
theme: {
extend: {
colors: {
beige: '#EAE8E1',
yblue: '#6176b4'
},
width: {
68: '17rem',
'250%': '250%'
},
minWidth: {
68: '17rem',
80: '20rem'
},
fontFamily: {
scope: ['Scope', 'Roboto', 'serif'],
monument: ['Monument', 'sans-serif'],
peste: ['Peste', 'sans-serif'],
chicago: ['Chicago', 'mono'],
bluepill: ['New Spirit Bold Condensed', 'sans-serif']
},
fontSize: {
'base': ['16px', '24px'],
'lg': ['1.125rem', '1.75rem'],
'4xl': ['2.25rem', '2.5rem']
},
animation: {
marquee: 'marquee 25s linear infinite',
marquee2: 'marquee2 25s linear infinite'
},
keyframes: {
marquee: {
'0%': {transform: 'translateX(0%)'},
'100%': {transform: 'translateX(-100%)'}
},
marquee2: {
'0%': {transform: 'translateX(100%)'},
'100%': {transform: 'translateX(0%)'}
}
}
}
},
plugins: []
};