-
Notifications
You must be signed in to change notification settings - Fork 29
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
alternative to changing saturation? #62
Comments
Well, this got more complicated than I thought, and pretty quickly. 😃 Here are some not-too-deep thoughts. I guess there are two decisions in this: what does "transition" mean here, and what would the UI look like? I poked around regarding color gradients, and thought that https://raphlinus.github.io/color/2021/01/18/oklab-critique.html was a pretty good writeup (and the tool was useful, too). Plugging in the foreground and background Solarized colors gets me the gradient I want, though these colors don't elicit much distinction between the colorspaces. There's a lot written about transitioning between two colors, and it's too much (for me) to take it all in. But it looks to me like the idea would be to choose a colorspace definition and do a linear transition in that context, much like the gradients in the tool. As for the UI for the hypothetical Using the current fg/bg seems a bit slippery—as those values change, in this pane or any other, then do the endpoints change? That seems pretty bad. It could stay fixed at the fg/bg when the dialog came up. I don't know how compatible the code on that page is with the code you've written or how the licensing would work (it's Apache 2.0), but I hope it would reduce the implementation effort, should you (or I, but probably not) choose to do it. |
Thanks for the link, that's very helpful! Yeah, something like that would have to be done in a new pane. |
I wanted to try out the new inlay hints in vim, now that I have a whole stack that supports them (vim,
vim-lsp
, Go settings, and gopls). I wanted the hints to show up in a lighter color than the default, which just usesNormal
. I'm usingvim-solarized8
and have been doing my experimentation with the light background. I discovered this plugin (and OMG, it's awesome), but was unable to get what I wanted.Specifically, I wanted to start with
Normal
and move the foreground color along the path towards the background color. I guess it's sort of like changing saturation, but with the background as a target instead of white. It seems like this would probably be more useful for a color theme design tool than traditional saturation, except when choosing a base color.Does this make sense? I don't know color much at all, so perhaps not.
The text was updated successfully, but these errors were encountered: