Conversation
|
Size Change: +405 B (+0.02%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
This reverts commit 823a569.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
ciampo
left a comment
There was a problem hiding this comment.
Leaving some code-related comments, as I don't believe that any of these changes should actually cause "runtime" changes
packages/base-styles/_mixins.scss
Outdated
| @mixin text-heading() { | ||
| font-family: $font-family-headings; | ||
| font-weight: $font-weight-medium; | ||
| } | ||
|
|
||
| @mixin text-body() { | ||
| font-family: $font-family-body; | ||
| font-weight: $font-weight-regular; | ||
| } |
There was a problem hiding this comment.
Since these mixins are (I believe) meant to be only used in this file (at least for now), we could prefix their name with a _ to better indicate their "private" nature — ie. _text-heading and _text-body
What
_variables.scssa bit, accounting for the new tokens.$default-fontand$default-line-heightin favor of the new tokens.This PR intentionally does not touch the variables in config-values.js. You can read about why in #64340 (comment).
Why
See #64340.