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:
sdarbinyan
2026-07-20 03:28:56 +04:00
parent be59db2e2d
commit 5c54541b4c
74 changed files with 286 additions and 286 deletions

View File

@@ -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 {

View File

@@ -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);
}
}

View File

@@ -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;

View File

@@ -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);
}
}

View File

@@ -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);
}