-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
37 lines (37 loc) · 1.38 KB
/
tailwind.config.js
File metadata and controls
37 lines (37 loc) · 1.38 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
'sans': ['Atkinson Hyperlegible', 'system-ui', '-apple-system', 'sans-serif'],
},
typography: (theme) => ({
invert: {
css: {
'--tw-prose-body': theme('colors.gray.200'),
'--tw-prose-headings': theme('colors.white'),
'--tw-prose-lead': theme('colors.gray.300'),
'--tw-prose-links': theme('colors.blue.400'),
'--tw-prose-bold': theme('colors.white'),
'--tw-prose-counters': theme('colors.gray.400'),
'--tw-prose-bullets': theme('colors.gray.500'),
'--tw-prose-hr': theme('colors.gray.700'),
'--tw-prose-quotes': theme('colors.gray.300'),
'--tw-prose-quote-borders': theme('colors.blue.400'),
'--tw-prose-captions': theme('colors.gray.400'),
'--tw-prose-code': theme('colors.blue.300'),
'--tw-prose-pre-code': theme('colors.gray.100'),
'--tw-prose-pre-bg': theme('colors.gray.800'),
'--tw-prose-th-borders': theme('colors.gray.600'),
'--tw-prose-td-borders': theme('colors.gray.700'),
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}