Skip to content

Commit 3f6fe55

Browse files
committed
refactor: adjust typography settings for various page components in vite.config.ts
1 parent 73fcdc5 commit 3f6fe55

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

vite.config.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,26 @@ export default defineConfig(({ mode }) => {
7676
pageHeader: {
7777
slots: {
7878
root: 'border-0 py-2',
79-
title: 'font-serif text-xl font-bold sm:text-2xl',
79+
title: 'font-serif text-lg font-bold sm:text-xl',
80+
description: 'text-sm sm:text-base',
8081
},
8182
},
8283
pageFeature: {
8384
slots: {
84-
title: 'font-serif text-base font-semibold sm:text-lg',
85+
title: 'font-serif text-sm font-semibold sm:text-base',
86+
description: 'text-sm sm:text-base',
8587
},
8688
},
8789
pageCard: {
8890
slots: {
89-
title: 'font-serif text-base font-semibold',
91+
title: 'font-serif text-sm font-semibold sm:text-base',
92+
description: 'text-sm sm:text-base',
9093
},
9194
},
9295
blogPost: {
9396
slots: {
94-
title: 'font-serif text-base font-semibold sm:text-lg',
97+
title: 'font-serif text-sm font-semibold sm:text-base',
98+
description: 'text-sm sm:text-base',
9599
},
96100
},
97101
},

0 commit comments

Comments
 (0)