+ {#if state.data} diff --git a/frontend/src/lib/post/framework/ui/PostPreview.svelte b/frontend/src/lib/post/framework/ui/PostPreview.svelte index 5814bed..7a22e4b 100644 --- a/frontend/src/lib/post/framework/ui/PostPreview.svelte +++ b/frontend/src/lib/post/framework/ui/PostPreview.svelte @@ -34,7 +34,7 @@ - {postInfo.title} + {postInfo.title} {postInfo.description} {postInfo.formattedPublishedTime} diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js new file mode 100644 index 0000000..caa8dde --- /dev/null +++ b/frontend/tailwind.config.js @@ -0,0 +1,18 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + theme: { + extend: { + typography: () => ({ + gray: { + css: { + '--tw-prose-body': 'var(--color-gray-700)', + '--tw-prose-headings': 'var(--color-gray-800)', + '--tw-prose-links': 'var(--color-gray-800)', + '--tw-prose-bold': 'var(--color-gray-800)', + '--tw-prose-quotes': 'var(--color-gray-800)' + } + } + }) + } + } +};
{#if state.data} diff --git a/frontend/src/lib/post/framework/ui/PostPreview.svelte b/frontend/src/lib/post/framework/ui/PostPreview.svelte index 5814bed..7a22e4b 100644 --- a/frontend/src/lib/post/framework/ui/PostPreview.svelte +++ b/frontend/src/lib/post/framework/ui/PostPreview.svelte @@ -34,7 +34,7 @@ - {postInfo.title} + {postInfo.title} {postInfo.description} {postInfo.formattedPublishedTime} diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js new file mode 100644 index 0000000..caa8dde --- /dev/null +++ b/frontend/tailwind.config.js @@ -0,0 +1,18 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + theme: { + extend: { + typography: () => ({ + gray: { + css: { + '--tw-prose-body': 'var(--color-gray-700)', + '--tw-prose-headings': 'var(--color-gray-800)', + '--tw-prose-links': 'var(--color-gray-800)', + '--tw-prose-bold': 'var(--color-gray-800)', + '--tw-prose-quotes': 'var(--color-gray-800)' + } + } + }) + } + } +};