forked from yearn/yearn-comms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
executable file
·79 lines (77 loc) · 1.62 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
corePlugins: {
ringColor: false,
},
darkMode: 'class',
content: [
'./pages/**/*.js',
'./components/**/*.js'
],
theme: {
colors: {
'dark-blue-1': '#001746',
'dark-blue-2': '#183672',
'dark-blue-3': '#012A7C',
'gray-blue-1': '#475570',
'gray-blue-2': '#7F8DA9',
'gray-blue-3': '#CED5E3',
'yearn-blue': '#0657F9',
'yearn-blue-light-1': '#C6D7F9',
'yearn-blue-light-2': '#E0EAFF',
'yearn-blue-dark': '#004ADF',
'white': '#FFFFFF',
'white-blue-1': '#F4F7FB',
'white-blue-2': '#F9FBFD',
'black': '#000000',
'black-1': '#141414',
'gray-1': '#191919',
'gray-2': '#272727',
'gray-3': '#A8A8A8',
},
extend: {
fontFamily: {
title: ['Roboto Slab', 'Roboto', 'serif'],
roboto: ['Roboto', ...defaultTheme.fontFamily.sans]
},
boxShadow: {
'sm': '0px 0px 8px rgba(0, 23, 70, 0.16)',
},
gridColumn: {
'span-13': 'span 13 / span 13',
'span-14': 'span 14 / span 14',
'span-15': 'span 15 / span 15',
},
gridTemplateColumns: {
'15': 'repeat(15, minmax(0, 1fr))',
},
width: {
30: '7.5rem',
33: '8.25rem',
38: '9.5rem',
42: '10.5rem',
50: '12.5rem',
55: '13.75rem',
},
height: {
30: '7.5rem',
},
maxWidth: {
'xl': '552px',
'4xl': '904px',
'6xl': '1200px',
},
fontSize: {
'sm': ['12px', '16px'],
'base': ['16px', '24px'],
'lg': ['20px', '32px'],
'xl': ['24px', '32px'],
'4xl': ['40px', '56px'],
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')
],
};