-
Notifications
You must be signed in to change notification settings - Fork 51
/
tailwind.config.js
executable file
·100 lines (98 loc) · 2.48 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/** @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}',
'./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: {
colors: {
black: 'hsl(0, 0%, 0%)',
white: 'rgb(255, 255, 255)',
transparent: 'transparent',
inherit: 'inherit',
primary: '#0657F9',
gray: {
300: '#E1E1E1',
400: '#9D9D9D',
500: '#424242',
600: '#292929',
700: '#282828',
800: '#181818',
900: '#0C0C0C'
},
blue: {
500: '#0657F9'
},
fallback: '#808080'
},
fontFamily: {
aeonik: ['var(--font-aeonik)', 'Aeonik', ...defaultTheme.fontFamily.sans],
aeonikFono: ['var(--font-aeonik-fono)', 'Aeonik Fono', ...defaultTheme.fontFamily.sans],
mono: ['Aeonik 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))',
20: 'repeat(20, minmax(0, 1fr))',
30: 'repeat(30, minmax(0, 1fr))',
75: 'repeat(75, minmax(0, 1fr))'
},
gridColumn: {
'span-75': 'span 75 / span 75',
'span-50': 'span 50 / span 50',
'span-46': 'span 46 / span 46',
'span-29': 'span 29 / span 29',
'span-25': 'span 25 / span 25'
},
fontSize: {
xxs: ['10px', '16px'],
'2xl': ['24px', '32px'],
'3xl': ['32px', '40px'],
'7xl': ['64px', '72px'],
'8xl': ['88px', '104px']
},
animation: {
'spin-slow': 'spin 4s linear infinite'
},
keyframes: {
'spin-slow': {
from: {
transform: 'rotate(0deg)'
},
to: {
transform: 'rotate(360deg)'
}
}
}
}
},
plugins: [require('tailwind-gradient-mask-image')]
};