-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
81 lines (81 loc) · 3.05 KB
/
tailwind.config.js
File metadata and controls
81 lines (81 loc) · 3.05 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
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
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
typography: () => ({
DEFAULT: {
css: {
pre: {
borderRadius: 'var(--mantine-radius-lg)',
padding: '0',
},
'pre code': {
display: ' block',
padding: 'var(--mantine-spacing-sm)',
overflowX: 'auto',
},
code: {
backgroundColor: 'var(--mantine-color-gray-light)',
borderRadius: 'var(--mantine-radius-sm)',
color: 'var(--tw-prose-code)',
fontWeight: '400',
padding: '2px calc(var(--mantine-spacing-xs) / 2)',
},
'code::before': {
content: '',
},
'code::after': {
content: '',
},
'thead th': {
padding: 'var(--mantine-spacing-sm)',
},
'tbody td, tfoot td': {
padding: 'var(--mantine-spacing-sm)',
},
},
},
mantine: {
css: {
'--tw-prose-body': 'var(--mantine-color-text)',
'--tw-prose-headings': 'var(--mantine-color-text)',
'--tw-prose-lead': 'var(--mantine-color-text)',
'--tw-prose-links': 'var(--mantine-color-anchor)',
'--tw-prose-bold': 'var(--mantine-color-text)',
'--tw-prose-counters': 'var(--mantine-color-text)',
'--tw-prose-bullets': 'var(--mantine-color-text)',
'--tw-prose-hr': 'var(--mantine-color-gray-3)',
'--tw-prose-quotes': 'var(--mantine-color-text)',
'--tw-prose-quote-borders': 'var(--mantine-color-gray-3)',
'--tw-prose-captions': 'var(--mantine-color-dimmed)',
'--tw-prose-kbd': 'var(--mantine-color-gray-7)',
'--tw-prose-kbd-shadows': '201 201 201',
'--tw-prose-code': 'var(--mantine-color-black)',
'--tw-prose-pre-code': 'var(--mantine-color-text)',
'--tw-prose-pre-bg': 'var(--mantine-color-gray-0)',
'--tw-prose-th-borders': 'var(--mantine-color-gray-3)',
'--tw-prose-td-borders': 'var(--mantine-color-gray-3)',
'--tw-prose-invert-body': 'var(--mantine-color-text)',
'--tw-prose-invert-headings': 'var(--mantine-color-text)',
'--tw-prose-invert-lead': 'var(--mantine-color-text)',
'--tw-prose-invert-links': 'var(--mantine-color-anchor)',
'--tw-prose-invert-bold': 'var(--mantine-color-text)',
'--tw-prose-invert-counters': 'var(--mantine-color-text)',
'--tw-prose-invert-bullets': 'var(--mantine-color-text)',
'--tw-prose-invert-hr': 'var(--mantine-color-dark-3)',
'--tw-prose-invert-quotes': 'var(--mantine-color-text)',
'--tw-prose-invert-quote-borders': 'var(--mantine-color-dark-3)',
'--tw-prose-invert-captions': 'var(--mantine-color-dimmed)',
'--tw-prose-invert-kbd': 'var(--mantine-color-dark-0)',
'--tw-prose-invert-kbd-shadows': '248 249 250',
'--tw-prose-invert-code': 'var(--mantine-color-white)',
'--tw-prose-invert-pre-code': 'var(--mantine-color-text)',
'--tw-prose-invert-pre-bg': 'var(--mantine-color-dark-8)',
'--tw-prose-invert-th-borders': 'var(--mantine-color-dark-4)',
'--tw-prose-invert-td-borders': 'var(--mantine-color-dark-4)',
},
},
}),
},
},
}