Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overuse of italics #26

Open
MatthiasPortzel opened this issue Sep 8, 2024 · 0 comments
Open

Overuse of italics #26

MatthiasPortzel opened this issue Sep 8, 2024 · 0 comments

Comments

@MatthiasPortzel
Copy link
Member

MatthiasPortzel commented Sep 8, 2024

VSCode only uses italics on:

  • types / classes / enums / etc
  • function definitions (function name and parameters)
  • function / method calls
  • function decorators / attributes / annotations
  • comments
screenshot of JavaScript in Catppuccin VSCode screenshot of Rust in Catppuccin VSCode screenshot of Python in Catppuccin VSCode

In my opinion this might still be too much. A lot of fonts are going to be more readable in their default font-style. I would probably lean towards function parameters and classes/types not being italic, since I don't think of those as being very special.

The big difference with the Sublime theme is that it also makes keywords italic. The case for making keywords italic is that keywords are instantly recognizable because they're syntax highlighted differently and so you don't need readability on the individual letters. They're arguably the place where italics makes the most sense for that reason.

When I talk about readability, I'm talking both about the fact that people are more used to reading normal fonts and not italic font-faces, but also keeping in mind that some people use cursive-style italic fonts which sacrifice some of the normal extreme readability of traditional monospaced fonts in favor of stylized letters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant