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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user