@@ -8,7 +8,7 @@ const { data: page } = await useAsyncData(route.path, () => {
8
8
9
9
<template >
10
10
<div
11
- class =" container mx-auto mb-10 max-w-[1024px] space-y-6 text-gray-700 shadow-lg dark: text-white"
11
+ class =" container mx-auto mb-10 max-w-[1024px] space-y-6 shadow-lg text-white"
12
12
v-if =" page"
13
13
>
14
14
<!-- title -->
@@ -26,12 +26,12 @@ const { data: page } = await useAsyncData(route.path, () => {
26
26
<!-- Meta -->
27
27
<div class =" flex space-x-2" >
28
28
<div >
29
- <div class =" mb-2 text-xs uppercase text-gray-600 dark:text-gray- 400" >
29
+ <div class =" mb-2 text-xs uppercase text-gray-400" >
30
30
Category
31
31
</div >
32
32
<div class =" flex flex-row space-x-2" >
33
33
<NuxtLink
34
- class =" mr-2 w-min rounded-md bg-background text-sm font-bold hover:cursor-pointer hover:text-orange-500 dark: bg-background-dark "
34
+ class =" mr-2 w-min rounded-md text-sm font-bold hover:cursor-pointer hover:text-orange-500 bg-background"
35
35
v-for =" (category, ix) in page.categories"
36
36
:key =" ix"
37
37
:to =" `/articles?category=${category}`"
@@ -41,15 +41,15 @@ const { data: page } = await useAsyncData(route.path, () => {
41
41
</div >
42
42
</div >
43
43
44
- <div class =" border-r border-gray-400 dark:border-gray-400 " ></div >
44
+ <div class =" border-r border-gray-400" ></div >
45
45
46
46
<div >
47
- <div class =" mb-2 text-xs uppercase text-gray-600 dark:text-gray- 400" >
47
+ <div class =" mb-2 text-xs uppercase text-gray-400" >
48
48
Tags
49
49
</div >
50
50
<div class =" flex flex-row md:space-x-2" >
51
51
<NuxtLink
52
- class =" mr-2 w-min rounded-md bg-background text-sm font-bold hover:cursor-pointer hover:text-orange-500 dark: bg-background-dark "
52
+ class =" mr-2 w-min rounded-md text-sm font-bold hover:cursor-pointer hover:text-orange-500 bg-background"
53
53
v-for =" (tag, ix) in page.tags"
54
54
:key =" ix"
55
55
:to =" `/articles?tag=${tag}`"
@@ -65,7 +65,7 @@ const { data: page } = await useAsyncData(route.path, () => {
65
65
- Use prose-pre:bg-white to work with @nuxt/content syntax highlighting, otherwise background-color defaults to `.prose:where(pre)`
66
66
-->
67
67
<article
68
- class =" prose max-w-[1024px] text-gray-700 prose-h2:mt-8 prose-p:text-justify prose-a:font-bold prose-a:text-orange-400 prose-a:no-underline hover:prose-a:text-orange-500 prose-blockquote:text-gray-400 prose-code:text-white prose-pre:bg-black dark: text-gray-300"
68
+ class =" prose max-w-[1024px] prose-h2:mt-8 prose-p:text-justify prose-a:font-bold prose-a:text-orange-400 prose-a:no-underline hover:prose-a:text-orange-500 prose-blockquote:text-gray-400 prose-code:text-white prose-pre:bg-black text-gray-300"
69
69
>
70
70
<ContentRenderer v-if =" page" :value =" page" />
71
71
</article >
0 commit comments