-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Body's font weight #2765
Fix Body's font weight #2765
Conversation
🦋 Changeset detectedLatest commit: c37cdba The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2765 +/- ##
==========================================
- Coverage 87.28% 87.28% -0.01%
==========================================
Files 214 214
Lines 12557 12563 +6
Branches 1684 1686 +2
==========================================
+ Hits 10961 10965 +4
- Misses 1543 1545 +2
Partials 53 53
|
Size Change: +23 B (0%) Total Size: 639 kB
ℹ️ View Unchanged
|
Purpose
When the Body component is rendered as a
strong
element, it should have a semibold font weight. It should be possible to override the font weight using theweight
prop. In order to ensure the latter, we increased the specificity of the weight styles, thus breaking the former.Approach and changes
weight
value tosemibold
when the component is rendered as astrong
elementDefinition of done