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