Skip to content

Add red letters (words of Christ) - #3

Open
Josh-Reimer wants to merge 1 commit into
mainfrom
red-letter
Open

Josh-Reimer wants to merge 1 commit into
mainfrom
red-letter

Conversation

@Josh-Reimer

Copy link
Copy Markdown
Owner

Shows the words of Christ in red, using the same red_letter_kjv.json as the Bible-Verse Android app. It covers 2,027 verses, and every entry's text was checked to match this repo's book files exactly.

  • Applied in every view: whole Bible, book, chapter, single verse and search results.
  • A verse is only colored when its text matches the data exactly, so a misaligned line is never colored wrong.
  • In the whole-Bible view, a new book is detected when the verse numbers go backwards. Waiting for 1:1: would fail, because 2 Corinthians 1:1 is missing from the data.
  • Each theme has its own red, all at least 4.5:1 contrast. Selected text keeps normal selection colors.
  • The .deb, AppImage and Flatpak builds now install the JSON. Their file patterns only covered *.py and *.txt.

Testing: I ran the GUI code without a window on macOS. All 2,027 verses are tagged in the home view, the per-book views add up to 2,027, and Matthew 5, a single verse, search results and all four theme colors check out. The packaging CI on this PR will be the first run of the Linux builds with this change.

🤖 Generated with Claude Code

Uses the same red_letter_kjv.json as the Bible-Verse Android app (2027
verses, text verified identical to these book files). Applied in every
view: whole Bible, book, chapter, verse and search results. Each theme
gets its own readable red. The deb, AppImage and Flatpak builds now
install the JSON, since their globs only cover *.py and *.txt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant