chore: enhance dark mode on articles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user