-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
adds: base16 default dark theme for Helix editor #833
Conversation
You can have a type = { fg = "base00" }
[palette]
base00 = "#181818" |
A Base16 "true color" theme isn't quite the same as a 16 color theme that uses the terminal's default color scheme. So this won't close #791, but it's still appreciated :) |
Which of the base16 themes is this by the way? |
To use the terminal palette you specifically need to use |
Default dark @archseer, and thanks for the explanation, will add to this existing PR the same which leverages exactly as you described and do my own research too. For reference relating to the theme, http://chriskempson.com/projects/base16/ |
Looks like base16 actually won't be a good default unless the user is using a base16 theme: base16 sets the dark colors (0-7) to shades of grey instead, then the light colors (8-15) as actual colors. A conventional palette uses 0-7 as dark/normal versions of the colors, then the rest as light colors: https://jeffkreeftmeijer.com/vim-16-color/ |
We might want a 256 color theme to be the fallback, the colors there are more standardized and most terminals support 256 colors. |
Ah, right. |
Update, going to look more into this and produce a proper theme which closes #791. Updating the Base 16 default dark theme here based on recommendations in case you want another color theme :D |
f36732b
to
43431fe
Compare
Just rebased from master, somehow it included other commits that shouldn't be there, so I can clean that up. |
43431fe
to
4db762f
Compare
4db762f
to
9e39b19
Compare
Thanks! 🎉 |
Is this label enough or do you need it marked as |
I believe the latter, |
I think it is a bit misleading to call this base16 as one will expect that it uses default terminal colors but it uses hex colors instead, most of the terminal have different color, some even light terminal so calling it this way will be confusing at first. |
|
Theme sample:
Go
Rust