public/tailwind.config.js

49 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-12-02 01:10:56 -05:00
/** @type {import('tailwindcss').Config} */
export default {
darkMode: "class",
theme: {
extend: {
typography: ({ theme }) => ({
2022-12-02 01:10:56 -05:00
DEFAULT: {
css: [
{
'--tw-prose-body': theme('colors.gray[900]'),
'--tw-prose-invert-body': theme('colors.gray[100]'),
2022-12-02 01:10:56 -05:00
hr: {
marginTop: "1.5em",
marginBottom: "1.5em",
},
2023-02-25 12:33:30 -05:00
a: {
textDecoration: "underline",
fontWeight: "inherit",
},
"h1 a": {
textDecoration: "inherit",
},
"h2 a": {
textDecoration: "inherit",
},
"h3 a": {
textDecoration: "inherit",
},
"h4 a": {
textDecoration: "inherit",
},
"h5 a": {
textDecoration: "inherit",
},
"h6 a": {
textDecoration: "inherit",
},
"h1, h2, h3, h4, h5, h6": {
fontFamily: "Bitter, sans-serif",
},
2022-12-02 01:10:56 -05:00
},
],
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};