material_plus.nvim icon indicating copy to clipboard operation
material_plus.nvim copied to clipboard

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.

🌊 material + nvim

Note: deprecated, please check its replacement starry

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

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 For the material color palettes. The lua color scheme framework
  • shaunsingh For the moonlight color schema

The basic color palettes of material is from material.vim

material.vim

material.vim

moonlight.nvim

moonlight

Dracula

Color palettes from github.com/dracula/vim darcula

Monokai

Color palettes from colors/monokai.vim

monokai

Mariana

The sublime 4.0 default color scheme

Color palettes from twolfson/sublime-files

mariana

mariana2

Please check README of material.nvim project for setups.

Emerald

I heard green can reduce eye strain :-P

emerald

Middlenight_blue

middlenight_blue

Earlysummer

Colorful colorscheme

Earlysummer

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

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

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

:Material

Change to specific style

:Material dracula_blood
lua require('material.functions').change_style("dracula_blood")