Final font-weight: 500 sweep: 9 more SCSS files use fonts.$font-medium (brand palette parity)

This commit is contained in:
2026-04-20 17:21:22 +03:00
parent 43a7380059
commit 4a653849f4
9 changed files with 20 additions and 13 deletions
@@ -1,5 +1,6 @@
@use "../../../../styles/colors" as colors;
@use "../../../../styles/variables" as vars;
@use "../../../../styles/fonts" as fonts;
.board-details-header {
// Mirrors Angular's board-details-header host styling:
@@ -68,12 +69,12 @@
&__flight-number {
display: flex;
flex-direction: column;
font-weight: 500;
font-weight: fonts.$font-medium;
font-size: 18px;
}
&__primary {
font-size: 18px;
font-weight: 500;
font-weight: fonts.$font-medium;
color: colors.$text-color;
}
&__codesharing {
@@ -1,5 +1,6 @@
@use "../../../../styles/colors" as colors;
@use "../../../../styles/variables" as vars;
@use "../../../../styles/fonts" as fonts;
// Matches Angular's date-tabs row. Single flat row, 48px tall, 7 tabs per
// page flanked by 50px carousel arrows. Active tab has white bg + dark
@@ -59,7 +60,7 @@
background: colors.$blue-extra-light;
color: colors.$blue;
font-size: 12px;
font-weight: 500;
font-weight: fonts.$font-medium;
border: 0;
border-right: 1px solid colors.$border;
border-bottom: 1px solid colors.$border;
@@ -1,6 +1,7 @@
@use "../../../../styles/colors" as colors;
@use "../../../../styles/screen" as screen;
@use "../../../../styles/variables" as vars;
@use "../../../../styles/fonts" as fonts;
.mini-list {
display: flex;
@@ -91,7 +92,7 @@
// (dark navy) to match Angular's big time-group.
&__time {
font-size: 20px;
font-weight: 500;
font-weight: fonts.$font-medium;
color: colors.$blue-dark;
line-height: 1;
}
@@ -60,7 +60,7 @@
border-radius: vars.$border-radius;
cursor: pointer;
font-size: 14px;
font-weight: 500;
font-weight: fonts.$font-medium;
transition: background-color 150ms ease;
&:hover {
@@ -143,7 +143,7 @@
padding: 2px vars.$space-s2;
border-radius: vars.$border-radius;
font-size: 12px;
font-weight: 500;
font-weight: fonts.$font-medium;
&--live {
background-color: colors.$green;
@@ -1,5 +1,6 @@
@use "../../../../styles/colors" as colors;
@use "../../../../styles/variables" as vars;
@use "../../../../styles/fonts" as fonts;
// Mirrors Angular's `transfer.component` host:
// background: $blue-extra-light (#f3f9ff), border: 1px $blue-light2,
@@ -34,7 +35,7 @@
flex-wrap: wrap;
}
&__type { font-weight: 500; }
&__type { font-weight: fonts.$font-medium; }
&__times { color: colors.$blue-dark; }
@@ -48,6 +49,6 @@
}
.transfer-time {
font-weight: 500;
font-weight: fonts.$font-medium;
color: colors.$orange;
}
@@ -1,5 +1,6 @@
@use "../../../styles/colors" as colors;
@use "../../../styles/variables" as vars;
@use "../../../styles/fonts" as fonts;
.day-grouped-flight-list {
display: flex;
@@ -16,7 +17,7 @@
padding: 14px 24px;
color: colors.$light-gray;
font-size: 11px;
font-weight: 500;
font-weight: fonts.$font-medium;
text-transform: uppercase;
letter-spacing: 0.04em;
border-bottom: 1px solid colors.$border;
@@ -94,7 +95,7 @@
margin: 0;
color: colors.$blue-dark;
font-size: 18px;
font-weight: 500;
font-weight: fonts.$font-medium;
}
&__chevron {
@@ -59,7 +59,7 @@
border: 1px solid colors.$extra-blue;
color: colors.$extra-blue;
font-size: 12px;
font-weight: 500;
font-weight: fonts.$font-medium;
line-height: 16px;
cursor: pointer;
transition: background-color 120ms ease, color 120ms ease;
+2 -1
View File
@@ -1,6 +1,7 @@
@use "../../styles/colors" as colors;
@use "../../styles/screen" as screen;
@use "../../styles/variables" as vars;
@use "../../styles/fonts" as fonts;
.day-quick-pick {
display: none;
@@ -43,7 +44,7 @@
&__date {
font-size: 22px;
font-weight: 500;
font-weight: fonts.$font-medium;
line-height: 1;
}
+2 -1
View File
@@ -1,5 +1,6 @@
@use "../../styles/colors" as colors;
@use "../../styles/screen" as screen;
@use "../../styles/fonts" as fonts;
.station {
display: flex;
@@ -11,7 +12,7 @@
&--bold {
font-size: 14px;
font-weight: 500;
font-weight: fonts.$font-medium;
color: colors.$text-color;
line-height: 1.25;
}