powerline-rs
powerline-rs copied to clipboard
powerline-rs theme template in themer
Hello !
I spent some time writing a themer
template for powerline-rs, there it is :
https://gitlab.com/lafleurdeboum/themer-powerline-rs
It's available as an npm package. Workflow :
mkdir themer && cd themer
yarn add themer @themer/colors-mojave themer-powerline-rs
yarn run themer -c @themer/colors-mojave -t themer-powerline-rs -o build
less build/README.md
The built README.md
contains instructions as how to use the built themes (yes, I wrote the README generator as well). themer
supports vim
including vim-fugitive
and vim-gutter
, vim-lightline
(sister project in vim !), kitty
, ... I had tried base16, it's interesting but not as smart.
I don't know what this contribution is worth here, just wanted to mention it. I also wanted to state this : even when users try to use as little as 15 colors to better convey meaning, they most likely will want to pick them among so-called "true" colors. So if participating to the themer
initiative would become an objective, powerline-rs
should support more than 256 colors. Nevertheless, themer-powerline-rs
uses an approximation function derived from @themer/vim
to match true colors "not so bad".
Seems cool! Using truecolor would definitely be an option, most terminals support them so there's really no downside