-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathtailwind.config.js
executable file
·65 lines (64 loc) · 1.72 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
/** @type {import('tailwindcss').Config} \*/
const {join} = require('path');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
presets: [require('@yearn-finance/web-lib/tailwind.config.cjs')],
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./hooks/**/*.{js,ts,jsx,tsx}',
'./contexts/**/*.{js,ts,jsx,tsx}',
'./apps/**/*.{js,ts,jsx,tsx}',
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'components', '**', '*.{js,ts,jsx,tsx}'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'contexts', '**', '*.{js,ts,jsx,tsx}'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'icons', '**', '*.{js,ts,jsx,tsx}'),
join(__dirname, 'node_modules', '@yearn-finance', 'web-lib', 'utils', '**', '*.{js,ts,jsx,tsx}')
],
theme: {
extend: {
fontFamily: {
aeonik: ['var(--font-aeonik)', 'Aeonik', ...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono]
},
width: {
'22': '5.5rem',
'42': '10.5rem',
'50': '12.5rem',
'54': '13.5rem'
},
minWidth: {
'42': '10.5rem'
},
maxWidth: {
'50': '12.5rem',
'54': '13.5rem'
},
height: {
'inherit': 'inherit'
},
screens: {
'lg': '1200px'
},
gridTemplateColumns: {
'13': 'repeat(13, minmax(0, 1fr))',
'14': 'repeat(14, minmax(0, 1fr))'
},
lineHeight: {
11: '3.25rem',
'120px': '120px'
},
fontSize: {
'xxs': ['10px', '16px'],
'2xl': ['24px', '32px'],
'3xl': ['32px', '40px'],
'7xl': ['64px', '72px'],
'8xl': ['88px', '104px']
}
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')
]
};