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

umputun / revdiff / 28144801821
90%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2026 03:28AM UTC
Jobs 1
Files 71
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

25 Jun 2026 03:26AM UTC coverage: 89.934% (+0.005%) from 89.929%
28144801821

push

github

web-flow
Add automatic light/dark theme selection (#237)

* Add automatic light/dark theme selection

Add a new special theme called `auto` and two new config flags:
`auto-theme-light` and `auto-theme-dark`.

If `theme = auto`, resolve to either the light or dark theme depending
on the terminal background color.

Defaults:
- auto-dark-theme: revdiff
- auto-light-theme: catppuccin-latte

* docs: sync auto-theme flags to claude-plugin reference and site docs

the PR added --auto-theme-dark/--auto-theme-light to README and the codex skill reference but missed the .claude-plugin reference copy (kept byte-identical) and site/docs.html (kept in sync with README).

* fix(themes): extract resolveThemeName to keep handleThemes under gocyclo limit

the auto-theme branch pushed handleThemes cyclomatic complexity to 21 (>20). move the "auto" sentinel dispatch into resolveThemeName so handleThemes stays at 20. behavior unchanged - termenv is queried only when theme=auto.

---------

Co-authored-by: Umputun <umputun@gmail.com>

15 of 16 new or added lines in 1 file covered. (93.75%)

10364 of 11524 relevant lines covered (89.93%)

3105.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
85.42
0.6% app/themes.go
Jobs
ID Job ID Ran Files Coverage
1 28144801821.1 25 Jun 2026 03:27AM UTC 71
89.93
GitHub Action Run
Source Files on build 28144801821
  • Tree
  • List 71
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c3ce5259 on github
  • Prev Build on master (#28124995894)
  • Next Build on master (#28144912002)
  • 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