papercolor-theme icon indicating copy to clipboard operation
papercolor-theme copied to clipboard

General Discussion - 1.0 Release Candidate

Open NLKNguyen opened this issue 9 years ago • 16 comments

This thread is for any discussion regarding 1.0 release candidate

See ROADMAP for information

NLKNguyen avatar Jul 20 '16 01:07 NLKNguyen

Oh, I didn't know https://github.com/NLKNguyen/papercolor-16 happened to be here. I hope that it can be linked to the README.

pickfire avatar Jul 20 '16 01:07 pickfire

Some updates on develop_1.0 branch: The goal of the current refactoring process is to allow color theme to be designed in this manner:

let s:themes['papercolor'].dark = {
      \     'palette' : {
      \       'color00' : ['#262626', '234'],
      \       'color01' : ['#df0000', '100'], 
      \       'color02' : ['#5faf00', '70'],
      \       'color03' : ['#dfaf5f', '179'], 
      \       'color04' : ['#303030', '235'],
      \       'color05' : ['#578787', '29'], 
      \       'color06' : ['#df875f', '173'], 
      \       'color07' : ['#d0d0d0', '251'], 
      \       'color08' : ['#8a8a8a', '244'], 
      \       'color09' : ['#5faf5f', '71'],
      \       'color10' : ['#afdf00', '148'],
      \       'color11' : ['#af87df', '140'], 
      \       'color12' : ['#444444', '237'], 
      \       'color13' : ['#ff5faf', '205'],
      \       'color14' : ['#00afaf', '37'], 
      \       'color15' : ['#5fafdf', '74'],
" other optional colors ...

The color guideline is updated here http://codepen.io/NLKNguyen/full/NrRpej/ It has some changes since the last time.

The first 15 color## are required and can be mapped one-to-one directly to the color palette of the terminal. For instance, https://github.com/NLKNguyen/papercolor-16/tree/master/windows-command-prompt Default: cmd-00-papercolor-default After installing PaperColor-Dark by double clicking on the .reg file: cmd-01-papercolor-dark In order to not having to restart Windows to see the changes after running .reg file, you might have to right click on desktop and click "open command window here". By some reason, that session is up-to-date.

NLKNguyen avatar Jul 21 '16 01:07 NLKNguyen

With the current color guideline, some cli programs can produce the natural color, for example, red and green for deleting and adding in Git cmd-02-papercolor-gitdiff

NLKNguyen avatar Jul 21 '16 01:07 NLKNguyen

To test 16-color in Vim using a 256-color terminal, you need to set t_Co=8

NLKNguyen avatar Jul 21 '16 01:07 NLKNguyen

Yes, it works and follows most of the colors in 8-color terminal except blue but those colors from 9 - 16 is very different from the original color expecially the last one (white -> blue).

pickfire avatar Jul 21 '16 01:07 pickfire

There is no way around. All colors are to be alternated, which is how we can have a different palette. I imagine other palettes like PaperColor light, Solarized, Gruvbox, etc can be added as well, and it's not possible to not alternate the default colors. The red and green, however, have more special cognition meaning associated with them, so they are better to remain.

I intend to have the 16-color theme to look good even with the default terminal color palette. I expect it to look similar across different terminals, but I haven't tested anywhere except Windows CMD. If you can test how it looks on some Linux terminals (w/ default palette) and upload the screenshots, that'd be very helpful to me.

By 9-16, you meant within the range 00 to 15 right? In the PaperColor.vim I have color 16 and 17, but they are optional as well as the rest. All optional colors will have sensible default, being drawn from the first 15.

NLKNguyen avatar Jul 21 '16 02:07 NLKNguyen

Sure, why not?

@NLKNguyen Here's the default color, which is high in contrast but now it suits my eyes more.

2016-07-22-004713_564x340_scrot Light theme: assembly 2016-07-22-005807_564x340_scrot Dark theme: assembly 2016-07-22-005815_564x340_scrot

pickfire avatar Jul 21 '16 16:07 pickfire

You need to set t_Co=8 to force vim to use native terminal 16 colors. The above used 256.

NLKNguyen avatar Jul 21 '16 18:07 NLKNguyen

@NLKNguyen t_Co=8 doesn't seem to have an effect in neovim. And I haven't set my terminal colors to papercolor yet.

pickfire avatar Jul 22 '16 01:07 pickfire

@NLKNguyen Is it possible to change the status bar color in the light theme? now it's a bit hard to distinguish the horizontal split. See screenshot below

papercolorlightsplit

ysheng26 avatar Sep 14 '16 00:09 ysheng26

I thought it would be more visible than that. Are you sure it's not your Airline/Lightline theme? This is what I have with plain Vim statusline. I could still darken it a bit more if necessary. capture

NLKNguyen avatar Sep 14 '16 01:09 NLKNguyen

@NLKNguyen Ah, what about using orange for it, looks nice.

pickfire avatar Sep 14 '16 10:09 pickfire

@NLKNguyen Am I supposed to install a separate airline theme? I'm currently using vim-airline/vim-airline-themes and did not set anything about the airline theme in my vimrc

ysheng26 avatar Sep 14 '16 13:09 ysheng26

@ShengYun Oh I see. You're using the Airline theme provided in this repo. There will be a revision on Airline theme after version 1.0 release, and I will use a separate repo for Airline. For now I'll be working on the main theme only.

@pickfire I will consider that :)

NLKNguyen avatar Sep 14 '16 17:09 NLKNguyen

@NLKNguyen Oh so what you are saying is after the 1.0 release I should install another repo and use that theme? but keep using the built in airline theme for now?

ysheng26 avatar Sep 14 '16 18:09 ysheng26

Yeah, the Airline theme is unmaintained now and will be replaced by a different, separate project. It's gonna be a long time until then so keep using the current Airline or alternative Lightline somewhere if you like.

NLKNguyen avatar Sep 14 '16 19:09 NLKNguyen