-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
75 lines (75 loc) · 1.87 KB
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f2f8f3',
100: '#e6f1e8',
200: '#cde3d2',
300: '#a7cbb0',
400: '#7baf89',
500: '#559469',
600: '#437a54',
700: '#366144',
800: '#2c4d37',
900: '#23402d',
950: '#0d1911',
}
},
typography: {
DEFAULT: {
css: {
maxWidth: '65ch',
color: 'rgb(31, 41, 55)',
lineHeight: '1.75',
'h1, h2, h3, h4': {
color: 'rgb(17, 24, 39)',
fontWeight: '700',
},
a: {
color: 'rgb(37, 99, 235)',
'&:hover': {
color: 'rgb(29, 78, 216)',
},
},
code: {
color: 'rgb(31, 41, 55)',
backgroundColor: 'rgb(243, 244, 246)',
padding: '0.2em 0.4em',
borderRadius: '0.25rem',
fontWeight: '400',
},
},
},
dark: {
css: {
color: 'rgb(229, 231, 235)',
'h1, h2, h3, h4': {
color: 'rgb(243, 244, 246)',
},
a: {
color: 'rgb(96, 165, 250)',
'&:hover': {
color: 'rgb(147, 197, 253)',
},
},
code: {
color: 'rgb(243, 244, 246)',
backgroundColor: 'rgb(31, 41, 55)',
},
blockquote: {
color: 'rgb(229, 231, 235)',
borderLeftColor: 'rgb(75, 85, 99)',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}