Skip to content

Commit

Permalink
feat: adapt savor theme
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Apr 22, 2024
1 parent a5e3c1f commit 7e31895
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/default/Footer.vue
Expand Up @@ -3,6 +3,7 @@ import { useSettingStore } from "~/stores/useSettingStore"
const { getSetting } = useSettingStore()
const setting = await getSetting()
await useThemeMode()
const VNode = () =>
h("div", {
Expand Down
2 changes: 0 additions & 2 deletions components/setting/Preference.vue
Expand Up @@ -82,8 +82,6 @@ const onSubmit = async () => {
<el-input v-model="formData.siteDescription" :rows="2" type="textarea" />
</el-form-item>

<el-divider border-style="dashed" />

<el-form-item :label="t('share.template.footer')">
<el-input
v-model="formData.footer"
Expand Down
1 change: 1 addition & 0 deletions components/static/Footer.vue
Expand Up @@ -6,6 +6,7 @@ import { useAuthModeFetch } from "~/composables/useAuthModeFetch"
const { fetchPublicText } = useAuthModeFetch()
const resText = await fetchPublicText(`static.app.config.json`)
const setting = JsonUtil.safeParse<typeof AppConfig>(resText, {} as typeof AppConfig)
await useStaticThemeMode()
const VNode = () =>
h("div", {
Expand Down

0 comments on commit 7e31895

Please sign in to comment.