Add @tailwindcss/typography plugin and update MessageBubble component for improved Markdown rendering

This commit is contained in:
ecwu
2025-02-07 21:32:14 +00:00
parent a5f7447f4f
commit d18040dca1
4 changed files with 74 additions and 67 deletions

View File

@@ -4,6 +4,13 @@ module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
},
},
}),
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
@@ -85,5 +92,5 @@ module.exports = {
}
}
},
plugins: [require("tailwindcss-animate")],
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
};