Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Solarized Light Color Scheme #234

Closed
wants to merge 1 commit into from

5 participants

@Lokaltog
Owner

I like it! Great job!

@Lokaltog Lokaltog closed this in 5422f42
@MarioRicalde

I'm glad you liked it. Thanks for including it on the repo.

Will keep it up to date as I go.

Cheers.

@patricklewis

Hi, can you please explain how this is different than the one I submitted 4 months ago? #162

@ZyX-I

@patricklewis Just look at screenshots. It is obvious it uses different colors and your one is darker.

@mhinton mhinton referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 28, 2012
  1. @MarioRicalde
This page is out of date. Refresh to see the latest.
Showing with 154 additions and 0 deletions.
  1. +154 −0 autoload/Powerline/Colorschemes/solarized.vim
View
154 autoload/Powerline/Colorschemes/solarized.vim
@@ -0,0 +1,154 @@
+
+" Solarized color scheme for Powerline
+" N = no focus
+" 16 hex colors as defined on http://ethanschoonover.com/solarized
+call Pl#Hi#Allocate({
+ \ 'base03' : [8, 0x002b36],
+ \ 'base02' : [0, 0x073642],
+ \ 'base01' : [10, 0x586e75],
+ \ 'base00' : [11, 0x657b83],
+ \ 'base0' : [12, 0x839496],
+ \ 'base1' : [14, 0x93a1a1],
+ \ 'base2' : [7, 0xeee8d5],
+ \ 'base3' : [15, 0xfdf6e3],
+ \ 'yellow' : [3, 0xb58900],
+ \ 'orange' : [9, 0xcb4b16],
+ \ 'red' : [1, 0xdc322f],
+ \ 'magenta' : [5, 0xd33682],
+ \ 'violet' : [13, 0x6c71c4],
+ \ 'blue' : [4, 0x268bd2],
+ \ 'cyan' : [6, 0x2aa198],
+ \ 'green' : [2, 0x859900],
+ \ })
+
+let g:Powerline#Colorschemes#solarized#colorscheme = Pl#Colorscheme#Init([
+ \ Pl#Hi#Segments(['SPLIT'], {
+ \ 'n': ['base3', 'base2'],
+ \ 'N': ['base3', 'base2'],
+ \ 'i': ['base3', 'base2'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['mode_indicator'], {
+ \ 'n': ['base2', 'blue', ['bold']],
+ \ 'i': ['base3', 'orange', ['bold']],
+ \ 'v': ['base3', 'magenta', ['bold']],
+ \ 'r': ['base3', 'violet', ['bold']],
+ \ 's': ['base3', 'yellow', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['branch'], {
+ \ 'n': ['base2', 'base02'],
+ \ 'N': ['base02', 'base1'],
+ \ 'i': ['base2', 'base00'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['scrollpercent', 'raw', 'filesize'], {
+ \ 'n': ['base2', 'base0'],
+ \ 'N': ['base00', 'base2'],
+ \ 'i': ['base2', 'base1'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['fileinfo', 'filename'], {
+ \ 'n': ['base2', 'base01', ['bold']],
+ \ 'N': ['base01', 'base2' ],
+ \ 'i': ['base3', 'base1', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['fileinfo.filepath'], {
+ \ 'n': ['base1'],
+ \ 'N': ['base1'],
+ \ 'i': ['base01'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['static_str'], {
+ \ 'n': ['base3', 'green'],
+ \ 'N': ['base02', 'base01'],
+ \ 'i': ['base3', 'blue'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['fileinfo.flags'], {
+ \ 'n': ['base3'],
+ \ 'N': ['base00'],
+ \ 'i': ['base3'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['currenttag', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup'], {
+ \ 'n': ['base00', 'base2'],
+ \ 'i': ['base0', 'base2'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['lineinfo'], {
+ \ 'n': ['base2', 'base01', ['bold']],
+ \ 'N': ['base02', 'base0'],
+ \ 'i': ['base2', 'base00', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['errors'], {
+ \ 'n': ['red', 'base2', ['bold']],
+ \ 'i': ['red', 'base2', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['lineinfo.line.tot'], {
+ \ 'n': ['base3'],
+ \ 'N': ['base02'],
+ \ 'i': ['base3'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['paste_indicator', 'ws_marker'], {
+ \ 'n': ['base3', 'red', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['gundo:static_str.name', 'command_t:static_str.name'], {
+ \ 'n': ['base3', 'red', ['bold']],
+ \ 'N': ['base02', 'base01', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['gundo:static_str.buffer', 'command_t:raw.line'], {
+ \ 'n': ['base3', 'base00'],
+ \ 'N': ['base0', 'base02'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['gundo:SPLIT', 'command_t:SPLIT'], {
+ \ 'n': ['base3', 'base02'],
+ \ 'N': ['base0', 'base03'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['lustyexplorer:static_str.name', 'minibufexplorer:static_str.name', 'nerdtree:raw.name', 'tagbar:static_str.name'], {
+ \ 'n': ['base2', 'green', ['bold']],
+ \ 'N': ['base02', 'base1'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['lustyexplorer:static_str.buffer', 'tagbar:static_str.buffer'], {
+ \ 'n': ['base3', 'base01'],
+ \ 'N': ['base02', 'base01'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['lustyexplorer:SPLIT', 'minibufexplorer:SPLIT', 'nerdtree:SPLIT', 'tagbar:SPLIT'], {
+ \ 'n': ['base2', 'base2'],
+ \ 'N': ['base2', 'base2'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['ctrlp:focus', 'ctrlp:byfname'], {
+ \ 'n': ['base03', 'base01'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['ctrlp:prev', 'ctrlp:next', 'ctrlp:pwd'], {
+ \ 'n': ['base3', 'base00'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['ctrlp:item'], {
+ \ 'n': ['base3', 'violet', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['ctrlp:marked'], {
+ \ 'n': ['base1', 'base01', ['bold']],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['ctrlp:count'], {
+ \ 'n': ['base3', 'violet'],
+ \ }),
+ \
+ \ Pl#Hi#Segments(['ctrlp:SPLIT'], {
+ \ 'n': ['base3', 'base03'],
+ \ }),
+ \ ])
Something went wrong with that request. Please try again.