valaxy-theme-yun 0.22.13 → 0.22.14

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/README.md CHANGED
@@ -24,10 +24,10 @@ pnpm dev
24
24
  pnpm build
25
25
  ```
26
26
 
27
- ## [Sponsors](https://sponsors.yunyoujun.cn)
27
+ ## [Sponsors](https://www.yunyoujun.cn/sponsors/)
28
28
 
29
29
  <p align="center">
30
- <a href="https://sponsors.yunyoujun.cn">
30
+ <a href="https://www.yunyoujun.cn/sponsors/">
31
31
  <img src='https://fastly.jsdelivr.net/gh/YunYouJun/sponsors/public/sponsors.svg'/>
32
32
  </a>
33
33
  </p>
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  withDefaults(defineProps<{
3
- show: boolean
3
+ show?: boolean
4
4
  }>(), {
5
5
  show: false,
6
6
  })
@@ -70,7 +70,7 @@ onMounted(() => {
70
70
  font-family: var(--va-font-serif);
71
71
  font-weight: bold;
72
72
  padding: 0.5rem;
73
- border-top: var(--va-border-width) solid var(--va-c-text-light);
73
+ // border-top: var(--va-border-width) solid var(--va-c-text-light);
74
74
  border-bottom: var(--va-border-width) solid var(--va-c-text-light);
75
75
 
76
76
  .say-content {
@@ -96,8 +96,7 @@ random: true
96
96
 
97
97
  您可以新建样式文件并引入,以覆盖默认 CSS 变量。
98
98
 
99
- ```ts
100
- // styles/index.ts
99
+ ```ts [styles/index.ts]
101
100
  import './vars.scss'
102
101
  ```
103
102
 
package/layouts/home.vue CHANGED
@@ -26,27 +26,28 @@ const showNotice = computed(() => {
26
26
  >
27
27
  <template v-if="themeConfig.banner.enable">
28
28
  <template v-if="!isPage">
29
- <YunBanner />
30
- <Transition
31
- v-if="yun.isNimbo"
32
- enter-from-class="scale-60"
33
- enter-to-class="scale-100"
34
- enter-active-class="transition-300 transition-cubic-bezier-ease-in-out delay-1000"
35
- appear
36
- >
37
- <div class="absolute top-0 left-5 right-5 bottom-0 flex-center">
38
- <Transition
39
- enter-from-class="op-0"
40
- enter-to-class="op-100"
41
- enter-active-class="transition-800 delay-1000"
42
- appear
43
- >
44
- <YunPrologueSquare class="z-1" />
45
- </Transition>
46
- </div>
47
- </Transition>
48
-
49
- <YunSay v-if="themeConfig.say.enable" w="full" />
29
+ <div class="w-full">
30
+ <YunBanner />
31
+ <Transition
32
+ v-if="yun.isNimbo"
33
+ enter-from-class="scale-60"
34
+ enter-to-class="scale-100"
35
+ enter-active-class="transition-300 transition-cubic-bezier-ease-in-out delay-1000"
36
+ appear
37
+ >
38
+ <div class="absolute top-0 left-5 right-5 bottom-0 flex-center">
39
+ <Transition
40
+ enter-from-class="op-0"
41
+ enter-to-class="op-100"
42
+ enter-active-class="transition-800 delay-1000"
43
+ appear
44
+ >
45
+ <YunPrologueSquare class="z-1" />
46
+ </Transition>
47
+ </div>
48
+ </Transition>
49
+ <YunSay v-if="themeConfig.say.enable" w="full" />
50
+ </div>
50
51
  <YunPrologue v-if="yun.isNimbo" class="absolute left-0 top-0 right-0 bottom-0" />
51
52
  </template>
52
53
  </template>
package/node/config.ts CHANGED
@@ -26,7 +26,8 @@ export const defaultThemeConfig: ThemeConfig = {
26
26
  },
27
27
 
28
28
  say: {
29
- enable: false,
29
+ // enable: false,
30
+ enable: true,
30
31
  api: '',
31
32
  // api: 'https://el-bot-api.elpsy.cn/api/words/young',
32
33
  hitokoto: {
@@ -56,7 +57,7 @@ export const defaultThemeConfig: ThemeConfig = {
56
57
  name: 'i-ri-cloud-line',
57
58
  animated: true,
58
59
  color: 'var(--va-c-primary)',
59
- url: 'https://sponsors.yunyoujun.cn',
60
+ url: 'https://www.yunyoujun.cn/sponsors/',
60
61
  title: 'Sponsor YunYouJun',
61
62
  },
62
63
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
3
  "type": "module",
4
- "version": "0.22.13",
4
+ "version": "0.22.14",
5
5
  "author": {
6
6
  "email": "me@yunyoujun.cn",
7
7
  "name": "YunYouJun",
@@ -24,15 +24,15 @@
24
24
  "@ctrl/tinycolor": "^4.1.0",
25
25
  "@explosions/fireworks": "^0.1.0",
26
26
  "@iconify-json/ant-design": "^1.2.5",
27
- "@iconify-json/simple-icons": "^1.2.26",
27
+ "@iconify-json/simple-icons": "^1.2.27",
28
28
  "@vueuse/motion": "^2.2.6",
29
29
  "animejs": "^3.2.2",
30
30
  "gsap": "^3.12.7",
31
- "primevue": "^4.2.5"
31
+ "primevue": "^4.3.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/animejs": "^3.1.13",
35
- "valaxy": "0.22.13",
35
+ "valaxy": "0.22.14",
36
36
  "valaxy-addon-waline": "0.2.0"
37
37
  },
38
38
  "scripts": {