Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/UtkarshVerma/molokai.nvim
Molokai colorscheme for Neovim.
https://github.com/UtkarshVerma/molokai.nvim
Last synced: 3 months ago
JSON representation
Molokai colorscheme for Neovim.
- Host: GitHub
- URL: https://github.com/UtkarshVerma/molokai.nvim
- Owner: UtkarshVerma
- License: mit
- Created: 2022-08-07T10:46:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-09T05:19:44.000Z (over 1 year ago)
- Last Synced: 2024-05-05T15:36:22.952Z (6 months ago)
- Language: Lua
- Size: 117 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# molokai.nvim
A dark Neovim theme written in Lua ported from the Visual Studio Code [Dark Molokai](https://github.com/nonylene/vscode-dark-molokai-theme) theme.
> This repo heavily borrows source code from the awesome [tokyonight](https://github.com/folke/tokyonight.nvim/) theme for Neovim.
## ✨ Features
- supports the latest Neovim 5.0 features like TreeSitter and LSP
- minimal inactive statusline
- vim terminal colors
- darker background for sidebar-like windows
- **lualine** theme### Plugin Support
- [TreeSitter](https://github.com/nvim-treesitter/nvim-treesitter)
- [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim)
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
## ⚡️ Requirements
- Neovim >= 0.5.0
## 📦 Installation
Install the theme with your preferred package manager:
[vim-plug](https://github.com/junegunn/vim-plug)
```vim
Plug 'UtkarshVerma/molokai.nvim', { 'branch': 'main' }
```[packer](https://github.com/wbthomason/packer.nvim)
```lua
use 'UtkarshVerma/molokai.nvim'
```## 🚀 Usage
Enable the colorscheme:
```vim
" Vim Script
colorscheme molokai
``````lua
-- Lua
vim.cmd[[colorscheme molokai]]
```To enable the `Molokai` theme for `Lualine`, simply specify it in your lualine settings:
```lua
require('lualine').setup {
options = {
-- ... your lualine config
theme = 'molokai'
-- ... your lualine config
}
}
```## 🍭 Extras
You can easily use the color palette for other plugins inside your Neovim config:
```lua
local colors = require("molokai.colors").setup({}) -- pass in any of the config options as explained above
local utils = requires("molokai.util")aplugin.background = colors.bg_dark
aplugin.my_error = util.brighten(colors.red1, 0.3)
```