<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-nov-reading--config-defaults.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-07-06T13:43:03+00:00</updated>
<entry>
<title>feat(readers): default EPUB and PDF to a dark/sepia/light reading cycle</title>
<updated>2026-07-06T13:43:03+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-07-06T13:43:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=648c150f6e4e89c9c04158795da1ab13370d7f73'/>
<id>urn:sha1:648c150f6e4e89c9c04158795da1ab13370d7f73</id>
<content type='text'>
nov-mode's reading cycle opened on sepia and ran sepia, dark, light. I reordered it to dark, sepia, light and made a fresh EPUB open dark.

pdf-view only had a binary midnight toggle. I added a matching palette layer: a fresh PDF opens dark, and c cycles dark, sepia, light, none (C selects by name, M also cycles). Each palette is a foreground/background pair fed to pdf-view-midnight-minor-mode, so sepia and light are that same duotone with warmer and lighter colors. The pdf colors mirror the nov palettes so EPUBs and PDFs read alike.

Pure name-to-colors and cycle logic are unit-tested. The live render needs a manual check.
</content>
</entry>
</feed>
