style(design-system): normalize font-weight literals (400/500/600/700) to tokens
Mechanical, value-preserving: font-weight: 400/500/600/700 -> var(--font-weight-normal/medium/semibold/bold, <same value>) across src/app. Note: cart.component.scss now sits ~771 bytes over its per-file budget in angular.json due to longer var() strings; non-fatal build warning, noted in docs/UI-DESIGN-REVIEW.md as a follow-up (either bump the component style budget slightly or accept the warning).
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
h4 {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-md, 0.9375rem);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
h4 {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-md, 0.9375rem);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
color: var(--text-primary, #1e3c38);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
.page-card-tile__title {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-lg, 1rem);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
color: var(--text-primary, #1e3c38);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
.page-editor__title {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-xl, 1.125rem);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
color: var(--text-primary, #1e3c38);
|
||||
flex: 1;
|
||||
min-width: 160px;
|
||||
@@ -39,7 +39,7 @@
|
||||
padding: 10px 14px;
|
||||
border-radius: 8px 8px 0 0;
|
||||
font-size: var(--font-size-base, 0.875rem);
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-weight-semibold, 600);
|
||||
color: var(--text-secondary, #5f6e6a);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
.media-block__label {
|
||||
font-size: var(--font-size-sm, 0.8125rem);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
color: var(--text-primary, #1e3c38);
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
color: var(--text-primary, #1e3c38);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.static-page-preview__title {
|
||||
margin: 0 0 1rem;
|
||||
font-size: var(--font-size-3xl, 1.5rem);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold, 700);
|
||||
color: var(--text-primary, #1e3c38);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user