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