Replace font-weight: 500 literals with fonts.$font-medium across 8 SCSS files (brand palette parity)
This commit is contained in:
@@ -346,7 +346,7 @@
|
||||
font-family: 'Inter', 'Roboto', Arial, sans-serif;
|
||||
color: colors.$text-color;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
letter-spacing: 1px;
|
||||
text-shadow:
|
||||
-1px 0 rgba(255, 255, 255, 0.53),
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
&--duration {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
color: colors.$text-color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
&--times {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
color: colors.$blue-dark;
|
||||
}
|
||||
&--stations {
|
||||
@@ -97,7 +97,7 @@
|
||||
&--right { align-items: flex-end; text-align: right; }
|
||||
&--center { align-items: center; text-align: center; }
|
||||
|
||||
&__city { font-size: 14px; font-weight: 500; color: colors.$blue-dark; }
|
||||
&__city { font-size: 14px; font-weight: fonts.$font-medium; color: colors.$blue-dark; }
|
||||
&__code { font-size: 12px; color: colors.$light-gray; }
|
||||
&__terminal { font-size: 11px; color: colors.$light-gray; }
|
||||
|
||||
@@ -112,5 +112,5 @@
|
||||
|
||||
&__arrow { color: colors.$blue; }
|
||||
&__city { font-size: 12px; color: colors.$light-gray; }
|
||||
&__code { font-size: 14px; font-weight: 500; color: colors.$blue-dark; }
|
||||
&__code { font-size: 14px; font-weight: fonts.$font-medium; color: colors.$blue-dark; }
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// slot underneath renders at 12px in the brand orange.
|
||||
&__time {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
color: colors.$blue-dark;
|
||||
line-height: 1.1;
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
&__status-text {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
color: colors.$blue;
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
// and uses Aeroflot red (#C8102E) for the 'Finished' state.
|
||||
&__status {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
|
||||
&--scheduled {
|
||||
color: colors.$light-gray;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
.details-panel__value {
|
||||
color: colors.$blue-dark;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
}
|
||||
|
||||
.details-panel__status {
|
||||
@@ -91,7 +91,7 @@
|
||||
// but not bold.
|
||||
&__value {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
color: colors.$text-color;
|
||||
}
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
gap: vars.$space-s;
|
||||
|
||||
label {
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
@include fonts.font-small(colors.$gray);
|
||||
margin-bottom: vars.$label-margin-bottom;
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
}
|
||||
|
||||
&__detail-value {
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
color: colors.$text-color;
|
||||
font-size: 14px;
|
||||
}
|
||||
@@ -263,7 +263,7 @@
|
||||
border-radius: vars.$border-radius;
|
||||
padding: 9px 22px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: background-color 150ms ease;
|
||||
@@ -278,7 +278,7 @@
|
||||
border-radius: vars.$border-radius;
|
||||
padding: 10px 24px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: background-color 150ms ease;
|
||||
@@ -293,7 +293,7 @@
|
||||
border-radius: vars.$border-radius;
|
||||
padding: 10px 24px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-weight: fonts.$font-medium;
|
||||
cursor: pointer;
|
||||
transition: background-color 150ms ease;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user