-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
theme: Add Tokyo Night variants #835
base: master
Are you sure you want to change the base?
Conversation
Hey @foster-hangdaan, I hate to nitpick but I believe the NVim port has italic comments and keywords across all variants. I can't submit a PR to the PR so could you please slant them? I really like them. |
The keywords and comments for the variants have been italicized. Note that I will not be modifying the original Night theme since it will be out of scope for this PR which already brings three new variants. |
By explicitly setting them.
To match variants. Ripped verbatim from doomemacs#835.
This applies a lighter font color for non-active line numbers for the Tokyo Night Light theme. This helps make the active line number standout more.
Worth noting: "upstream" is considered to be the VSCode theme, not the NVim port. Also, are you certain you're using the same variant in each app? Looks like Neovide is in Storm, whereas DOOM is in Night or Moon. |
Thanks for the feedback. More screenshots of the Moon variant will be handy since I based the variant from the single screenshot that was provided on the Neovim port. I also didn't feel like crawling through the Lua code to obtain all the syntax highlighting rules. Some things that probably won't be fixed based on those screenshots:
Some things that will be fixed:
|
Yes, you are correct, those colors will be changed If I disable the lsp.
What about |
I cannot check the Rust major mode since I don't have it nor its LSP installed, but it's probably the same reason why the syntax highlighting are not being applied for TypeScript methods and properties. On the screenshot below, When I inspect their text properties, they have no associated font-face: Without a font face, there is nothing to target for highlighting, and it seems to fallback to the theme's foreground color. So now you're probably asking why they don't have an associated font face? Not sure; that is beyond the limits of my Emacs-fu 😢. My blame goes to the major mode and it is somehow not able to identify the syntax. I've looked around and this problem exists in several major modes. TL;DR: It's an underlying Emacs issue (I think) and is out of the scope of a theme to fix. |
Also @azzamsa and other Moon variant users, I would like to ask if it's really worth trying to copy the syntax highlighting rules of the Neovim port? Not only will it take a lot of work, but I also think that the Doom highlighting rules are superior since they are more consistent across all major modes, whereas the Neovim port's rules are more arbitrary. Though, I do admit that the Neovim port is more colorful. |
Ah, Okay I see.
It would be nice to look similar to neovim without enabling the lsp (language-specific rule). |
A random suggestion for |
This is to differentiate |
Sounds good to me. I will also do the same for the light theme and change |
This change is for both the Storm and Light variants of Tokyo Night.
For Tokyo Night, in line with doomemacs#835.
Co-authored-by: Prashant Vithani <prashantvithani@gmail.com>
This PR adds three variants of the Tokyo Night theme:
Closes: #827
Screenshots
Tokyo Night Light
Tokyo Night Storm
Tokyo Night Moon