From fe8a129550b96b5a9b459a31192d5e66dedea5ea Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 1 May 2024 11:50:36 +0800 Subject: [PATCH] feat: entry content styles --- src/renderer/src/components/entry-content.tsx | 2 +- tailwind.config.cjs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/components/entry-content.tsx b/src/renderer/src/components/entry-content.tsx index 232d43fe3..b911179c1 100644 --- a/src/renderer/src/components/entry-content.tsx +++ b/src/renderer/src/components/entry-content.tsx @@ -36,7 +36,7 @@ export function EntryContent({ entry }: { entry: ActivedEntry }) { {entry?.publishedAt && new Date(entry?.publishedAt).toUTCString()} -
+
{content}
diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 356396bba..9bc8a4900 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -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: [