valaxy-theme-yun 0.15.4 → 0.15.6
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/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
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.6",
|
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.6",
|
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"]
|