It would be really helpful if there was support for multiple typefaces for styling syntax highlighting. Currently, as per the docs, only the following CSS attributes are supported:
background-color
color
font-style
font-weight
text-decoration
text-shadow
Is it possible to add support for the font-family attribute?
I have ADHD and that makes reading/scanning code a bit challenging for me. Having support for multiple typefaces would make the reading/scanning part much more accessible for me.
Apologies for not replying to this originally, it slipped past me without realizing.
This isn’t currently possible, mostly because since themes can be distributed between users via the extension library and cannot guarantee that a font family is available on another Mac, but there would be possible ways we could handle this gracefully (or, alternatively, allow the end-user to customize the specific fonts used for each point a theme might want to differentiate them.)