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:
@@ -115,7 +115,7 @@ limitations under the License.
|
||||
color: $primary-content;
|
||||
margin: 0;
|
||||
font-size: $font-18px;
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
}
|
||||
|
||||
.mx_Toast_title_countIndicator {
|
||||
@@ -142,7 +142,7 @@ limitations under the License.
|
||||
.mx_Toast_description {
|
||||
color: $primary-content;
|
||||
font-size: $font-15px;
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
max-width: 300px;
|
||||
|
||||
a {
|
||||
@@ -152,7 +152,7 @@ limitations under the License.
|
||||
|
||||
.mx_Toast_detail {
|
||||
display: block;
|
||||
font-weight: $font-normal;
|
||||
font-weight: var(--font-normal);
|
||||
margin-top: $spacing-4;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user