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,11 +10,11 @@ Please see LICENSE files in the repository root for full details.
text-align: center;
.mx_Icon {
margin-bottom: $spacing-16;
margin-bottom: var(--cpd-space-4x);
}
.mx_Dialog_header {
margin: 0 0 $spacing-16;
margin: 0 0 var(--cpd-space-4x);
padding: 0;
}
@@ -24,7 +24,7 @@ Please see LICENSE files in the repository root for full details.
.mx_Dialog_content {
color: $secondary-content;
margin: 0 0 $spacing-40;
margin: 0 0 var(--cpd-space-10x);
}
.mx_Dialog_buttons {