• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 24017808398
90%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 03:47AM UTC
Jobs 1
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Apr 2026 03:45AM UTC coverage: 90.916% (-1.2%) from 92.07%
24017808398

push

github

web-flow
Add color theme system with 5 bundled themes (#32)

* add plan: theme-support

* feat: add color theme system with bundled themes

Add theme package supporting INI-format color theme files with Parse,
Load, List, Dump, and InitBundled functions. Three bundled themes
included: dracula, nord, solarized-dark. Themes are auto-created in
~/.config/revdiff/themes/ on first run.

CLI integration via --theme, --dump-theme, --list-themes, --init-themes
flags. Theme application overwrites all 21 color fields plus chroma-style
via applyTheme() in main.go after parseArgs().

Related to #32

* move completed plan: 20260405-theme-support.md

* feat(ui): fill pane backgrounds for themed views and add catppuccin-mocha, gruvbox themes

- extend add/remove/modify line backgrounds to full pane width via extendLineBg
- fill pane interiors with DiffBg/TreeBg by stripping viewport padding and re-padding
  with bg-colored spaces via padContentBg
- set BorderBackground on pane borders to match pane background
- apply DiffBg to context lines and line numbers when set
- add LineContextHighlight style for syntax-highlighted context lines
- brighten nord theme add/remove/modify foreground and background colors
- add catppuccin-mocha and gruvbox bundled themes (5 total)
- document custom theme creation in README and plugin reference

* docs: update CLAUDE.md and plan to reflect 5 bundled themes and simplified precedence

271 of 349 new or added lines in 6 files covered. (77.65%)

3863 of 4249 relevant lines covered (90.92%)

459.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
62
51.12
0.06% cmd/revdiff/main.go
13
90.08
theme/theme.go
2
96.8
-0.1% ui/model.go
1
94.93
-0.06% ui/diffview.go
Jobs
ID Job ID Ran Files Coverage
1 24017808398.1 06 Apr 2026 03:47AM UTC 18
90.92
GitHub Action Run
Source Files on build 24017808398
  • Tree
  • List 18
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d011d391 on github
  • Prev Build on master (#24013549295)
  • Next Build on master (#24019278893)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc