-
Notifications
You must be signed in to change notification settings - Fork 23
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
What did we learn so far? #194
Comments
If that can help, and although you probably already know about it, you may take a look at And FYI, I still have a plan to release a v3 of Colortemplate eventually, rebuilt from scratch and simplified in many respects. You have used the templates a lot: if you have suggestions about improving the syntax, the semantics or the workflow, I'd like to hear your feedback. In fact, I do not plan to strictly preserve backward compatibility (Colortemplate v2 is stable and will still be around for the time being), so designing a somewhat different syntax is not out of question. I might even decide to go for a new (shorter!) name for the plugin. |
|
And it would be really nice to have a template for colortemplate (which we should have in the beginning :) ) to have not only uniformed colorschemes but also templates. |
I agree, providing a template with lots of comments, a bit like RNB, would be great for bootstrapping new projects. Or maybe that's something that should be part of Colortemplate? |
I guess it belongs to this repo, not to colortemplate (colortemplate allows many fancy things and I don't think it would be wise to soft-lock users to what we want to have in vim/colorschemes land) |
To add to this:
Why? I think that is supported by Vim.
Bootstrapping can be done from an existing color scheme with |
Harder to support by us if author would decide to not to. |
I'd reword that as "Always be explicit," two of the bugs I've reported now have been because something that could be set like Terminal in the latest one, was left cleared , and the first one with TabLine was the same. Don't trust any "fallthrough" behaviour because there's so many variations underneath. |
I take it back |
Other guideline/best practice (or, even better, something to be enforced) for future color schemes: set minimum threshold for acceptable contrast, at least for main fg/bg colors ( I would also encourage/enforce people to limit the color difference between the GUI and (xterm) terminal values (the “delta” value provided by Colortemplate's color similarity table) to some realistic upper bound. This is more delicate, because the xterm palette is very limited, but it would be an objective argument to reject color schemes such as Solarized, whose 256-color version is… well, another color scheme entirely (which surprises many users). And talking about Solarized: I would also encourage (or, in this case, I'm very keen to say: enforce) that the terminal colors ( A problem with these rules is that they are easy to check if the color scheme is done with Colortemplate, but they may difficult to check otherwise. A possible solution might be to move all the color-related functions to an independent (and community-maintained) plugin. Someone could also add some functions to measure various blind-color issues—something I had wanted to do for a while, but I haven't had time to do yet. Thoughts? |
Now that we have shipped the remakes it is time for the next step: define the guidelines/best practices to enforce when considering the inclusion of new colorschemes.
To ease that process I thought it would be useful to
grab a box of Lego, some markers and Post-it nojot down what we have learned about so far about user expectations, technical restrictions, etc. And maybe even suggestions for how to move forward.The text was updated successfully, but these errors were encountered: