mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 12:01:33 +02:00
chore: update theme config
This commit is contained in:
parent
a94ff5b266
commit
dc260f3f6c
6 changed files with 32 additions and 30 deletions
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue