aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/app.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-30 01:00:33 -0400
committerCraig Jennings <c@cjennings.net>2026-06-30 01:00:33 -0400
commit6f43a260891deea175eeee83ec602f97a16c974e (patch)
tree858f4fa16ceee6097eb34966aa4cb77035c77864 /scripts/theme-studio/app.js
parentdb903ea32b10ac2f8d10c7e718d81b68492225cc (diff)
downloaddotemacs-6f43a260891deea175eeee83ec602f97a16c974e.tar.gz
dotemacs-6f43a260891deea175eeee83ec602f97a16c974e.zip
feat(nov-reading): persist font size, add per-palette structural faces
Font size now carries across books and sessions. The +/-/= keys write the text-scale offset to data/nov-reading-text-scale and the offset is restored when a book opens, so a size I set sticks instead of resetting to the base height on every reopen. The = key returns to the base height and persists that reset. Each palette grows from a single bg/fg face into a bundle: :face plus optional :heading and :link. When a palette is active, its heading and link faces remap shr's h1-h6 and link faces buffer-local, so the EPUB hierarchy reads in the palette's accent. The remap stays buffer-local to the nov buffer, so HTML mail and eww keep the theme's normal shr colors.
Diffstat (limited to 'scripts/theme-studio/app.js')
0 files changed, 0 insertions, 0 deletions