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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user