Skip to content

cfsanderson/cfs-gruvbox-material

 
 

Repository files navigation

This is my fork of Sainnhe Park's Gruvbox Material theme. I left the master branch alone and use dev-cfs branch for my personal settings. I wanted something just a little more contrasty with a little darker background than the normal hard/dark version.

Here is a screenshot of my init.vim with the original material hard/dark theme on the left and my updated hard/dark theme on the right.

terminal screenshot

You can install it using package managers just like the instructions for the regular installs but with a flag for my branch.

with vim-plug:

Plug 'cfsanderson/gruvbox-material', {'branch': 'dev-cfs'}

or with Lua using Packer:

use { 'cfsanderson/gruvbox-material',  branch = 'dev-cfs' }

These are the settings that I use:

let g:gruvbox_material_background = 'hard'
let g:gruvbox_material_enable_italic = 1
let g:gruvbox_material_disable_italic_comment = 0
let g:gruvbox_material_menu_selection_background = 'green'
let g:gruvbox_material_palette = 'material'
let g:gruvbox_material_sign_column_background = 'none'

colorscheme gruvbox-material
set background=dark

All credit goes to Sainhe Park. All I did was update a few hex values because I'm a picky designer type. Enjoy.

Introduction

Gruvbox Material is a modified version of Gruvbox, the contrast is adjusted to be softer in order to protect developers' eyes.

There are 3 palettes available in this color scheme:
Full color previews are included for your convenience

👏 𝑵𝒐𝒕𝒆: 𝒄𝒍𝒊𝒄𝒌 𝒐𝒏 𝒕𝒉𝒆 𝒇𝒐𝒍𝒍𝒐𝒘𝒊𝒏𝒈 𝒍𝒊𝒏𝒆𝒔 𝒕𝒐 𝒑𝒓𝒆𝒗𝒊𝒆𝒘

material: Carefully designed to have a soft contrast
𝐃𝐚𝐫𝐤 𝐋𝐢𝐠𝐡𝐭
𝐇𝐚𝐫𝐝 material-hard-dark material-hard-dark material-hard-light material-hard-light
𝐌𝐞𝐝𝐢𝐮𝐦 material-medium-dark material-medium-dark material-medium-light material-medium-light
𝐒𝐨𝐟𝐭 material-soft-dark material-soft-dark material-soft-light material-soft-light
mix: Color palette obtained by calculating the mean of the other two
𝐃𝐚𝐫𝐤 𝐋𝐢𝐠𝐡𝐭
𝐇𝐚𝐫𝐝 mix-hard-dark mix-hard-dark mix-hard-light mix-hard-light
𝐌𝐞𝐝𝐢𝐮𝐦 mix-medium-dark mix-medium-dark mix-medium-light mix-medium-light
𝐒𝐨𝐟𝐭 mix-soft-dark mix-soft-dark mix-soft-light mix-soft-light
original: The color palette used in the original gruvbox
𝐃𝐚𝐫𝐤 𝐋𝐢𝐠𝐡𝐭
𝐇𝐚𝐫𝐝 original-hard-dark original-hard-dark original-hard-light original-hard-light
𝐌𝐞𝐝𝐢𝐮𝐦 original-medium-dark original-medium-dark original-medium-light original-medium-light
𝐒𝐨𝐟𝐭 original-soft-dark original-soft-dark original-soft-light original-soft-light

This color scheme uses the material palette by default, you can use a global variable to switch to another palette.

Features

  • Carefully designed color palette for eye protection.
  • Switch back to the original color palette whenever you like.
  • Highly customizable.
  • Rich support for common file types and plugins.
  • Tree-sitter support.
  • Semantic highlighting support.
  • Italic support 🎉

Documentation

See :help gruvbox-material.txt

Related Projects

See this wiki page.

Contributing

See this post.

More Color Schemes

Credits

Inspirations

Maintainers

Sainnhe Park Zixin Yin Antoine Cotten
Sainnhe Park Zixin Yin Antoine Cotten

License

MIT © sainnhe

Packages

No packages published

Languages

  • Vim Script 96.8%
  • Lua 2.8%
  • Shell 0.4%