71 Commits

Author SHA1 Message Date
divan
290893e14a Updated macOS truecolor scheme 2024-04-08 11:21:30 +07:00
Pavel Pertsev
f1ecde848f Update README.md 2023-08-14 16:04:06 +02:00
Pavel Pertsev
bf2885a95e Update README.md 2020-07-03 15:42:06 +03:00
Michiel Van Couwenberghe
040138616b Add support for coc.nvim (#309) 2020-02-23 07:05:55 +03:00
Chayoung You
f589394335 Fix link to Fira Mono (#262) (#273) 2020-02-23 06:46:31 +03:00
Pavel Pertsev
cb4e7a5643 Merge pull request #221 from thinca/remove-autocmd
Remove unnecessary autocmd
2018-02-25 06:50:04 +03:00
thinca
4174838e19 Remove unnecessary autocmd 2018-01-21 15:05:30 +09:00
Pavel Pertsev
16504d394e Update README.md 2017-10-01 01:06:00 +03:00
Pavel Pertsev
cfbf6990a8 Merge pull request #195 from magicmark/master
Add bold to lightline styles
2017-09-20 13:22:28 +03:00
Mark Larah
f5a8c62a94 Update gruvbox.vim 2017-09-20 00:21:14 -07:00
Mark Larah
d01875ddca Add 'bold' to *.left styling 2017-09-20 00:20:54 -07:00
Pavel Pertsev
76d2bd029f Fix opt 2017-08-20 15:23:32 +03:00
Pavel Pertsev
dffc9ba3d4 Migrate opt to package.json prop 2017-08-19 15:49:11 +03:00
Pavel Pertsev
4866297075 Fix opt symlinking 2017-08-19 15:33:06 +03:00
Pavel Pertsev
c1390722b2 Add package and symlink opt 2017-08-19 15:23:50 +03:00
Pavel Pertsev
2e52310094 Merge pull request #191 from antoinemadec/master
Lightline: add green color for neovim's 'terminal' mode
2017-08-19 00:59:47 +03:00
antoinemadec
1f08ac6c98 Lightline: add green color for neovim's 'terminal' mode 2017-08-18 12:08:27 -07:00
Pavel Pertsev
96f0b0c69e Better multiple-cursors plugin highlight (closes #121) 2017-08-12 17:46:23 +03:00
Pavel Pertsev
c458427759 Update README 2017-08-12 17:12:20 +03:00
Pavel Pertsev
086eb9ce22 Initial purescript support (closes #181) 2017-08-12 17:11:23 +03:00
Pavel Pertsev
4ec70c0c43 Better typescript support (closes #182) 2017-08-12 16:56:52 +03:00
Pavel Pertsev
a37e89fca3 Hi link > highlight 2017-08-12 16:41:32 +03:00
Pavel Pertsev
ee2d07f5e2 Support NERDTree, dirvish (closes #183, closes #124) 2017-08-12 16:19:01 +03:00
Pavel Pertsev
ac607b80a7 Fix airline theme color mappings 2017-08-12 14:26:26 +03:00
Pavel Pertsev
d5265fe63f Adjust vim-sneak autocmd 2017-08-12 13:58:13 +03:00
Pavel Pertsev
fca1a2f714 Adjust visual frames highlight 2017-08-12 07:07:09 +03:00
Pavel Pertsev
86fbb95593 Merge pull request #163 from yashmehrotra/patch-1
Add colors for Python's `try` and `except`
2017-08-12 06:28:58 +03:00
Pavel Pertsev
fc0e32faa6 Merge pull request #87 from kunev/python-additions
Add python conditionals, loops and dotted names
2017-08-12 06:26:49 +03:00
Pavel Pertsev
e5c6c3a359 Refactor terminal colors 2017-08-12 05:41:47 +03:00
Pavel Pertsev
6b493c552d Merge pull request #93 from ianks/master
Add terminal_colors for neovim
2017-08-12 05:27:41 +03:00
Pavel Pertsev
bc1a718e8f Small fix for ale integration 2017-08-12 05:21:46 +03:00
Pavel Pertsev
0cd11da803 Merge pull request #170 from ok100/plugin-ale
Add colorscheme for ALE plugin
2017-08-12 05:21:01 +03:00
Pavel Pertsev
658b76d7c5 Fix string colors which are reversed closes #145 2017-08-12 04:29:57 +03:00
Pavel Pertsev
7c30304a97 Merge pull request #150 from ninrod/master
closes #149
2017-08-12 03:48:23 +03:00
Pavel Pertsev
c55b2b8a6b Fix for vim-sneak 2017-08-12 03:21:55 +03:00
Pavel Pertsev
f06fe7f2ed Update js-syntax (pangloss & yajs) 2017-08-12 03:01:24 +03:00
Ondrej Kipila
416eaa92ba Add Info highlights for ALE plugin 2017-06-28 10:17:45 +02:00
Ondrej Kipila
d7c681d922 Add colorscheme for ALE plugin 2017-05-05 09:00:37 +02:00
Yash Mehrotra
28205e2497 Add colors for Python's try and except 2017-03-09 13:51:01 +05:30
Filipe Correa Lima da Silva
66bba4cb8e closes #149 2016-11-23 19:06:07 -02:00
Pavel Pertsev
127c9d14d4 Update README.md 2016-09-28 15:40:17 +04:00
Pavel Pertsev
c2c15907e9 Fix #132 2016-09-23 19:45:04 +03:00
Pavel Pertsev
00729ba14e Merge pull request #129 from BlakeWilliams/bmw-fix-elixir-module
Highlight elixir module declarations
2016-08-19 19:46:39 +04:00
Blake Williams
ac470ec415 Highlight elixir module declarations
The following commit in vim-elixir caused modules in module declarations
to no longer be highlighted yellow.

babcd09769

This adds a `elixirModuleDeclaration` highlight explicitly to make the
modules yellow again.
2016-08-18 14:32:28 -04:00
Pavel Pertsev
e9d8196ee4 Merge pull request #122 from ethe/master
Fix #120
2016-07-12 20:33:13 +04:00
Gwo
cf214c3e38 Change airline visual color 2016-07-10 13:30:33 +08:00
Zeno Guo
cfc76603cd Fix #120 2016-06-19 21:29:33 +08:00
Pavel Pertsev
d7f7f1951d fix typescript highlighting 2016-06-10 13:18:16 +03:00
Pavel Pertsev
2ea3298f23 fixes #103 2016-06-08 06:03:40 +03:00
Pavel Pertsev
65a695d2f3 whoops again #118 2016-06-08 05:59:23 +03:00
Pavel Pertsev
01134f34d2 whoops #113 2016-06-08 05:54:32 +03:00
Pavel Pertsev
e36636d007 fixes #110 2016-06-08 05:36:30 +03:00
Pavel Pertsev
5038636d26 Merge pull request #115 from synasius/fixed-106-light-bg0-color
fixed #106: modified light background color to fbf1c7
2016-06-08 06:10:31 +04:00
Pavel Pertsev
85633c514c fix #113 2016-06-08 05:05:53 +03:00
Federico Frenguelli
09c7412e82 fixed #106: modified light background color to fbf1c7 2016-04-20 16:39:45 +02:00
Pavel Pertsev
91bae68760 Merge pull request #109 from kshenoy/master
No more messy Signature variable assignment
2016-03-11 13:52:22 +03:00
Kartik Shenoy
fcbef6bdcc No more messy Signature variable assignment 2016-03-11 15:05:45 +05:30
Ian Ker-Seymer
c7b13d9872 Add terminal_colors for neovim
Neovim has support for embedded terminals. However, the colors do not inherit
from the parent shell settings, and end up looking funky. This commit adds 16
color support for Neovim's terminal.

See: https://github.com/neovim/neovim/issues/2897#issuecomment-115464516
2016-01-28 11:36:10 -05:00
Pavel Pertsev
3f228101cd Fixes #90 2016-01-11 10:43:36 +03:00
Pavel Pertsev
c97c520db1 Update README.md 2015-12-31 14:42:28 +03:00
Evgeni Kunev
766b079fc5 Add python conditionals, loops and dotted names 2015-11-10 15:17:10 +02:00
Pavel Pertsev
e4ba7abe5c fix memoized colors 2015-11-04 17:19:05 +03:00
Pavel Pertsev
824d1d64ba add memoized groups 2015-11-04 16:21:09 +03:00
Pavel Pertsev
246d7350de modify lighlint theme 2015-11-04 15:18:05 +03:00
Pavel Pertsev
1203da6591 Merge pull request #83 from gmoe/master
Added colorscheme for Lightline.
2015-11-04 14:01:21 +03:00
Griffin Moe
9310c8567f Updated README. 2015-11-02 06:43:23 -06:00
Griffin Moe
cda6b51ccf Added colorscheme for Lightline. 2015-11-01 08:12:29 -06:00
Pavel Pertsev
3dba3e9466 small fixes 2015-09-05 06:55:38 +03:00
Pavel Pertsev
1f930b7c34 group memoization through hi linking 2015-09-05 06:21:13 +03:00
Pavel Pertsev
0d03883418 optimize all the things 2015-09-05 03:53:27 +03:00
Pavel Pertsev
bff2e86054 fix stupid contrast deprecation test #73 2015-09-04 22:15:03 +03:00
6 changed files with 790 additions and 538 deletions

View File

@@ -1,4 +1,4 @@
<p align="center"><img src="https://imgrush.com/h0EfiWAdb4Ke.svg"></p>
<p align="center"><img src="https://morhetz.com/gruvbox.svg"></p>
gruvbox is heavily inspired by [badwolf][], [jellybeans][] and [solarized][].
@@ -13,7 +13,7 @@ Attention
1. [Read this first](https://github.com/morhetz/gruvbox/wiki/Terminal-specific)
2. Typeface from gallery is [Fantasque Sans Mono](https://github.com/belluzj/fantasque-sans)
3. Typeface from screenshots below is [Fira Mono](http://www.carrois.com/fira-4-1/)
3. Typeface from screenshots below is [Fira Mono](https://mozilla.github.io/Fira/)
Screenshots
-----------
@@ -65,8 +65,8 @@ Features
--------
* Lots of style-customization options (contrast, color invertion, italics usage etc.)
* Extended filetype highlighting: Html, Xml, Vim (and ES6 with [yajs.vim](https://github.com/othree/yajs.vim)), Clojure, C, Python, JavaScript, CoffeeScript, Ruby, Objective-C, Go, Lua, MoonScript, Java, Markdown, Haskell
* Supported plugins: [EasyMotion][], [vim-sneak][], [Indent Guides][], [indentLine][], [Rainbow Parentheses][], [Airline][], [GitGutter][], [Signify][], [ShowMarks][], [Signature][], [Syntastic][], [CtrlP][], [Startify][]
* Extended filetype highlighting: Html, Xml, Vim, Clojure, C, Python, JavaScript, TypeScript, PureScript, CoffeeScript, Ruby, Objective-C, Go, Lua, MoonScript, Java, Markdown, Haskell, Elixir
* Supported plugins: [EasyMotion][], [vim-sneak][], [Indent Guides][], [indentLine][], [Rainbow Parentheses][], [Airline][], [Lightline][], [GitGutter][], [Signify][], [ShowMarks][], [Signature][], [Syntastic][], [Ale][], [CtrlP][], [Startify][], [NERDTree][], [Dirvish][]
[EasyMotion]: https://github.com/Lokaltog/vim-easymotion
[vim-sneak]: https://github.com/justinmk/vim-sneak
@@ -74,13 +74,17 @@ Features
[indentLine]: https://github.com/Yggdroot/indentLine
[Rainbow Parentheses]: https://github.com/kien/rainbow_parentheses.vim
[Airline]: https://github.com/bling/vim-airline
[Lightline]: https://github.com/itchyny/lightline.vim
[GitGutter]: https://github.com/airblade/vim-gitgutter
[Signify]: https://github.com/mhinz/vim-signify
[ShowMarks]: http://www.vim.org/scripts/script.php?script_id=152
[Signature]: https://github.com/kshenoy/vim-signature
[Syntastic]: https://github.com/scrooloose/syntastic
[Ale]: https://github.com/w0rp/ale
[CtrlP]: https://github.com/kien/ctrlp.vim
[Startify]: https://github.com/mhinz/vim-startify
[NERDTree]: https://github.com/scrooloose/nerdtree
[Dirvish]: https://github.com/justinmk/vim-dirvish
Contributions
-------------
@@ -92,9 +96,8 @@ See [gruvbox-contrib][] repo for contributions, ports and extras.
ToDo
----
* Filetype syntax highlighting (R, TeX, Swift, Erlang and I'm still dissatisfied with CSS)
* Plugin support (MiniBufExplorer, Tagbar, Netrw, VimPLug)
* Lightline theme
* Filetype syntax highlighting (R, TeX, Swift, Erlang)
* Plugin support (Tagbar, VimPlug)
Self-Promotion
--------------

View File

@@ -3,7 +3,7 @@
" Description: Retro groove color scheme for Airline
" Author: morhetz <morhetz@gmail.com>
" Source: https://github.com/morhetz/gruvbox
" Last Modified: 22 Aug 2014
" Last Modified: 12 Aug 2017
" -----------------------------------------------------------------------------
let g:airline#themes#gruvbox#palette = {}
@@ -14,22 +14,27 @@ function! airline#themes#gruvbox#refresh()
let accents_group = airline#themes#get_highlight('Special')
let modified_group = [M0[0], '', M0[2], '', '']
let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg'])
let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg'])
let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['StatusLineNC', 'bg'])
let s:N2 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['StatusLineNC', 'fg'])
let s:N2 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['Pmenu', 'bg'])
let s:N3 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['CursorLine', 'bg'])
let g:airline#themes#gruvbox#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#gruvbox#palette.normal_modified = { 'airline_c': modified_group }
let g:airline#themes#gruvbox#palette.normal.airline_warning = warning_group
let g:airline#themes#gruvbox#palette.normal_modified.airline_warning = warning_group
let g:airline#themes#gruvbox#palette.normal.airline_error = error_group
let g:airline#themes#gruvbox#palette.normal_modified.airline_error = error_group
let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Identifier', 'fg'])
let s:I2 = s:N2
let s:I3 = airline#themes#get_highlight2(['Normal', 'fg'], ['StatusLineNC', 'fg'])
let s:I3 = airline#themes#get_highlight2(['Normal', 'fg'], ['Pmenu', 'bg'])
let g:airline#themes#gruvbox#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#gruvbox#palette.insert_modified = g:airline#themes#gruvbox#palette.normal_modified
let g:airline#themes#gruvbox#palette.insert.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
let g:airline#themes#gruvbox#palette.insert_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
let g:airline#themes#gruvbox#palette.insert.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
let g:airline#themes#gruvbox#palette.insert_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
let s:R1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg'])
let s:R2 = s:I2
@@ -38,6 +43,8 @@ function! airline#themes#gruvbox#refresh()
let g:airline#themes#gruvbox#palette.replace_modified = g:airline#themes#gruvbox#palette.normal_modified
let g:airline#themes#gruvbox#palette.replace.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
let g:airline#themes#gruvbox#palette.replace_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
let g:airline#themes#gruvbox#palette.replace.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
let g:airline#themes#gruvbox#palette.replace_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg'])
let s:V2 = s:N2
@@ -46,6 +53,8 @@ function! airline#themes#gruvbox#refresh()
let g:airline#themes#gruvbox#palette.visual_modified = { 'airline_c': [ s:V3[0], '', s:V3[2], '', '' ] }
let g:airline#themes#gruvbox#palette.visual.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
let g:airline#themes#gruvbox#palette.visual_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
let g:airline#themes#gruvbox#palette.visual.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
let g:airline#themes#gruvbox#palette.visual_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
let s:IA = airline#themes#get_highlight2(['TabLine', 'fg'], ['CursorLine', 'bg'])
let g:airline#themes#gruvbox#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)

View File

@@ -0,0 +1,57 @@
" -----------------------------------------------------------------------------
" File: gruvbox.vim
" Description: Gruvbox colorscheme for Lightline (itchyny/lightline.vim)
" Author: gmoe <me@griffinmoe.com>
" Source: https://github.com/morhetz/gruvbox
" Last Modified: 20 Sep 2017
" -----------------------------------------------------------------------------
function! s:getGruvColor(group)
let guiColor = synIDattr(hlID(a:group), "fg", "gui")
let termColor = synIDattr(hlID(a:group), "fg", "cterm")
return [ guiColor, termColor ]
endfunction
if exists('g:lightline')
let s:bg0 = s:getGruvColor('GruvboxBg0')
let s:bg1 = s:getGruvColor('GruvboxBg1')
let s:bg2 = s:getGruvColor('GruvboxBg2')
let s:bg4 = s:getGruvColor('GruvboxBg4')
let s:fg1 = s:getGruvColor('GruvboxFg1')
let s:fg4 = s:getGruvColor('GruvboxFg4')
let s:yellow = s:getGruvColor('GruvboxYellow')
let s:blue = s:getGruvColor('GruvboxBlue')
let s:aqua = s:getGruvColor('GruvboxAqua')
let s:orange = s:getGruvColor('GruvboxOrange')
let s:green = s:getGruvColor('GruvboxGreen')
let s:p = {'normal':{}, 'inactive':{}, 'insert':{}, 'replace':{}, 'visual':{}, 'tabline':{}, 'terminal':{}}
let s:p.normal.left = [ [ s:bg0, s:fg4, 'bold' ], [ s:fg4, s:bg2 ] ]
let s:p.normal.right = [ [ s:bg0, s:fg4 ], [ s:fg4, s:bg2 ] ]
let s:p.normal.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.inactive.right = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
let s:p.inactive.left = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
let s:p.inactive.middle = [ [ s:bg4, s:bg1 ] ]
let s:p.insert.left = [ [ s:bg0, s:blue, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.insert.right = [ [ s:bg0, s:blue ], [ s:fg1, s:bg2 ] ]
let s:p.insert.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.terminal.left = [ [ s:bg0, s:green, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.terminal.right = [ [ s:bg0, s:green ], [ s:fg1, s:bg2 ] ]
let s:p.terminal.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.replace.left = [ [ s:bg0, s:aqua, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.replace.right = [ [ s:bg0, s:aqua ], [ s:fg1, s:bg2 ] ]
let s:p.replace.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.visual.left = [ [ s:bg0, s:orange, 'bold' ], [ s:bg0, s:bg4 ] ]
let s:p.visual.right = [ [ s:bg0, s:orange ], [ s:bg0, s:bg4 ] ]
let s:p.visual.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.tabline.left = [ [ s:fg4, s:bg2 ] ]
let s:p.tabline.tabsel = [ [ s:bg0, s:fg4 ] ]
let s:p.tabline.middle = [ [ s:bg0, s:bg0 ] ]
let s:p.tabline.right = [ [ s:bg0, s:orange ] ]
let s:p.normal.error = [ [ s:bg0, s:orange ] ]
let s:p.normal.warning = [ [ s:bg2, s:yellow ] ]
let g:lightline#colorscheme#gruvbox#palette = lightline#colorscheme#flatten(s:p)
endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,116 +1,71 @@
#!/bin/sh
colors=(
# --- Background shades (used in layers, UI sections) ---
"234=16/18/19" # bg0_h - very dark background
"235=1e/1e/1e" # bg0 - base background
"236=26/24/23" # bg1 - slightly lighter bg
"237=2e/2a/29" # bg2 - line numbers, subtle bg
"239=3f/39/35" # bg3 - border lines, splitbars
"241=53/4a/42" # bg4 - cursor line bg, subtle contrast
"243=68/5c/51" # bg5 - low contrast UI elements
# --- Faded foreground / comments / subdued text ---
"244=7f/70/61" # gray1 - comments
"245=7f/70/61" # gray2 - docstrings, hints (same as gray1)
# --- Main foreground and subtle variants ---
"250=cb/b8/90" # fg - default foreground text
"248=af/9f/81" # fg1 - slightly faded text
"246=97/87/71" # fg2 - further dimmed
# --- Light background highlights (e.g. selection, search) ---
"228=ef/df/ae" # yellow1 - selection bg
"229=fa/ee/bb" # yellow2 - search highlight bg
"230=f8/f4/cd" # lightest - special highlights
"223=e6/d4/a3" # alt highlight bg
# --- Core Gruvbox accent colors ---
"167=f7/30/28" # red - errors, removals
"142=aa/b0/1e" # green - additions, success
"214=f7/b1/25" # yellow - warnings
"175=c7/70/89" # purple - function names, git renamed
"108=7d/b6/69" # aqua - type hints, diffs
"109=71/95/86" # teal - status bars, cursor
"208=fb/6a/16" # orange - search match, bright UI
# --- Darker accent variants for backgrounds or subtle diff ---
"88=89/00/09" # red dark - error background
"100=66/62/0d" # green dark - diff bg
"136=a5/63/11" # yellow dark - change marker
"130=9d/28/07" # orange dark - symbol/markup
"24=0e/53/65" # blue dark - info, links
"96=7b/2b/5e" # purple dark - markdown, hint bg
"66=35/6a/46" # green deep - background diff +
)
# Detect terminal escape sequence wrapping
if [ "${TERM%%-*}" = "screen" ]; then
if [ -n "$TMUX" ]; then
printf "\033Ptmux;\033\033]4;236;rgb:26/24/23\007\033\\"
printf "\033Ptmux;\033\033]4;234;rgb:16/18/19\007\033\\"
printf "\033Ptmux;\033\033]4;235;rgb:1e/1e/1e\007\033\\"
printf "\033Ptmux;\033\033]4;237;rgb:2e/2a/29\007\033\\"
printf "\033Ptmux;\033\033]4;239;rgb:3f/39/35\007\033\\"
printf "\033Ptmux;\033\033]4;241;rgb:53/4a/42\007\033\\"
printf "\033Ptmux;\033\033]4;243;rgb:68/5c/51\007\033\\"
printf "\033Ptmux;\033\033]4;244;rgb:7f/70/61\007\033\\"
printf "\033Ptmux;\033\033]4;245;rgb:7f/70/61\007\033\\"
printf "\033Ptmux;\033\033]4;228;rgb:ef/df/ae\007\033\\"
printf "\033Ptmux;\033\033]4;230;rgb:f8/f4/cd\007\033\\"
printf "\033Ptmux;\033\033]4;229;rgb:fa/ee/bb\007\033\\"
printf "\033Ptmux;\033\033]4;223;rgb:e6/d4/a3\007\033\\"
printf "\033Ptmux;\033\033]4;250;rgb:cb/b8/90\007\033\\"
printf "\033Ptmux;\033\033]4;248;rgb:af/9f/81\007\033\\"
printf "\033Ptmux;\033\033]4;246;rgb:97/87/71\007\033\\"
printf "\033Ptmux;\033\033]4;167;rgb:f7/30/28\007\033\\"
printf "\033Ptmux;\033\033]4;142;rgb:aa/b0/1e\007\033\\"
printf "\033Ptmux;\033\033]4;214;rgb:f7/b1/25\007\033\\"
printf "\033Ptmux;\033\033]4;109;rgb:71/95/86\007\033\\"
printf "\033Ptmux;\033\033]4;175;rgb:c7/70/89\007\033\\"
printf "\033Ptmux;\033\033]4;108;rgb:7d/b6/69\007\033\\"
printf "\033Ptmux;\033\033]4;208;rgb:fb/6a/16\007\033\\"
printf "\033Ptmux;\033\033]4;88;rgb:89/00/09\007\033\\"
printf "\033Ptmux;\033\033]4;100;rgb:66/62/0d\007\033\\"
printf "\033Ptmux;\033\033]4;136;rgb:a5/63/11\007\033\\"
printf "\033Ptmux;\033\033]4;24;rgb:0e/53/65\007\033\\"
printf "\033Ptmux;\033\033]4;96;rgb:7b/2b/5e\007\033\\"
printf "\033Ptmux;\033\033]4;66;rgb:35/6a/46\007\033\\"
printf "\033Ptmux;\033\033]4;130;rgb:9d/28/07\007\033\\"
prefix="\033Ptmux;\033"
suffix="\033\\"
else
printf "\033P\033]4;236;rgb:26/24/23\007\033\\"
printf "\033P\033]4;234;rgb:16/18/19\007\033\\"
printf "\033P\033]4;235;rgb:1e/1e/1e\007\033\\"
printf "\033P\033]4;237;rgb:2e/2a/29\007\033\\"
printf "\033P\033]4;239;rgb:3f/39/35\007\033\\"
printf "\033P\033]4;241;rgb:53/4a/42\007\033\\"
printf "\033P\033]4;243;rgb:68/5c/51\007\033\\"
printf "\033P\033]4;244;rgb:7f/70/61\007\033\\"
printf "\033P\033]4;245;rgb:7f/70/61\007\033\\"
printf "\033P\033]4;228;rgb:ef/df/ae\007\033\\"
printf "\033P\033]4;230;rgb:f8/f4/cd\007\033\\"
printf "\033P\033]4;229;rgb:fa/ee/bb\007\033\\"
printf "\033P\033]4;223;rgb:e6/d4/a3\007\033\\"
printf "\033P\033]4;250;rgb:cb/b8/90\007\033\\"
printf "\033P\033]4;248;rgb:af/9f/81\007\033\\"
printf "\033P\033]4;246;rgb:97/87/71\007\033\\"
printf "\033P\033]4;167;rgb:f7/30/28\007\033\\"
printf "\033P\033]4;142;rgb:aa/b0/1e\007\033\\"
printf "\033P\033]4;214;rgb:f7/b1/25\007\033\\"
printf "\033P\033]4;109;rgb:71/95/86\007\033\\"
printf "\033P\033]4;175;rgb:c7/70/89\007\033\\"
printf "\033P\033]4;108;rgb:7d/b6/69\007\033\\"
printf "\033P\033]4;208;rgb:fb/6a/16\007\033\\"
printf "\033P\033]4;88;rgb:89/00/09\007\033\\"
printf "\033P\033]4;100;rgb:66/62/0d\007\033\\"
printf "\033P\033]4;136;rgb:a5/63/11\007\033\\"
printf "\033P\033]4;24;rgb:0e/53/65\007\033\\"
printf "\033P\033]4;96;rgb:7b/2b/5e\007\033\\"
printf "\033P\033]4;66;rgb:35/6a/46\007\033\\"
printf "\033P\033]4;130;rgb:9d/28/07\007\033\\"
prefix="\033P"
suffix="\033\\"
fi
else
printf "\033]4;236;rgb:26/24/23\033\\"
printf "\033]4;234;rgb:16/18/19\033\\"
printf "\033]4;235;rgb:1e/1e/1e\033\\"
printf "\033]4;237;rgb:2e/2a/29\033\\"
printf "\033]4;239;rgb:3f/39/35\033\\"
printf "\033]4;241;rgb:53/4a/42\033\\"
printf "\033]4;243;rgb:68/5c/51\033\\"
printf "\033]4;244;rgb:7f/70/61\033\\"
printf "\033]4;245;rgb:7f/70/61\033\\"
printf "\033]4;228;rgb:ef/df/ae\033\\"
printf "\033]4;230;rgb:f8/f4/cd\033\\"
printf "\033]4;229;rgb:fa/ee/bb\033\\"
printf "\033]4;223;rgb:e6/d4/a3\033\\"
printf "\033]4;250;rgb:cb/b8/90\033\\"
printf "\033]4;248;rgb:af/9f/81\033\\"
printf "\033]4;246;rgb:97/87/71\033\\"
printf "\033]4;167;rgb:f7/30/28\033\\"
printf "\033]4;142;rgb:aa/b0/1e\033\\"
printf "\033]4;214;rgb:f7/b1/25\033\\"
printf "\033]4;109;rgb:71/95/86\033\\"
printf "\033]4;175;rgb:c7/70/89\033\\"
printf "\033]4;108;rgb:7d/b6/69\033\\"
printf "\033]4;208;rgb:fb/6a/16\033\\"
printf "\033]4;88;rgb:89/00/09\033\\"
printf "\033]4;100;rgb:66/62/0d\033\\"
printf "\033]4;136;rgb:a5/63/11\033\\"
printf "\033]4;24;rgb:0e/53/65\033\\"
printf "\033]4;96;rgb:7b/2b/5e\033\\"
printf "\033]4;66;rgb:35/6a/46\033\\"
printf "\033]4;130;rgb:9d/28/07\033\\"
prefix=""
suffix="\033\\"
fi
# Apply one color index+value to the terminal palette
set_color() {
index="${1%%=*}"
value="${1#*=}"
printf "${prefix}\033]4;%s;rgb:%s\007${suffix}" "$index" "$value"
}
# Loop over all defined colors
for color in "${colors[@]}"; do
set_color "$color"
done

10
package.json Normal file
View File

@@ -0,0 +1,10 @@
{
"name": "gruvbox",
"version": "2.0.0",
"repository": "git@github.com:morhetz/gruvbox.git",
"author": "Pavel Pertsev <morhetz@gmail.com>",
"license": "MIT",
"vim": {
"opt": true
}
}