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
Color swap #45
Color swap #45
Conversation
@McSinyx there is a few differences in color, white is now brighter, bright-black is now what white used to be and there is one new color (xgray6). @MindTooth The swap doesn't seem to play nice with your transparent background color, its near impossible to see the highlight and vertical wrap. Its possible that a simple config change in https://github.com/zsh-users/zsh-syntax-highlighting could also do the trick. I'll have to look into it more. I'm still on the fence about whether this pull request is a good idea or not. |
@MindTooth you are right that highlight and vertical wrap are the same color, they are now both gray1 |
I don’t mind the new highlight color. I’ve yet to test with new colors in fish. Anything you need from me? How is your own experience with the change so far? |
Glad you don't mind, was a bit uncertain since the new highlight color doesn't show up well in your transparent terminal. If you could keep trying this change for a bit longer I'd appreciate it. I'm doing the same to make sure everything works properly. As it stands my experience have been good, no big issues yet. I was thinking that I might change the white color to be a bit brighter, so as to differentiate it better from the bright black. Not ready to merge just yet, but so far it looks like its working. |
Shame that it didn't work well with fish shell, let me know if you figure out a solution. Is there some config option to set the colorscheme manually? |
Well, I believe I did spoke to soon. Not been putting any attention on the color as I've been using formatters anyway. 🤣 Now that I actually went looking, I do in fact struggle to see it. Turning off transparency does solve the issue. Not a permanent solution though. 😉 An idea could be to add a flag to the config so that one might enable a brighter color for users that do use transparent terminals. |
A config option might be an idea, but I worry that if we choose another gray color it will conflict with something else. I'll look into it. What bothers me a bit is that I really like the way it is in master, bright black should be a dim black color in my opinion, and white should be a text color (comment, header), but this is not consistent with a lot of terminal apps I don't really know the best way of solving this, and if it doesn't work in fish anyways that makes me more hesitant. |
Turns out the issue in zsh with completion color can be easily fixed ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7" Seems there are fixes for most of these color issues |
I can use this command: set fish_color_autosuggestion B6A88D
# or
set fish_color_autosuggestion white That seems to set it permanently. |
That's nice, that leave only npm and kitty autocomplete that I know of, I'll have to look into that later. |
Oops, was not suppose to close this, had a few github windows opened and interacted with the wrong one. |
I did some more work on this, checkout the new highlight color and see if it works for you @MindTooth. I rather prefered it to the darker version I looked into the original xterm palette and see that bright black is indeed supposed to be a gray variant: On consideration I think I wanna go ahead with this merge, so as to conform as closely to the original palette variations as we can. |
Alright, merging then. Everything seems to be working. Keep an eye out for vim issues, I'm mainly on emacs so might take me a while to notice. |
* Add skin for broot * Modify broot skin to use new srcery colors srcery-colors/srcery-vim#45
After some review, as I'm updating the website, I can't seem to find that you did in fact shift the grays? Were this left out, or is the current implementation correct. |
I did as I described in the first comment:
Are you not seeing evidence of this? |
Ahh, you ment in the schema for Vim. 😅 I read it as the for the colors them self. My bad. 😉 |
Ah I see, no I didn't actually change any of the grays, just shifted up one step :) |
OK, so this pull request pertains to all the pull requests from srcery-emacs and srcery-terminal as well.
Recently there was a discussion here, pertaining to certain elements in a terminal would be drawn using bright black, most notably comments, but this affect many different systems. The only solution was to redefine some colors, bright-black and white, brightening both colors. That works but leaves a problem, we need a substitute for bright-black, and as it happens xgray1 was a good fit.
That means that some color swapping needed to be done. I introduce a new x color (xgray6) and shift all the xgray colors upward xgray5 -> xgray6, xgray4 -> xgray5 and so forth. When this is done, I swap all instances of bright-black with xgray1, and all instances of white with bright-black.
This update doesn't really change the appearance too much in my opinion, but I really need feedback on this, if this even works.
One more thing is that we now have a white color that is left unused. I figure we'll find some use for it at some point.
here is an image illustrating the problem
and here is after this change
I'll use this branch going forward to make sure any unforeseen doesn't crop up, and leaving this pull request hanging for a little bit.