Unify the muted text palette

This commit is contained in:
2026-11-15 21:08:04 +08:00
parent 6e758e2875
commit ed4e119349
+58
View File
@@ -453,3 +453,61 @@ html.dark #post-list .post-card:hover {
padding: 0.5rem 0.75rem !important;
}
}
/* ===== 次要文字统一配色 =====
muted-1:面包屑、日期、目录字数、列表日期、页脚链接
muted-2:引文、列表摘要
muted-3:边注正文(序号更淡一档)
*/
:root {
--muted-1: #6b7280;
--muted-2: #7b828c;
--muted-3: #b6bcc4;
}
html.dark {
--muted-1: #9aa1ab;
--muted-2: #7f858e;
--muted-3: #6c727a;
}
.post-meta,
.page-crumb,
main#content > div:first-child,
.hextra-toc p {
color: var(--muted-1);
}
.post-card p:first-of-type {
opacity: 1;
color: var(--muted-1);
}
.post-card p + p {
opacity: 1;
color: var(--muted-2);
}
.content blockquote {
color: var(--muted-2);
}
html.dark .content blockquote {
color: var(--muted-2);
}
.post-note,
html.dark .post-note {
color: var(--muted-3);
}
.post-note-num,
html.dark .post-note-num {
color: var(--muted-3);
opacity: 0.7;
}
.hextra-footer a,
#backToTop {
color: var(--muted-1);
}