update: underline style

This commit is contained in:
radishzzz 2025-03-08 17:12:43 +00:00
parent 7abec02cc3
commit 6674cb7072
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ export const themeConfig: ThemeConfig = {
// Not fill in the default locale code again // Not fill in the default locale code again
moreLocale: ['zh-tw', 'ja', 'en', 'es', 'ru'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru'] moreLocale: ['zh-tw', 'ja', 'en', 'es', 'ru'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru']
// Font styles for post content // Font styles for post content
fontStyle: 'sans', // sans, serif fontStyle: 'serif', // sans, serif
// Space between title and subtitle // Space between title and subtitle
titleSpace: 3, // 1, 2, 3 titleSpace: 3, // 1, 2, 3
}, },

View file

@ -33,7 +33,7 @@ export default defineConfig({
}, },
}, },
shortcuts: { shortcuts: {
'uno-custom-underline': 'underline mx-0.3em decoration-secondary/35 font-medium underline-0.075em underline-offset-0.2em hover:(c-primary decoration-primary/50 transition underline-0.1em)', 'uno-custom-underline': 'underline mx-0.3em decoration-secondary/35 font-medium underline-0.075em underline-offset-0.2em hover:(c-primary decoration-primary/70 transition)',
}, },
rules: [ rules: [
['scrollbar-hidden', { ['scrollbar-hidden', {