feat(theme): adopt reference base font size (14px)

Set --text-base to 0.875rem to match the reference bootstrap body
metrics; em-based reference components (.img-badge, em utilities) now
render at reference scale site-wide. Compensate .btn-lg with
--text-md (18px, bootstrap btn-lg) to keep the size hierarchy. Simplify
the user-card badge rule to the line-height pin only.
This commit is contained in:
2026-09-19 14:13:05 +08:00
parent c4662acdf0
commit c289016324
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
/* ===== Type scale ===== */
--text-xs: 0.75rem; /* 12 */
--text-sm: 0.875rem; /* 14 */
--text-base: 1rem; /* 16 */
--text-base: 0.875rem; /* 14 — 对齐参考主题 bootstrap 基础字号 */
--text-md: 1.125rem; /* 18 */
--text-lg: 1.25rem; /* 20 */
--text-xl: 1.5rem; /* 24 */