diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-30 01:00:33 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-30 01:00:33 -0400 |
| commit | b57bf3801322bd44b94251bfe308ef91fdf97694 (patch) | |
| tree | d5ec4fac64a95408bc146da6dd2a645fe6f7bc6b /tests/test-custom-buffer-file--buffer-differs-prompt.el | |
| parent | abbf3d85b5dc1aaee606517225194f6bd8a6a165 (diff) | |
| download | dotemacs-b57bf3801322bd44b94251bfe308ef91fdf97694.tar.gz dotemacs-b57bf3801322bd44b94251bfe308ef91fdf97694.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 'tests/test-custom-buffer-file--buffer-differs-prompt.el')
0 files changed, 0 insertions, 0 deletions
