chore: update @sugarat/theme to version 0.5.17 and add pnpm as a dependency

This commit is contained in:
2026-04-04 23:04:27 +08:00
parent 473a5b4935
commit 9dd80fb073
19 changed files with 3726 additions and 3216 deletions

View File

@@ -62,4 +62,48 @@
@media (max-width: 768px) {
font-size: 2.2rem !important;
}
}
}
/* 美化文章底部的 TIP 提示块和标题图标 */
.vp-doc .custom-block.tip {
border: 1px solid rgba(25, 118, 210, 0.16);
background:
linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(255, 255, 255, 0.92));
border-radius: 16px;
box-shadow: 0 10px 24px rgba(25, 118, 210, 0.08);
}
.dark .vp-doc .custom-block.tip {
background:
linear-gradient(135deg, rgba(77, 171, 247, 0.12), rgba(17, 24, 39, 0.9));
border-color: rgba(77, 171, 247, 0.22);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.vp-doc .custom-block.tip .custom-block-title {
display: flex;
align-items: center;
gap: 10px;
color: #1565c0;
font-weight: 700;
letter-spacing: 0.02em;
}
.dark .vp-doc .custom-block.tip .custom-block-title {
color: #74c0fc;
}
.vp-doc .custom-block.tip .custom-block-title::before {
content: "i";
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 999px;
background: linear-gradient(135deg, #1e88e5, #42a5f5);
color: #fff;
font-size: 13px;
font-weight: 700;
box-shadow: 0 6px 14px rgba(30, 136, 229, 0.28);
}