Replace Sass variables with custom properties on _font-weights.pcss (#10554)
* Replace `$font-normal` and `$font-semi-bold` Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Replace `font-weight: 600` with the custom property Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Replace the existing variables Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@@ -67,7 +67,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_CallEvent_active .mx_CallEvent_title {
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
}
|
||||
|
||||
.mx_CallEvent_columns {
|
||||
|
||||
@@ -22,12 +22,12 @@ limitations under the License.
|
||||
cursor: pointer;
|
||||
|
||||
.mx_DisambiguatedProfile_displayName {
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
|
||||
.mx_DisambiguatedProfile_mxid {
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: 1.1rem;
|
||||
margin-inline-start: 5px;
|
||||
opacity: 0.5; /* Match mx_TextualEvent */
|
||||
|
||||
@@ -48,7 +48,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_EventTileBubble_title {
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: $font-15px;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ limitations under the License.
|
||||
min-width: 0;
|
||||
|
||||
.mx_LegacyCallEvent_sender {
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.8rem;
|
||||
margin-bottom: $spacing-4;
|
||||
|
||||
@@ -18,7 +18,7 @@ limitations under the License.
|
||||
margin-top: 8px;
|
||||
|
||||
h2 {
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: $font-15px;
|
||||
line-height: $font-24px;
|
||||
margin-top: 0;
|
||||
|
||||
Reference in New Issue
Block a user