books

I have an eye accessibility issue that I address as such:

It's odd that I needed to use Gentoo here. Unlike what upstream Foliate purports, adding to

~/.config/com.github.johnfactotum.Foliate/themes/themes.json

did nothing on my machine; thus I had to add the theme at build time.

/etc/portage/patches/app-text/foliate/blackbriar-theme.patch
diff --git a/src/themes.js b/src/themes.js
index df053fe..dd10f25 100644
--- a/src/themes.js
+++ b/src/themes.js
@@ -49,6 +49,12 @@ export const themes = [
         light: { fg: '#2e3440', bg: '#eceff4', link: '#5e81ac' },
         dark: { fg: '#d8dee9', bg: '#2e3440', link: '#88c0d0' },
     },
+    {
+        name: 'blackbriar', label: _('Blackbriar'),
+        light: { fg: '#e0e0e0', bg: '#000000', link: '#77bbee' },
+        dark: { fg: '#e0e0e0', bg: '#000000', link: '#77bbee' },
+    },
+
 ]
 
 for (const { file, name } of utils.listDir(pkg.configpath('themes'))) try {

In other news, I use Atkinson Hyperlegible ttf as a replacement for the serif. It is designed for individuals with low vision and is available as media-fonts/atkinson-hyperlegible::GURU.

Reminder: How to switch Foliate theme

  1. Select a book
  2. Collapse the left sidebar
  3. Select the three-dot menu on the top right
  4. Enable inversion, dark mode, and select the Blackbriar theme

My theme has both a "light" and "dark" mode, but "light" does not color-invert images. If I bothered I'd patch this for my specific use-case.