style(config): 调整背景透明度从1改为0.8

使背景与前景内容对比更柔和,提升可读性
This commit is contained in:
2026-01-19 23:06:28 +08:00
parent e0614e1740
commit 61a4f4b3c4

View File

@@ -41,7 +41,7 @@ export const siteConfig: SiteConfig = {
size: "cover", // Background size: 'cover', 'contain', 'auto' size: "cover", // Background size: 'cover', 'contain', 'auto'
repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y' repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y'
attachment: "fixed", // Background attachment: 'fixed', 'scroll', 'local' attachment: "fixed", // Background attachment: 'fixed', 'scroll', 'local'
opacity: 1, // Background opacity (0-1) opacity: 0.8, // Background opacity (0-1)
}, },
toc: { toc: {
enable: true, // Display the table of contents on the right side of the post enable: true, // Display the table of contents on the right side of the post