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:
@@ -48,7 +48,7 @@ limitations under the License.
|
||||
margin: 0;
|
||||
color: $secondary-content;
|
||||
font-size: $font-12px;
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
line-height: $font-15px;
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_AddExistingToSpace_errorHeading {
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: $font-15px;
|
||||
line-height: $font-18px;
|
||||
color: $alert;
|
||||
@@ -171,7 +171,7 @@ limitations under the License.
|
||||
|
||||
> div {
|
||||
> h1 {
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: $font-18px;
|
||||
line-height: $font-22px;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user