cideM / yui

A minimal Vim/Neovim color scheme inspired by Dieter Rams
MIT License
135 stars 6 forks source link

Simplify and make it possible to derive colors from other colors #48

Closed cideM closed 10 months ago

cideM commented 10 months ago

This PR removes a lot of the complexity I added before in #45 It was fun but really not practical.

The new system is a lot more light weight and adds an important feature: being able to derive colors from other colors and HL groups. I'll add a few notes to CONTRIBUTING.md so it's easier to get started. But the idea is that most of the colors shouldn't be bespoke colors but rather that they can be computed based on other colors. For example, the statusline of the inactive window should have the same BG color as the active window but darker.

I also added Alacritty colors, which fixes #34

Lastly, I started tweaking actual colors again instead of endless yak shaving. I added a TODO comment because I want to add support for common @lsp tokens and then link tree sitter tokens and Vim tokens (luaFuncName and so on) to the @lsp token. Meaning, the semantic token will be the source of truth moving forward.

Through this, I'd like to add a bit more differentiation to the theme such as underlining function and method declarations.