Are there any good sources for powerline colorschemes?

1,204 views
Skip to first unread message

Chris Matzenbach

unread,
Feb 21, 2017, 7:13:34 PM2/21/17
to powerline
Sorry if this is a dumb question, but I am having an absurdly hard time finding colorschemes for powerline.  Everything seems to be either airline colorschemes or posts about making your own powerline copy and designing it after a well-known theme.  I've haven't seen a single powerline .json colors file, aside from the two that come with it (default and solarized).  Are there any out there?  Am I crazy?  Or does everyone just modify it themselves and never really post their .json file? 

This all started because I want a gruvbox theme for powerline.  I'm running macOS Sierra and iTerm2 3.0.14.  I did use the gruvbox airline theme to change my bar in vim, and would love one that looked like that (I think it looks fantastic)

Nikolay Aleksandrovich Pavlov

unread,
Feb 21, 2017, 7:33:21 PM2/21/17
to Chris Matzenbach, powerline
I do not know any repositories with colorschemes.

2017-02-22 3:13 GMT+03:00 'Chris Matzenbach' via powerline
<powerlin...@googlegroups.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "powerline" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to powerline-supp...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Chris Matzenbach

unread,
Feb 21, 2017, 8:01:57 PM2/21/17
to powerline, cmatz...@googlemail.com
Is it not a thing to customize the colorscheme of powerline?

Nikolay Aleksandrovich Pavlov

unread,
Feb 21, 2017, 8:20:50 PM2/21/17
to Chris Matzenbach, powerline
I do not know. Since I am the author I could just put new colorscheme
in the repository, but personally I am fine with just “good enough”
colors. Also if somebody creates a PR with new colorscheme I could
accept it, but I have not seen much of such PRs (only remember
solarized).

Since I am not seeking new colorschemes I could only know about
repositories with colorschemes through random events like “user have
taken colorscheme X from repository Y and it failed with error Z which
was then reported as a bug” or “there was a discussion of colorschemes
from that repository in some source I am reading” and I cannot
remember such events.

Chris Matzenbach

unread,
Feb 21, 2017, 9:24:01 PM2/21/17
to powerline, cmatz...@googlemail.com
Got it.  First off, thanks so much for this.  Really appreciate all your work.  I'm guessing you cant easily convert an airline theme for powerline (since airline is in vimscript and this is json)?  It takes it's own unique .json files too, right?  As in, the file needs to be specifically written for powerline?

Nikolay Aleksandrovich Pavlov

unread,
Feb 22, 2017, 12:29:16 AM2/22/17
to Chris Matzenbach, powerline
2017-02-22 5:24 GMT+03:00 'Chris Matzenbach' via powerline
<powerlin...@googlegroups.com>:
> Got it. First off, thanks so much for this. Really appreciate all your
> work. I'm guessing you cant easily convert an airline theme for powerline
> (since airline is in vimscript and this is json)? It takes it's own unique
> .json files too, right? As in, the file needs to be specifically written
> for powerline?

VimL vs JSON has nothing to do with the problem: you can always make
Vim parse VimL for you like airline itself does. Airline has one set
of segments (and colorscheme options) and powerline has another.
Creating colorscheme in a semi-automated fashion or making
less-then-ideal converter should be possible, but who wrote that? You
need to know both airline internals and powerline configuration:
really, what `airline_a`..`airline_c` and `airline_x`..`airline_z` and
those color lists are supposed to mean? Powerline looks more
configurable here because these lists look like airline having only
six possible highlight groups with four or five similar subvariants
(totalling 24..30 possible different highlight groups), but I can’t
say whether I am true without digging into its source code: writing
themes in airline documentation is explained in a manner “go get
existing theme and guess how to write another”. And this does not
answer which segment is assigned which color, but given example in
airline-pipeline it looks like there are really six airline own groups
configured in themes and changing colors and any amount of highlight
groups simply taken from Vim. Last one means “to convert airline
colorscheme into powerline automatically converter script must receive
both airline theme and relevant vim colorscheme”.
Reply all
Reply to author
Forward
0 new messages