Closed lunacookies closed 3 years ago
I’ve recently been playing around with highlighting beyond colour more frequently, and decided to try making consuming functions italic:
I like this, because it visually makes them more distinct, while also not being distracting.
This was inspired by Input from @FontBureau, which is a programming font that isn‘t monospaced. I was skeptical at first, but I’ve come to really like it. On Input’s website the idea of using more than just colour for syntax highlighting is mentioned:
Although using bold and italic isn’t anything new, I’ve never heard of using entirely different fonts for different parts of code. I’ve set up some local customisations in my VS Code that makes function and type declarations bold, and uses a serif font for strings:
Comments are also serif and italic:
I’m considering changing self
to be italic, but I’m not decided about it:
What do you think? In my opinion a lot of these aren’t suitable for inclusion with Pale Fire (especially those that require a second font), but some of them (like the italic consuming functions, italic self
and bold declarations) could be a nice change.
This colour isn’t used anywhere else; maybe it stands out too much.