chore: update theme config

This commit is contained in:
radishzzz 2025-03-15 20:47:38 +00:00
parent a94ff5b266
commit dc260f3f6c
6 changed files with 32 additions and 30 deletions

View file

@ -10,12 +10,12 @@ const { title, subtitle, i18nTitle } = themeConfig.site
const headerTitle = i18nTitle ? currentUI.title : title
const headerSubtitle = i18nTitle ? currentUI.subtitle : subtitle
const { titleSpace } = themeConfig.global
const { titleGap } = themeConfig.global
const marginBottom = {
1: 'mb-0.625',
2: 'mb-1.875',
3: 'mb-3.125',
}[titleSpace] || 'mb-3.125'
}[titleGap] || 'mb-3.125'
---
<header class="mb-10.625 lg:fixed">

View file

@ -10,12 +10,12 @@ const { title, subtitle, i18nTitle } = themeConfig.site
const headerTitle = i18nTitle ? currentUI.title : title
const headerSubtitle = i18nTitle ? currentUI.subtitle : subtitle
const { titleSpace } = themeConfig.global
const { titleGap } = themeConfig.global
const marginBottom = {
1: 'mb-1.625',
2: 'mb-2.875',
3: 'mb-4.125',
}[titleSpace] || 'mb-2.875'
}[titleGap] || 'mb-2.875'
---
<header class="mb-10.625 lg:hidden">