Replace legacy $spacing-X vars with Compound Design Tokens (#34380)

* Replace legacy `$spacing-X` vars with Compound Design Tokens

* Remove unused font size vars

* Use calc to get negative spacing vars
This commit is contained in:
Michael Telatynski
2026-07-22 10:10:57 +00:00
committed by GitHub
parent ef8cfda6fe
commit 49a2bdd7e4
87 changed files with 343 additions and 380 deletions
@@ -10,9 +10,9 @@ Please see LICENSE files in the repository root for full details.
.mx_MStickerBody_wrapper {
.mx_MImageBody_banner {
position: absolute;
bottom: $spacing-4;
left: $spacing-4;
padding: $spacing-4;
bottom: var(--cpd-space-1x);
left: var(--cpd-space-1x);
padding: var(--cpd-space-1x);
border-radius: var(--MBody-border-radius);
font-size: $font-15px;
user-select: none;
@@ -66,7 +66,7 @@ Please see LICENSE files in the repository root for full details.
.mx_MImageReplyBody {
display: flex;
column-gap: $spacing-4;
column-gap: var(--cpd-space-1x);
.mx_MImageBody_thumbnail_container {
flex: 1;