valaxy-theme-yun 0.17.1 → 0.17.3
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/components/YunSidebar.vue +2 -9
- package/package.json +4 -4
- package/styles/index.scss +1 -0
- package/unocss.config.ts +2 -11
@@ -1,6 +1,6 @@
|
|
1
1
|
<script lang="ts" setup>
|
2
|
-
import { ref
|
3
|
-
import { useAppStore
|
2
|
+
import { ref } from 'vue'
|
3
|
+
import { useAppStore } from 'valaxy'
|
4
4
|
|
5
5
|
defineProps<{
|
6
6
|
showHamburger?: boolean
|
@@ -8,13 +8,6 @@ defineProps<{
|
|
8
8
|
|
9
9
|
const app = useAppStore()
|
10
10
|
const showOverview = ref(false)
|
11
|
-
|
12
|
-
const isHome = useLayout('home')
|
13
|
-
watch(isHome, () => {
|
14
|
-
app.isSidebarOpen = !isHome.value
|
15
|
-
}, {
|
16
|
-
immediate: true,
|
17
|
-
})
|
18
11
|
</script>
|
19
12
|
|
20
13
|
<template>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.17.
|
3
|
+
"version": "0.17.3",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -19,13 +19,13 @@
|
|
19
19
|
"module": "index.ts",
|
20
20
|
"dependencies": {
|
21
21
|
"@explosions/fireworks": "^0.0.2",
|
22
|
-
"@iconify-json/ant-design": "^1.1.
|
23
|
-
"@iconify-json/simple-icons": "^1.1.
|
22
|
+
"@iconify-json/ant-design": "^1.1.14",
|
23
|
+
"@iconify-json/simple-icons": "^1.1.89",
|
24
24
|
"animejs": "^3.2.2"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
27
|
"@types/animejs": "^3.1.12",
|
28
|
-
"valaxy": "0.17.
|
28
|
+
"valaxy": "0.17.3",
|
29
29
|
"valaxy-addon-waline": "0.1.1"
|
30
30
|
}
|
31
31
|
}
|
package/styles/index.scss
CHANGED
@@ -10,5 +10,6 @@ $c-primary: #0078e7 !default;
|
|
10
10
|
// override the default style of star-markdown-css
|
11
11
|
@use "./common/button.scss" as *;
|
12
12
|
@use "./common/markdown.scss" as *;
|
13
|
+
@use 'valaxy/client/styles/components/code.scss' as *;
|
13
14
|
@use 'valaxy/client/styles/components/code-group.scss' as *;
|
14
15
|
@use 'valaxy/client/styles/components/custom-block.scss' as *;
|
package/unocss.config.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineConfig
|
1
|
+
import { defineConfig } from 'unocss'
|
2
2
|
|
3
3
|
export default defineConfig({
|
4
4
|
shortcuts: [
|
@@ -20,14 +20,5 @@ export default defineConfig({
|
|
20
20
|
],
|
21
21
|
],
|
22
22
|
// web fonts is so big, let the user decide
|
23
|
-
presets: [
|
24
|
-
presetWebFonts({
|
25
|
-
fonts: {
|
26
|
-
sans: 'DM Sans',
|
27
|
-
serif: 'DM Serif Display',
|
28
|
-
mono: 'DM Mono',
|
29
|
-
},
|
30
|
-
provider: 'fontshare',
|
31
|
-
}),
|
32
|
-
],
|
23
|
+
presets: [],
|
33
24
|
})
|