mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
fix: title font style
This commit is contained in:
parent
ef79df118f
commit
8eb0876c01
4 changed files with 41 additions and 34 deletions
|
@ -16,32 +16,11 @@ const { light, dark }: {
|
|||
dark: ThemeConfig['color']['dark']
|
||||
} = themeConfig.color
|
||||
|
||||
const cssExtend = {
|
||||
h1: {
|
||||
'font-size': '3.6rem',
|
||||
},
|
||||
h2: {
|
||||
'font-size': '3rem',
|
||||
},
|
||||
h3: {
|
||||
'font-size': '2.4rem',
|
||||
},
|
||||
h4: {
|
||||
'font-size': '2rem',
|
||||
},
|
||||
h5: {
|
||||
'font-size': '1.8rem',
|
||||
},
|
||||
h6: {
|
||||
'font-size': '1.6rem',
|
||||
},
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetAttributify(),
|
||||
presetTypography({ cssExtend }),
|
||||
presetTypography(),
|
||||
presetTheme<Theme>({
|
||||
theme: {
|
||||
dark: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue