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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user