-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
108 lines (107 loc) · 2.66 KB
/
tailwind.config.cjs
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
101
102
103
104
105
106
107
108
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#22292f',
white: colors.white,
gray: colors.gray
},
screens: {
sm: '576px',
md: '768px',
lg: '1024px',
xl: '1200px',
'2xl': '1536px'
},
extend: {
colors: {
lightgray: '#f7f7f7',
navy: '#052d49'
},
typography: {
DEFAULT: {
css: {
color: '#052d49',
fontWeight: '300',
lineHeight: '1.5rem',
h1: {
color: '#052d49',
fontSize: '2.25rem',
fontWeight: '700',
lineHeight: '2.5rem',
marginTop: '0',
marginBottom: '1rem'
},
h2: {
color: '#052d49',
fontSize: '1.875rem',
fontWeight: '700',
lineHeight: '2.25rem',
marginTop: '0',
marginBottom: '.75rem'
},
h3: {
color: '#052d49',
fontSize: '1.5rem',
fontWeight: '700',
lineHeight: '2rem',
marginTop: '0',
marginBottom: '.75rem'
},
h4: {
color: '#052d49',
fontSize: '1.25rem',
fontWeight: '700',
lineHeight: '1.75rem',
marginTop: '0',
marginBottom: '.75rem'
},
h5: {
color: '#052d49',
fontSize: '1.125rem',
fontWeight: '700',
lineHeight: '1.75rem',
marginTop: '0',
marginBottom: '.75rem'
},
h6: {
color: '#052d49',
fontSize: '1rem',
fontWeight: '700',
lineHeight: '1.5rem',
marginTop: '0',
marginBottom: '.75rem'
},
p: {
marginBottom: '1.25rem'
},
a: {
color: '#052d49',
'&:hover': {
textDecoration: 'none'
}
},
hr: {
borderColor: '#b8cdc9',
margin: '1.5rem 0'
},
li: {
margin: '0',
'&::marker': {
color: '#052d49',
fontWeight: '300'
}
}
},
}
}
},
},
plugins: [
require('@tailwindcss/typography')
],
}