Update @vector-im/compound-design-tokens (#12876)

* Update `@vector-im/compound-design-tokens`

* Update jest snapshots

* Update playwright snapshots

* Use `--cpd-font-body-lg-semibold` for toast

* Use `--cpd-font-body-lg-semibold` for other elements

* Remaining heading fix
This commit is contained in:
Florian Duros 2024-08-09 14:32:37 +02:00 committed by GitHub
parent 8e45d5053b
commit 284cd4082b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 58 additions and 62 deletions

View file

@ -60,10 +60,11 @@ limitations under the License.
flex: 1;
.mx_BaseCard_header_title_heading {
color: $primary-content;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font: var(--cpd-font-body-md-medium);
color: var(--cpd-color-text-secondary);
}
.mx_BaseCard_header_title_button--option {

View file

@ -97,7 +97,7 @@ limitations under the License.
h2 {
text-transform: uppercase;
color: $tertiary-content;
font: var(--cpd-font-heading-sm-semibold);
font: var(--cpd-font-body-md-semibold);
font-weight: var(--cpd-font-weight-semibold);
margin: $spacing-4 0;
}

View file

@ -44,6 +44,10 @@ limitations under the License.
transition: all 500ms;
.mx_UserOnboardingTask_title {
font: var(--cpd-font-body-md-medium);
}
.mx_UserOnboardingTask_description {
font-size: $font-12px;
}