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

@ -132,7 +132,7 @@ input[type="password"] {
font-family: inherit;
padding: 9px;
font-size: $font-14px;
font-weight: 600;
font-weight: var(--font-semi-bold);
min-width: 0;
}
@ -575,7 +575,7 @@ legend {
margin-bottom: 5px;
/* flip colours for the secondary ones */
font-weight: 600;
font-weight: var(--font-semi-bold);
border: 1px solid $accent;
color: $accent;
background-color: $button-secondary-bg-color;
@ -794,7 +794,7 @@ legend {
@define-mixin LegacyCallButton {
box-sizing: border-box;
font-weight: 600;
font-weight: var(--font-semi-bold);
height: $font-24px;
line-height: $font-24px;
margin-right: 0;
@ -816,7 +816,7 @@ legend {
@define-mixin ThreadRepliesAmount {
color: $secondary-content;
font-weight: $font-semi-bold;
font-weight: var(--font-semi-bold);
white-space: nowrap;
position: relative;
padding: 0 $spacing-12 0 $spacing-8;