chore: enhance dark mode on articles

This commit is contained in:
Marios Antonoudiou
2023-12-20 20:06:00 +02:00
parent 19c3158f56
commit 71c9111905
4 changed files with 8 additions and 5 deletions

View File

@@ -10,7 +10,10 @@ const { path } = useRoute();
<template>
<ContentDoc :path="path" v-slot="{ doc }">
<UContainer class="flex flex-col gap-3 prose" as="article">
<UContainer
class="flex flex-col gap-3 prose dark:prose-invert"
as="article"
>
<div class="text-sm text-slate-500">
Published at {{ formatDate(new Date(doc.date), "Do of MMMM YYYY") }}
</div>

View File

@@ -5,7 +5,7 @@ definePageMeta({
</script>
<template>
<UContainer class="flex flex-col gap-3 prose">
<UContainer class="flex flex-col gap-3 prose dark:prose-invert">
<h1>Articles</h1>
</UContainer>