https://github.com/numToStr/gruvbox-material
Fork of gruvbox-material
https://github.com/numToStr/gruvbox-material
Last synced: 7 months ago
JSON representation
Fork of gruvbox-material
- Host: GitHub
- URL: https://github.com/numToStr/gruvbox-material
- Owner: numToStr
- License: mit
- Created: 2020-08-23T08:45:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-11T12:43:04.000Z (almost 4 years ago)
- Last Synced: 2024-11-16T03:11:49.618Z (7 months ago)
- Language: Vim script
- Size: 655 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## NOTE: This is a fork of [gruvbox_material](https://github.com/sainnhe/gruvbox-material). I just changed some colors to my liking. The changed colors will only be effective if `background=dark` and `g:gruvbox_material_background='hard'`
- changed background color from `#1d2021` to `#1c1c1c`.
- changed tabline fill color from `#282828` to `#1c1c1c` (for airline)
- changed inactive tab color from `#504945` to `#3c3836` (for airline)
- removed `fzf.vim` color scheme. Bring your own config or use the default one below.
```vim
let g:fzf_colors = {
\ 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Green'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'hl+': ['fg', 'Aqua'],
\ 'info': ['fg', 'Aqua'],
\ 'prompt': ['fg', 'Orange'],
\ 'pointer': ['fg', 'Blue'],
\ 'marker': ['fg', 'Yellow'],
\ 'spinner': ['fg', 'Yellow'],
\ 'header': ['fg', 'Grey']
\ }
```## Introduction
Gruvbox Material is a modified version of [Gruvbox](https://github.com/morhetz/gruvbox), the contrast is adjusted to be softer in order to protect developers' eyes.
There are 3 palettes available in this color scheme:
material
: Carefully designed to have a soft contrast(click on this line to preview)| | 𝐃𝐚𝐫𝐤 | 𝐋𝐢𝐠𝐡𝐭 |
| :----: | :---------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: |
| 𝐇𝐚𝐫𝐝 |  |  |
| 𝐌𝐞𝐝𝐢𝐮𝐦 |  |  |
| 𝐒𝐨𝐟𝐭 |  |  |
mix
: Color palette obtained by calculating the mean of the other two(click on this line to preview)| | 𝐃𝐚𝐫𝐤 | 𝐋𝐢𝐠𝐡𝐭 |
| :----: | :----------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: |
| 𝐇𝐚𝐫𝐝 |  |  |
| 𝐌𝐞𝐝𝐢𝐮𝐦 |  |  |
| 𝐒𝐨𝐟𝐭 |  |  |
original
: The color palette used in the original gruvbox(click on this line to preview)| | 𝐃𝐚𝐫𝐤 | 𝐋𝐢𝐠𝐡𝐭 |
| :----: | :---------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: |
| 𝐇𝐚𝐫𝐝 |  |  |
| 𝐌𝐞𝐝𝐢𝐮𝐦 |  |  |
| 𝐒𝐨𝐟𝐭 |  |  |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.
- [Italic support](https://github.com/sainnhe/icursive-nerd-font) 🎉## Installation
### Via Plugin Manager
Take [vim-plug](https://github.com/junegunn/vim-plug) for example:
```vim
Plug 'numtostr/gruvbox-material'
```For better syntax highlighting support, please install [sheerun/vim-polyglot](https://github.com/sheerun/vim-polyglot) or [nvim-treesitter/nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter).
### Manually
1. Clone this repository.
2. Copy `/path/to/gruvbox-material/autoload/gruvbox_material.vim` to `~/.vim/autoload/`.
3. Copy `/path/to/gruvbox-material/colors/gruvbox-material.vim` to `~/.vim/colors/` .
4. Copy `/path/to/gruvbox-material/doc/gruvbox-material.txt` to `~/.vim/doc/` and execute `:helptags ~/.vim/doc/` to generate help tags.
5. To install [airline](https://github.com/vim-airline/vim-airline) theme, copy `/path/to/gruvbox-material/autoload/airline/themes/gruvbox_material.vim` to `~/.vim/autoload/airline/themes/` .
6. To install [lightline](https://github.com/itchyny/lightline.vim) theme, copy `/path/to/gruvbox-material/autoload/lightline/colorscheme/gruvbox_material.vim` to `~/.vim/autoload/lightline/colorscheme/` .### AUR
There are some packages available for Arch Linux users in AUR:
- [vim-gruvbox-material-git](https://aur.archlinux.org/pkgbase/vim-gruvbox-material-git/)
- [neovim-gruvbox-material-git](https://aur.archlinux.org/pkgbase/neovim-gruvbox-material-git/)## Usage
See [`:help gruvbox-material.txt`](https://github.com/sainnhe/gruvbox-material/blob/master/doc/gruvbox-material.txt)
## Related Projects
See this [wiki page](https://github.com/sainnhe/gruvbox-material/wiki/Related-Projects).
## More Color Schemes
- [Everforest](https://github.com/sainnhe/everforest)
- [Edge](https://github.com/sainnhe/edge)
- [Sonokai](https://github.com/sainnhe/sonokai)## Credits
- The color palette is based on [gruvbox](https://github.com/morhetz/gruvbox) by [@morhetz](https://github.com/morhetz)
- The color palette is adjusted by [@sainnhe](https://github.com/sainnhe)## Inspirations
- [morhetz/gruvbox](https://github.com/morhetz/gruvbox): original gruvbox
- [atom.io](https://atom.io): the `white` color in the dark variant
- [zefei/cake16](https://github.com/zefei/cake16): the `black` color in the light variant
- [Google Material Design](https://www.material.io)## Maintainers
| [](https://github.com/sainnhe) | [](https://github.com/zxYin) |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Sainnhe Park](https://github.com/sainnhe) | [Zixin Yin](https://github.com/zxYin) |## License
[MIT](./LICENSE) © sainnhe