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:
@@ -46,7 +46,7 @@ limitations under the License.
|
||||
|
||||
.mx_SpaceHierarchy_listHeader_header {
|
||||
grid-column-start: 1;
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ limitations under the License.
|
||||
|
||||
.mx_SpaceHierarchy_error {
|
||||
position: relative;
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
color: $alert;
|
||||
font-size: $font-15px;
|
||||
line-height: $font-18px;
|
||||
@@ -94,7 +94,7 @@ limitations under the License.
|
||||
.mx_SpaceHierarchy_roomCount {
|
||||
> h3 {
|
||||
display: inline;
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: $font-18px;
|
||||
line-height: $font-22px;
|
||||
color: $primary-content;
|
||||
@@ -167,7 +167,7 @@ limitations under the License.
|
||||
gap: 6px 12px;
|
||||
|
||||
.mx_SpaceHierarchy_roomTile_item {
|
||||
font-weight: $font-semi-bold;
|
||||
font-weight: var(--font-semi-bold);
|
||||
font-size: $font-15px;
|
||||
line-height: $font-18px;
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user