Skip to content

Commit bd47ff8

Browse files
committed
feat: adjust style details
1 parent d5952da commit bd47ff8

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1 align="center">valaxy-theme-sakura</h1>
22
<pre align="center">
3-
A simple, personalized, and cute anime-style blog theme 💖
3+
A simple, personalized, and cute anime-style blog theme ~(∠・ω< )⌒★
44
</pre>
55

66
<p align="center">

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1 align="center">valaxy-theme-sakura</h1>
22
<pre align="center">
3-
一个简单、个性化、可爱的动漫风格博客主题 💖
3+
一个简单、个性化、可爱的动漫风格博客主题 Ciallo~(∠・ω< )⌒★
44
</pre>
55

66
<p align="center">

docs/pages/examples/gallery.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ themes:
1212
siteImage: https://valaxy-theme-sakura.s3.bitiful.net/demo.png
1313
siteExampleUrl: https://sakura.wrxinyue.org/
1414
tags:
15-
- yun
16-
- light
15+
- sakura
1716
- name: Valaxy sakura theme docs
1817
desc: 没错本文档也是Sakura主题
1918
siteImage: https://common.s3.bitiful.net/snapshot/2024-04-11_22-56_1.png
2019
siteExampleUrl: https://sakura.valaxy.site/
21-
tags:
22-
- starter
23-
- template
20+
- name: default
21+
desc: 默认安装样式
22+
siteImage: https://common.s3.bitiful.net/snapshot/2024-09-30.png
23+
siteExampleUrl: https://sakura.default.wrxinyue.org/
2424
---
2525

2626
## Sakura 主题橱窗

theme/components/SakuraSideBarToggleButton.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { onMounted, watch } from 'vue'
33
import { useStorage } from '@vueuse/core'
44
import { useSakuraAppStore } from '../stores'
55
6-
const { persistence, initialState } = withDefaults(defineProps<{
6+
const props = withDefaults(defineProps<{
77
persistence?: boolean
88
initialState?: boolean
99
}>(), {
@@ -13,10 +13,10 @@ const { persistence, initialState } = withDefaults(defineProps<{
1313
1414
const sakuraAppStore = useSakuraAppStore()
1515
16-
const sidebarOpen = useStorage('sidebarOpen', initialState)
16+
const sidebarOpen = useStorage('sidebarOpen', props.initialState)
1717
1818
onMounted(() => {
19-
if (persistence)
19+
if (props.persistence)
2020
sakuraAppStore.sidebar.isOpen = sidebarOpen.value
2121
2222
sidebarOpen.value = sakuraAppStore.sidebar.isOpen

theme/components/themes/ArticleThemeGrid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const { link, src, date } = defineProps({
3737
bg-base relative block of-hidden transition-all duration-500 :to="link" :target="target" rel="noopener"
3838
>
3939
<video v-if="src && isVideoUrl(src)" :src="src" autoplay loop muted playsinline w-full border="b base" />
40-
<SakuraImageCard v-else :style="{ height }" :src="src" :to="link" />
40+
<SakuraImageCard v-else :style="{ height }" :src="src" :to="link" @click.prevent />
4141

4242
<div class="prose-sm m0 h-150px max-w-none bg-$st-c-bg p4 pb3 prose">
4343
<slot>

theme/components/themes/ArticleThemeMasonry.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const { link, src, date } = defineProps({
3333
bg-base relative block of-hidden transition-all duration-500 :to="link" :target="target"
3434
>
3535
<video v-if="src && isVideoUrl(src)" :src="src" autoplay loop muted playsinline w-full border="b base" />
36-
<SakuraImageCard v-else :src="src" :to="link" />
36+
<SakuraImageCard v-else :src="src" :to="link" @click.prevent />
3737

3838
<div class="prose-sm m0 max-w-none bg-$st-c-bg p4 pb3 prose">
3939
<slot>

theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "valaxy-theme-sakura",
3-
"version": "0.6.8-alpha.3",
3+
"version": "0.6.8",
44
"packageManager": "pnpm@9.5.0",
55
"author": {
66
"email": "3322543587@qq.com",

0 commit comments

Comments
 (0)