valaxy-theme-yun 0.15.3 → 0.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.vue +1 -1
- package/components/YunPostCard.vue +2 -2
- package/components/YunPostTags.vue +1 -1
- package/layouts/albums.vue +1 -1
- package/layouts/archives.vue +1 -1
- package/layouts/categories.vue +1 -1
- package/layouts/gallery.vue +1 -1
- package/layouts/post.vue +1 -1
- package/layouts/tags.vue +1 -1
- package/package.json +2 -2
- package/styles/common/markdown.scss +24 -0
- package/tsconfig.json +5 -5
package/App.vue
CHANGED
@@ -25,7 +25,7 @@ const { icon, styles } = usePostProperty(props.post.type)
|
|
25
25
|
class="cover object-cover object-center md:shadow"
|
26
26
|
>
|
27
27
|
|
28
|
-
<div class="flex flex-col items-center
|
28
|
+
<div class="flex flex-col items-center" :class="post.cover && 'h-54'" w="full">
|
29
29
|
<AppLink
|
30
30
|
class="post-title-link cursor-pointer"
|
31
31
|
:to="post.path || ''"
|
@@ -70,7 +70,7 @@ const { icon, styles } = usePostProperty(props.post.type)
|
|
70
70
|
</div>
|
71
71
|
|
72
72
|
<div
|
73
|
-
class="post-tags inline-flex" items="center"
|
73
|
+
class="post-tags inline-flex" items="center" gap="1"
|
74
74
|
flex="wrap 1" justify="end" m="1"
|
75
75
|
>
|
76
76
|
<template v-if="post.tags">
|
@@ -8,7 +8,7 @@ defineProps<{
|
|
8
8
|
|
9
9
|
<template>
|
10
10
|
<router-link
|
11
|
-
v-for="tag, i in tags" :key="i" :to="{ path: '/tags/', query: { tag } }"
|
11
|
+
v-for="tag, i in tags" :key="i" :to="{ path: '/tags/', query: { tag } }"
|
12
12
|
class="transition post-tag inline-flex-center text-xs border-$va-c-divider hover:(text-blue-500 border-blue-500)"
|
13
13
|
px-2 h="7"
|
14
14
|
rounded-full
|
package/layouts/albums.vue
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<script lang="ts" setup>
|
2
|
-
import { defineWebPage, useSchemaOrg } from '@
|
2
|
+
import { defineWebPage, useSchemaOrg } from '@unhead/schema-org'
|
3
3
|
import { useFrontmatter, usePostTitle } from 'valaxy'
|
4
4
|
import { computed } from 'vue'
|
5
5
|
import { useI18n } from 'vue-i18n'
|
package/layouts/archives.vue
CHANGED
package/layouts/categories.vue
CHANGED
@@ -3,7 +3,7 @@ import { computed } from 'vue'
|
|
3
3
|
import { useCategories, useFrontmatter, usePostTitle, useSiteStore } from 'valaxy'
|
4
4
|
import { useI18n } from 'vue-i18n'
|
5
5
|
import { useRoute } from 'vue-router'
|
6
|
-
import { defineWebPage, useSchemaOrg } from '@
|
6
|
+
import { defineWebPage, useSchemaOrg } from '@unhead/schema-org'
|
7
7
|
|
8
8
|
const { t } = useI18n()
|
9
9
|
|
package/layouts/gallery.vue
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<script lang="ts" setup>
|
2
|
-
import { defineWebPage, useSchemaOrg } from '@
|
2
|
+
import { defineWebPage, useSchemaOrg } from '@unhead/schema-org'
|
3
3
|
import { useFrontmatter, usePostTitle, useRuntimeConfig } from 'valaxy'
|
4
4
|
import { computed, defineAsyncComponent } from 'vue'
|
5
5
|
import { useI18n } from 'vue-i18n'
|
package/layouts/post.vue
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import { computed } from 'vue'
|
3
3
|
import { useFrontmatter, useFullUrl, useSiteConfig } from 'valaxy'
|
4
4
|
|
5
|
-
import { defineArticle, useSchemaOrg } from '@
|
5
|
+
import { defineArticle, useSchemaOrg } from '@unhead/schema-org'
|
6
6
|
|
7
7
|
const siteConfig = useSiteConfig()
|
8
8
|
const frontmatter = useFrontmatter()
|
package/layouts/tags.vue
CHANGED
@@ -3,7 +3,7 @@ import { useFrontmatter, useInvisibleElement, usePostTitle, useSiteStore } from
|
|
3
3
|
import { useI18n } from 'vue-i18n'
|
4
4
|
import { computed, ref } from 'vue'
|
5
5
|
import { useRoute, useRouter } from 'vue-router'
|
6
|
-
import { defineWebPage, useSchemaOrg } from '@
|
6
|
+
import { defineWebPage, useSchemaOrg } from '@unhead/schema-org'
|
7
7
|
import { useThemeConfig, useYunTags } from '../composables'
|
8
8
|
|
9
9
|
useSchemaOrg([
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.15.
|
3
|
+
"version": "0.15.5",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@types/animejs": "^3.1.8",
|
27
|
-
"valaxy": "0.15.
|
27
|
+
"valaxy": "0.15.5",
|
28
28
|
"valaxy-addon-waline": "0.1.1"
|
29
29
|
}
|
30
30
|
}
|
@@ -93,3 +93,27 @@
|
|
93
93
|
color 0.5s;
|
94
94
|
}
|
95
95
|
}
|
96
|
+
|
97
|
+
.markdown-body {
|
98
|
+
.table-container {
|
99
|
+
table {
|
100
|
+
thead {
|
101
|
+
th {
|
102
|
+
text-align: left;
|
103
|
+
border: 1px solid rgba(var(--va-c-primary-rgb), 0.3);
|
104
|
+
background-color: rgba(var(--va-c-primary-rgb), 0.1);
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
td {
|
109
|
+
border: 1px solid rgba(var(--va-c-primary-rgb), 0.3);
|
110
|
+
}
|
111
|
+
|
112
|
+
tr {
|
113
|
+
&:hover {
|
114
|
+
background-color: rgba(var(--va-c-primary-rgb), 0.05);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
package/tsconfig.json
CHANGED
@@ -3,24 +3,24 @@
|
|
3
3
|
// error: This is likely not portable. A type annotation is necessary.
|
4
4
|
"compilerOptions": {
|
5
5
|
"target": "ESNext",
|
6
|
-
"lib": ["DOM", "ESNext"],
|
7
6
|
"jsx": "preserve",
|
7
|
+
"lib": ["DOM", "ESNext"],
|
8
|
+
"baseUrl": ".",
|
8
9
|
"module": "ESNext",
|
9
10
|
"moduleResolution": "node",
|
10
|
-
"
|
11
|
+
"resolveJsonModule": true,
|
11
12
|
"types": [
|
12
13
|
"vite/client",
|
13
14
|
"vue/ref-macros",
|
14
15
|
"vite-plugin-pages/client",
|
15
16
|
"vite-plugin-vue-layouts/client"
|
16
17
|
],
|
17
|
-
"resolveJsonModule": true,
|
18
18
|
"allowJs": true,
|
19
|
-
"esModuleInterop": true,
|
20
|
-
"forceConsistentCasingInFileNames": true,
|
21
19
|
"strict": true,
|
22
20
|
"strictNullChecks": true,
|
23
21
|
"noUnusedLocals": true,
|
22
|
+
"esModuleInterop": true,
|
23
|
+
"forceConsistentCasingInFileNames": true,
|
24
24
|
"skipLibCheck": true
|
25
25
|
},
|
26
26
|
"exclude": ["**/dist/**", "node_modules"]
|