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
@@ -15,9 +15,9 @@ Please see LICENSE files in the repository root for full details.
&.mx_RoomSettingsDialog_BridgeList_listItem {
display: flex;
flex-wrap: wrap;
gap: $spacing-8;
gap: var(--cpd-space-2x);
padding: 5px;
margin-bottom: $spacing-8;
margin-bottom: var(--cpd-space-2x);
/* border-style around each bridge list item */
border-width: 1px 1px;
@@ -71,11 +71,11 @@ Please see LICENSE files in the repository root for full details.
.mx_RoomSettingsDialog_column_data_details,
.mx_RoomSettingsDialog_column_data_metadata {
margin-top: $spacing-4;
margin-top: var(--cpd-space-1x);
}
.mx_RoomSettingsDialog_column_data_metadata li {
margin-top: $spacing-8;
margin-top: var(--cpd-space-2x);
}
.mx_RoomSettingsDialog_column_data_protocolName {