-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (80 loc) · 2.42 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
fontFamily: {
'sans': ['Roboto Mono', ...defaultTheme.fontFamily.sans],
},
fontSize: {
'small': '.875rem', //14px
'base': '1rem', //16px
'medium': '1.125rem', //18px
'2xl': '1.5rem', //24px
'3xl': '1.75rem', //28px
'4xl': '2rem', //32px
'5xl': '3rem', //48px
'6xl': '4rem', //64px
'7xl': '5rem', //80px
},
colors: {
'dark-green': '#0C3B2E',
'light-green': '#D5DED5',
'green': '#2A5442',
'sage': '#667C74',
'light-sage': '#99B0A7',
'mint': '#E2F0DA',
'grey': '#C4C4C4',
'lila': '#B1BFEC',
'beige': '#D4B8A3',
'yellow': '#FFBA00',
'white': '#ffffff',
},
extend: {
spacing: {
'-150px': '-150px',
},
width: {
'30': '30%',
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.white'),
fontSize: '24px',
h1: {
fontSize: '48px',
},
h2: {
fontSize: '32px',
},
h3: {
fontSize: '28px',
},
h4: {
fontSize: '24px'
},
h5: {
fontSize: '18px'
},
h6: {
fontSize: '14px'
},
strong: {
color: theme('colors.gray.800'),
},
a: {
color: theme('colors.green.500'),
'&:hover': {
color: theme('colors.green.600')
},
},
},
},
}),
}
},
plugins: [],
}