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:
Suguru Hirahara 2023-04-21 14:16:00 +00:00 committed by GitHub
parent 7c4d0ceddc
commit 92906c2130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
95 changed files with 149 additions and 147 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
.mx_Heading_h1 {
font-size: $font-32px;
font-weight: $font-semi-bold;
font-weight: var(--font-semi-bold);
line-height: $font-39px;
margin-inline: unset;
margin-block: unset;
@ -24,7 +24,7 @@ limitations under the License.
.mx_Heading_h2 {
font-size: $font-24px;
font-weight: $font-semi-bold;
font-weight: var(--font-semi-bold);
line-height: $font-29px;
margin-inline: unset;
margin-block: unset;
@ -32,7 +32,7 @@ limitations under the License.
.mx_Heading_h3 {
font-size: $font-18px;
font-weight: $font-semi-bold;
font-weight: var(--font-semi-bold);
line-height: $font-22px;
margin-inline: unset;
margin-block: unset;
@ -40,7 +40,7 @@ limitations under the License.
.mx_Heading_h4 {
font-size: $font-15px;
font-weight: $font-semi-bold;
font-weight: var(--font-semi-bold);
line-height: $font-20px;
margin-inline: unset;
margin-block: unset;