Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ray-x/material_plus.nvim

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.
https://github.com/ray-x/material_plus.nvim

color-scheme color-theme colorscheme lua neovim nvim-plugin theme treesitter

Last synced: about 2 months ago
JSON representation

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.

Awesome Lists containing this project

README

        

# 🌊 material + nvim

Note: deprecated, please check its replacement [starry](https://github.com/ray-x/starry.nvim)

The setups is conflicted with original material.vim and material.nvim and please use starry.nvim instead

A collection of material style colorschemes for neovim (Neovim 5.0+ required), written in lua.

This colorscheme plugin was orignally built based on combination of

- [material.nvim](https://github.com/marko-cerovac/material.nvim)
- [moonlight.nvim](https://github.com/shaunsingh/moonlight.nvim)

I added following colorschemes:

- Dracula & Dracula_blood theme
- Monokai (Based on Sublime Build 3)
- Mariana (The latest Sublime (Build 4) builtin color scheme)
- Emerald (Low contrast green color scheme)
- Middlenight_blue (The theme to use in middle night)
- Earlysummer (more vivid colors)

## Why this repo:

- All-In-One
- Smaller/cleaner repo with more colors and more schemas
- Better color contrast and easy for eyes tuning for material.nvim and moonlight.nvim
- Colorscheme color random loading (loading from Deep ocean, Oceanic, Palenight, Lighter, Darker, moonlight, dracula,
monokai, mariana, emerald, middlenight_blue randomly )
- Tracking latest neovim/lsp/treesitter highlight updates. e.g. `NormalFloat`, `FloatShadow`, `LspReferenceRead/Write`
- Random loading
- Daylight mode, tune the color for daytime

## Credits:

- [marko-cerovac](https://github.com/marko-cerovac) For the material color palettes. The lua color scheme framework
- [shaunsingh](https://github.com/shaunsingh) For the moonlight color schema

The basic color palettes of material is from [material.vim](https://github.com/kaicataldo/material.vim)

## material.vim

![material.vim](https://raw.githubusercontent.com/kaicataldo/material.vim/main/screenshots/material-all-variants.png)

## moonlight.nvim

![moonlight](https://user-images.githubusercontent.com/71196912/117904602-a3a55e00-b29f-11eb-9fc0-ab585eafb46e.png)

## Dracula

Color palettes from [github.com/dracula/vim](https://github.com/dracula/vim)
![darcula](https://user-images.githubusercontent.com/1681295/119607837-61038a00-be38-11eb-99b0-48fa7118044f.jpg)

## Monokai

Color palettes from [colors/monokai.vim](https://github.com/crusoexia/vim-monokai)

![monokai](https://user-images.githubusercontent.com/1681295/119609635-3ff06880-be3b-11eb-9394-00ca016abe0b.png)

## Mariana

The sublime 4.0 default color scheme

Color palettes from [twolfson/sublime-files](https://github.com/twolfson/sublime-files/blob/master/Packages/Color%20Scheme%20-%20Default/Mariana.sublime-color-scheme)

![mariana](https://preview.redd.it/efzsm1gf0n171.jpg?width=1520&format=pjpg&auto=webp&s=aafb09e752f7fdc9afe3a3a13d069fda2eddc06d)

![mariana2](https://user-images.githubusercontent.com/1681295/119898862-b600e680-bf85-11eb-84c1-727e5add5a18.jpg)

Please check README of material.nvim project for setups.

## Emerald

I heard green can reduce eye strain :-P

![emerald](https://user-images.githubusercontent.com/1681295/125885744-b19b33e7-cb7c-452c-9def-9a1c4db59603.jpg)

## Middlenight_blue

![middlenight_blue](https://user-images.githubusercontent.com/1681295/125889413-ad5e4b35-d274-4b6d-a8d2-a074628c0d93.jpg)

## Earlysummer

Colorful colorscheme

![Earlysummer](https://user-images.githubusercontent.com/1681295/132972253-45584b1f-d2f1-46f1-a9f7-f1d5bf89ec64.jpg)

## Nighttime and daytime

Some of the scheme allow choose nighttime and day time mode, you can set material_daylight_switch to true to turn on
this feature. Here is an example for nighttime and daytime for earlysummer color scheme

![night time and day time](https://preview.redd.it/ng02dvlthi181.png?width=960&crop=smart&auto=webp&s=3e8c4c492077fa693925bdf70e18e90b2d81d2f8)

## Supported Plugins

All the plugins supported by material.nvim, e.g. Treesitter, LSP, Telescope, NvimTree...

`nvim-cmp`:

![image](https://user-images.githubusercontent.com/1681295/143810714-20c12ba3-5835-44f1-ad9f-58bb02a63136.png =400x)

## Example Setup

```vim
let material_italic_comments = true
let material_italic_string = false
let material_italic_keywords = false
let material_italic_functions = false
let material_italic_variables = false
let material_contrast = true
let material_borders = false
let material_disable_background = false
let material_style_fix=v:true "disable random loading
let material_style="moonlight" "load moonlight everytime or
let material_darker_contrast=v:true
let material_italic_keywords=false
let material_italic_functions=false
let material_daylight_switch=false "this allow using brighter color
" other themes: dracula, oceanic, dracula_blood, 'deep ocean', darker, palenight, monokai, mariana, emerald, middlenight_blue
```

Toggle style

```
:colorscheme material " this allow pickup a colorscheme randomly
```

or

```
:lua require('material.functions').toggle_style()
```

or

```vim
:Material
```

Change to specific style

```vim
:Material dracula_blood
```

```
lua require('material.functions').change_style("dracula_blood")
```