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
95 changed files with 149 additions and 147 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ limitations under the License.
h2 {
font-size: $font-18px;
font-weight: 600;
font-weight: var(--font-semi-bold);
margin: 18px 0 0 0; /* TODO: Use a variable */
}
@@ -145,7 +145,7 @@ limitations under the License.
h3 {
text-transform: uppercase;
color: $tertiary-content;
font-weight: 600;
font-weight: var(--font-semi-bold);
font-size: $font-12px;
margin: $spacing-4 0;
}