feat: entry content styles
This commit is contained in:
@@ -36,7 +36,7 @@ export function EntryContent({ entry }: { entry: ActivedEntry }) {
|
||||
{entry?.publishedAt && new Date(entry?.publishedAt).toUTCString()}
|
||||
</div>
|
||||
</a>
|
||||
<div className="max-w-[550px] mx-auto mt-10 prose text-[15px] prose-zinc select-text">
|
||||
<div className="max-w-[550px] mx-auto mt-10 mb-32 prose text-[15px] prose-zinc select-text cursor-auto">
|
||||
{content}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -68,6 +68,14 @@ module.exports = {
|
||||
"accordion-down": "accordion-down 0.2s ease-out",
|
||||
"accordion-up": "accordion-up 0.2s ease-out",
|
||||
},
|
||||
typography: (theme) => ({
|
||||
zinc: {
|
||||
css: {
|
||||
"--tw-prose-body": theme("colors.zinc.500"),
|
||||
"--tw-prose-quotes": theme("colors.zinc.500"),
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user