Skip to content

Commit cd0e098

Browse files
committed
Administration: Remove unused font-weight tokens.
Remove the unused `$font-weight-regular` and `$font-weight-medium` Sass variables from the admin color scheme tokens. Neither variable has a consumer, so this does not change any generated CSS or runtime styling. These tokens are also inconsistent with the font weights being introduced to the Gutenberg project in WordPress 7.1, where new usage should rely on the new CSS custom properties instead. Developed in WordPress#12524. Props ciampo, aduth, tyxla. Fixes #65629. git-svn-id: https://develop.svn.wordpress.org/trunk@62755 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e4024b8 commit cd0e098

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/wp-admin/css/colors/_tokens.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,6 @@ $line-height-xs: 16px; // xs
171171
$line-height-s: 20px; // s - Most UI elements
172172
$line-height-m: 24px; // m - Body large
173173

174-
// Font Weights
175-
$font-weight-regular: 400; // Regular - Body text
176-
$font-weight-medium: 500; // Medium - Headings, buttons
177-
178-
179174
// --------------------------------------------------------------------------
180175
// Elevation (Box Shadows)
181176
// --------------------------------------------------------------------------

0 commit comments

Comments
 (0)