Swap font-weight 400/700 literals for fonts.$font-regular/$font-bold tokens across 8 SCSS files

This commit is contained in:
2026-04-20 17:25:01 +03:00
parent 4a653849f4
commit 2037ba0141
8 changed files with 17 additions and 15 deletions
@@ -16,7 +16,7 @@
&__header {
padding: 16px 0;
cursor: pointer;
font-weight: 400;
font-weight: fonts.$font-regular;
font-size: 16px;
color: colors.$text-color;
display: flex;
@@ -62,7 +62,7 @@
// distinguish them at the render layer.
&__value {
font-size: 12px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$orange;
&--duration {
@@ -75,7 +75,7 @@
&__offset {
margin-left: 6px;
font-size: 11px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$light-gray;
}
@@ -53,7 +53,7 @@
// for the brand navy rather than pure black.
&__flight-number {
font-size: 16px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$blue-dark;
margin-bottom: 6px;
display: flex;
@@ -61,7 +61,7 @@
// the large departure/arrival time is the visual anchor, not the city.
&__city {
font-size: 14px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$text-color;
}
@@ -210,7 +210,7 @@
&-value {
font-size: 12px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$blue-dark;
}
@@ -215,7 +215,7 @@
.time-selector__label {
color: colors.$text-color;
font-size: 12px;
font-weight: 700;
font-weight: fonts.$font-bold;
margin-bottom: 0;
}
@@ -16,7 +16,7 @@
.p-accordion-header {
padding: 16px 0;
cursor: pointer;
font-weight: 400;
font-weight: fonts.$font-regular;
font-size: 16px;
color: colors.$text-color;
display: flex;
@@ -100,7 +100,7 @@
// Row caption label (Регистрация / Борт / Питание на борту / etc.)
// Angular renders at 12px in a neutral grey (#657282).
&__title {
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$light-gray;
font-size: 12px;
}
@@ -168,7 +168,7 @@
// status text stays the loudest element in the row.
&__time-value {
font-size: 12px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$orange;
}
@@ -177,7 +177,7 @@
&__day-change {
margin-left: 4px;
font-size: 10px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$blue-light;
vertical-align: baseline;
}
@@ -1,5 +1,6 @@
@use "../../styles/colors" as colors;
@use "../../styles/variables" as vars;
@use "../../styles/fonts" as fonts;
.city-autocomplete {
display: flex;
@@ -118,7 +119,7 @@
.city {
white-space: nowrap;
font-weight: 700;
font-weight: fonts.$font-bold;
color: colors.$text-color;
}
@@ -1,5 +1,6 @@
@use "../../styles/colors" as colors;
@use "../../styles/variables" as vars;
@use "../../styles/fonts" as fonts;
.city-autocomplete-popup {
position: absolute;
@@ -22,7 +23,7 @@
border: none;
border-right: 1px solid colors.$border-input;
color: colors.$blue;
font-weight: 700;
font-weight: fonts.$font-bold;
font-size: 14px;
cursor: pointer;
@@ -68,7 +69,7 @@
.cell {
&.contry {
width: 30%;
font-weight: 700;
font-weight: fonts.$font-bold;
padding: 7.5px;
}
+1 -1
View File
@@ -54,7 +54,7 @@
&__old-time,
&__scheduled--delayed {
font-size: 12px;
font-weight: 400;
font-weight: fonts.$font-regular;
color: colors.$orange;
line-height: 1.3;
text-decoration: line-through;