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
+4 -4
View File
@@ -17,8 +17,8 @@ Please see LICENSE files in the repository root for full details.
.mx_ViewSource_header {
border-bottom: 1px solid $quinary-content;
padding-bottom: $spacing-12;
margin-bottom: $spacing-12;
padding-bottom: var(--cpd-space-3x);
margin-bottom: var(--cpd-space-3x);
font-family: monospace;
.mx_CopyableText {
@@ -30,11 +30,11 @@ Please see LICENSE files in the repository root for full details.
font-size: $font-17px;
font-weight: 400;
color: $primary-content;
margin-top: $spacing-12;
margin-top: var(--cpd-space-3x);
}
.mx_ViewSource_details {
margin-top: $spacing-12;
margin-top: var(--cpd-space-3x);
}
.mx_CopyableText_border {