Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mono Colorscheme

A dark Neovim colorscheme based on Moonfly, with a focus on monochromatic aesthetics.

NOTE:

  • Only tested with neovim.
  • Code structure is now bullsh*t. All highlights are in a single file lmao
  • Only works quite well with my nvim setup at psynyde/nvim. All plugins used by me are well supported :D

Features

  • Dark background with carefully chosen colors
  • Bytecode compilation for near-instant startup
  • Terminal colors support
  • Italic support (can be disabled)
  • Transparent background support
  • Undercurl support
  • Customizable options

Installation

Using a plugin manager

use 'psynyde/mono'

Usage

Add the following to your init.lua:

vim.cmd('colorscheme mono')

Configuration

To customize the colorscheme, use the setup function.

Example: (using lazy.nvim)

{
    "psynyde/mono",
    lazy = false,
    priority = 1000,
    config = function()
        require("mono").setup({
            italics = true,
            undercurl = true,
            transparent = true,
        })
        vim.cmd.colorscheme("mono")
    end,
}

Available Options

Option Description Default
italics Use italics for comments, keywords, etc. true
terminal_colors Use the theme's palette for the terminal UI. true
transparent Use a transparent background. false
undercurl Use undercurls for spelling and lint errors. false

Compilation

  • Invalidation: the compiled cache is re-generated automatically when the plugin version or any relevant option (transparent, italics, undercurl, terminal_colors) changes.

  • Manual recompile:

    :MonoCompile
  • Debug: set vim.g.mono_debug = true before loading to also write the human-readable Lua source to ~/.cache/nvim/mono/mono.lua.

Lualine

This colorscheme includes a lualine theme. To use it, set the theme in your lualine configuration:

require('lualine').setup {
  options = {
    theme = 'mono'
    -- ... your other lualine options
  }
}

Preview:

image image

License

MIT License

About

monochromatic colorscheme for neovim (btw)

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages