Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
Text
heading2xl
and associated tokens from v14 font migrat…
…ion (Shopify#11813) ### WHY are these changes introduced? Part of https://github.com/Shopify/polaris-internal/issues/1529 ### WHAT is this pull request doing? This PR updates the migration for deprecated `font` custom properties based on the undeprecation of heading2xl. #### v14-styles-replace-custom-property-font | Deprecated CSS Custom Property | Replacement Value | | -- | -- | | ~`--p-font-size-750`~ | ~`--p-font-size-600`~ | | `--p-font-size-800` | ~`--p-font-size-600`~<br>`--p-font-size-750` | | `--p-font-size-900` | ~`--p-font-size-600`~<br>`--p-font-size-750` | | `--p-font-size-1000` | ~`--p-font-size-600`~<br>`--p-font-size-750` | | ~`--p-font-letter-spacing-denser`~ | ~`--p-font-letter-spacing-dense`~ | | `--p-font-letter-spacing-densest` | ~`--p-font-letter-spacing-dense`~<br>`--p-font-letter-spacing-denser` | | ~`--p-font-line-height-1000`~ | ~`--p-font-line-height-800`~ | | `--p-font-line-height-1200` | ~`--p-font-line-height-800`~<br>`--p-font-line-height-1000` | |`--p-text-heading-3xl-font-family`| ~`--p-text-heading-xl-font-family`~<br>`--p-text-heading-2xl-font-family`| |`--p-text-heading-3xl-font-size`| ~`--p-text-heading-xl-font-size`~<br>`--p-text-heading-2xl-font-size`| | `--p-text-heading-3xl-font-weight`| ~`--p-text-heading-xl-font-weight`~<br>`--p-text-heading-2xl-font-weight`| |`--p-text-heading-3xl-font-letter-spacing`| ~`--p-text-heading-xl-font-letter-spacing`~<br>`--p-text-heading-2xl-font-letter-spacing`| | `--p-text-heading-3xl-font-line-height`| ~`--p-text-heading-xl-font-line-height`~<br>`--p-text-heading-2xl-font-line-height`| |~`--p-text-heading-2xl-font-family`~| ~`--p-text-heading-xl-font-family`~| | ~`--p-text-heading-2xl-font-size`~| ~`--p-text-heading-xl-font-size`~| | ~`--p-text-heading-2xl-font-weight`~| ~`--p-text-heading-xl-font-weight`~| | ~`--p-text-heading-2xl-font-letter-spacing`~| ~`--p-text-heading-xl-font-letter-spacing`~| |~`--p-text-heading-2xl-font-line-height`~| ~`--p-text-heading-xl-font-line-height`~| >[!NOTE] >Major version upgrade guidance is updated [on a separate PR on the v13 branch](Shopify#11815).
- Loading branch information