-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
54 lines (51 loc) · 1.61 KB
/
tailwind.config.ts
File metadata and controls
54 lines (51 loc) · 1.61 KB
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./content/**/*.{js,ts,jsx,tsx,mdx}"
],
theme: {
extend: {
fontFamily: {
sans: ['Space Grotesk', 'sans-serif'],
},
colors: {
'primary-cream': '#FFFDE7',
'primary-navy-dark': '#001A4D',
'primary-green-light': '#D8FFE7',
'primary-green-dark': '#003E19',
'primary-blue-light': '#D8FFFD',
'primary-blue-dark': '#003D39',
'red-secondary': '#FF0000',
'orange-secondary': '#FF0000',
},
// @ts-ignore
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.primary-navy-dark'),
a: {
color: theme('colors.primary-navy-dark'),
},
h1: { color: theme('colors.primary-navy-dark') },
h2: { color: theme('colors.primary-navy-dark') },
h3: { color: theme('colors.primary-navy-dark') },
h4: { color: theme('colors.primary-navy-dark') },
strong: { color: theme('colors.primary-navy-dark') },
blockquote: {
color: theme('colors.primary-green-dark'),
borderLeftColor: theme('colors.primary-green-light'),
},
code: {
color: theme('colors.primary-navy-dark')
}
},
},
}),
},
},
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
};
export default config;