Skip to content

Retro groove color scheme for Vim with high contrast colors.

License

Notifications You must be signed in to change notification settings

iibe/gruvbox-high-contrast

Repository files navigation

Gruvbox High Contrast

Gruvbox High Contrast is a modified version of Gruvbox (retro groove color scheme for Vim), the contrast is high up in order to improve code readability.

There are 2 color modes available (as in original Gruvbox theme):

  • light - white background.
  • dark - black background.

There are 3 palettes for each color mode (as in original Gruvbox theme):

  • hard - high color intensity background (#000000/#ffffff).
  • medium - medium color intensity background (#070707/#f7f7f7).
  • soft - soft color intensity background (#0f0f0f/#efefef).

Screenshots

Dark mode

let g:gruvbox_contrast_dark = 'hard'

colorscheme gruvbox-high-contrast
set background=dark

d-hard.png

Light mode

let g:gruvbox_contrast_light = 'hard'

colorscheme gruvbox-high-contrast
set background=light

l-hard.png

Quick start

For vim-plug use code below:

call plug#begin(~/.config/nvim)

Plug 'iibe/gruvbox-high-contrast'

call plug#end()

Setup gruvbox-high-contrast in your init.vim file:

NOTE: It has same API as an original gruvbox theme.

if (has('termguicolors'))
    set termguicolors
endif

if exists('$TMUX')
    if has('nvim')
        set termguicolors
    else
        set term=screen-256color
    endif
endif

let g:gruvbox_bold = 0
let g:gruvbox_italic = 0
let g:gruvbox_transparent_bg = 0
let g:gruvbox_contrast_light = 'hard'
let g:gruvbox_contrast_dark = 'hard'

let g:gruvbox_sign_column = 'bg1'
let g:gruvbox_number_column = 'bg0'
let g:gruvbox_color_column = 'bg1'

colorscheme gruvbox-high-contrast
set background=dark

Status Bar Line

Use with vim-airline or lightline.vim:

" Example: vim-airline/vim-airline
let g:airline_theme = 'gruvbox-high-contrast'

" Example: itchyny/lightline.vim
let g:lightline = { 'colorscheme': 'gruvbox-high-contrast' }

About

Retro groove color scheme for Vim with high contrast colors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published