aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/previews.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-06 08:43:03 -0500
committerCraig Jennings <c@cjennings.net>2026-07-06 08:43:03 -0500
commit648c150f6e4e89c9c04158795da1ab13370d7f73 (patch)
tree442f9349e0904a4c00cb57c076e13f1152614fe5 /scripts/theme-studio/previews.js
parentf613bd63811d84816f88d26b33323e1b0f395793 (diff)
downloaddotemacs-648c150f6e4e89c9c04158795da1ab13370d7f73.tar.gz
dotemacs-648c150f6e4e89c9c04158795da1ab13370d7f73.zip
feat(readers): default EPUB and PDF to a dark/sepia/light reading cycle
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.
Diffstat (limited to 'scripts/theme-studio/previews.js')
0 files changed, 0 insertions, 0 deletions