YPE-1297 Source Serif font not applying to Bible text body#148
YPE-1297 Source Serif font not applying to Bible text body#148cameronapak merged 6 commits intomainfrom
Conversation
…to use new constants for 'Inter' and 'Source Serif 4'.
🦋 Changeset detectedLatest commit: 45b5dd5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Greptile SummaryReplaced bare string font labels with typed constants and updated from deprecated "Source Serif Pro" to "Source Serif 4" across components, styles, and tests. Key Changes
Issues Found
Confidence Score: 4/5
Important Files Changed
Flowchartflowchart TD
A[verse-html-utils.ts] -->|Defines| B[INTER_FONT constant]
A -->|Defines| C[SOURCE_SERIF_FONT constant]
A -->|Exports| D[FontFamily type]
B -->|Used in| E[bible-reader.tsx]
C -->|Used in| E
D -->|Type safety| E
B -->|Used in| F[bible-reader.stories.tsx]
C -->|Used in| F
C -->|Should use| G[bible-widget-view.tsx]
D -->|Type safety| H[verse.tsx]
I[global.css] -->|Imports| J[Source Serif 4 font]
K[bible-reader.css] -->|Defines| L[--font-serif variable]
J -->|Replaces| M[Source Serif Pro]
E -->|Default font changed| N[Inter → Source Serif 4]
E -->|Compares against constants| C
E -->|Sets font via| L
Last reviewed commit: a2aa1cb |
cameronapak
left a comment
There was a problem hiding this comment.
@Kyleasmth, this is good. Thank you!
suggestion: Can you add the suggestions from the Greptile AI comments?
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: Kyleasmth <45497561+Kyleasmth@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: Kyleasmth <45497561+Kyleasmth@users.noreply.github.com>
This change addresses an issue where the serif font was not displaying correctly within the Bible reader component.
Fix font selection by replacing bare string font labels with full CSS font-family values using typed constants, and update from the deprecated "Source Serif Pro" to "Source Serif 4" across all components, styles, and tests.