Git Product home page Git Product logo

one_monokai.nvim's Introduction

logo
One Monokai Nvim

VSCode One Monokai theme written in Lua for Neovim.

transparent demo demo

๐Ÿš€ Installation

use "cpea2506/one_monokai.nvim"

Requirement

  • Neovim version >= 0.8.0
  • (Optional) Nvim Treesitter for better syntax highlighting. ๐Ÿ˜‡

โš™๏ธ Setup

vim.cmd.colorscheme "one_monokai"

Or prefer below if you have your custom options

require("one_monokai").setup({
    -- your options
})

Options

Option Description Type Note
transparent enable transparent background boolean N/A
colors custom colors table N/A
themes custom highlighting groups function accepts colors as argument

Default

{
    transparent = false,
    colors = {},
    themes = function(colors)
        return {}
    end,
}

Customization example

You can easily change highlighting groups. Override the list of supported values or add more on your own.

  1. Colors
  2. Themes
require("one_monokai").setup({
    colors = {
        green = "#00ff00",
        blue = "#0000ff",
        roman = "#e36965",
        lmao = "#282c34",
    },
    themes = function(colors)
        return {
            Normal = { bg = colors.lmao },
            Comment = { fg = colors.pink, italic = true },
            ErrorMsg = { fg = "black", bg = "#ec6075", standout = true },
            NormalFloat = { link = "Normal" },
        }
    end,
})

๐Ÿพ Plugins support

lualine demo

require("lualine").setup {
    options = {
    -- ...other options
    theme = "one_monokai"
  }
}

๐Ÿ‘€ Inspiration

This is the best theme Iโ€™ve ever seen in my eyes. Iโ€™ve tried it written in Vim for a long time and decided to write it in Lua for compatibility with Neovim, and make it easy to do some custom changes.

Thanks for these talented and amazing people:

โญ Cool One Monokai projects

one_monokai.nvim's People

Contributors

cpea2506 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.