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
@@ -40,7 +40,7 @@
/* 尺寸变体 */
.btn-sm { --btn-h: 28px; --btn-px: 8px; font-size: var(--text-xs); }
.btn-lg { --btn-h: 44px; --btn-px: 18px; font-size: var(--text-base); }
.btn-lg { --btn-h: 44px; --btn-px: 18px; font-size: var(--text-md); }
/* === Default (gray background, like legacy .but default) === */
.btn {