-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
66 lines (65 loc) · 2.24 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
module.exports = {
mode: 'jit',
darkMode: 'class',
content: [
'./public/**/*.html',
'./src/**/*.{astro,js,jsx,svelte,ts,tsx,vue}',
],
plugins: [require('@tailwindcss/typography')],
//@swyx tailwind default extension https://play.tailwindcss.com/h7l9RbJTuu?file=config#
theme: {
extend: {
colors: {
primary: '#63945D',
secondary: '#a1be9d',
dark: '#111827',
textLight: '#374151',
textDark: '#d1d5db',
},
typography: {
DEFAULT: {
css: {
blockquote: {
borderLeft: '3px solid red',
fontSize: 'inherit',
fontStyle: 'inherit',
fontWeight: 'medium',
},
'blockquote p:first-of-type::before': {
content: '',
},
'blockquote p:last-of-type::after': {
content: '',
},
'code::before': false,
'code::after': false,
'a:hover': {
color: '#a1be9d',
textDecoration: 'underline',
},
a: {
color: '#63945D',
textDecoration: 'none',
},
'a code': {
color: 'unset',
},
'li, ul, ol': {
margin: 0,
},
'li > img': {
margin: 0,
display: 'inline',
},
'ol > li::marker': {
color: 'var(--tw-prose-body)',
},
'ul > li::marker': {
color: 'var(--tw-prose-body)',
},
},
},
},
},
},
};