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:
parent
7c4d0ceddc
commit
92906c2130
95 changed files with 149 additions and 147 deletions
|
@ -147,7 +147,7 @@ limitations under the License.
|
|||
max-width: calc(100% - 16px); /* 16px is the badge width */
|
||||
line-height: $font-16px;
|
||||
font-size: $font-13px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
|
||||
/* Ellipsize any text overflow */
|
||||
text-overflow: ellipsis;
|
||||
|
@ -399,7 +399,7 @@ limitations under the License.
|
|||
.mx_RoomSublist_contextMenu_title {
|
||||
font-size: $font-15px;
|
||||
line-height: $font-20px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-semi-bold);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue