generated from yearn/web-template
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtailwind.config.js
executable file
·35 lines (34 loc) · 1.25 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
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const {join} = require('path');
module.exports = {
presets: [
require('@yearn-finance/web-lib/tailwind.plugin')
],
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: {
height: {
'table-wrapper': 'calc(100vh - 54px)',
102: '25.5rem',
136: '34rem'
},
minWidth: {
32: '8rem',
36: '9rem'
}
}
},
plugins: []
};