A dark and light Neovim colorscheme inspired by Material Palenight and Tokyonight.
nitepal.nvim is a highly customizable colorscheme for Neovim written in Lua. It started as a personal port of the Material Palenight theme (popular in the JetBrains ecosystem) but has evolved to incorporate the structural logic and cleanliness of folke/tokyonight.nvim.
It comes in two flavors:
- ๐ Nitepal: A deep, cool dark theme.
- โ๏ธ Litepal: A soft, clean light theme.
โ ๏ธ Warning: This is an early release. Highlight groups and colors are subject to change as I tweak them for my daily workflow.
- Treesitter Support: Rich syntax highlighting for better code readability.
- Semantic Highlighting: Support for LSP semantic tokens.
- Lualine Integration: Custom theme for
lualine.nvimincluded. - Extras: Color configurations for WezTerm and Ghostty.
- Customizable: Easily toggle italics, transparency, and specific UI elements.
| PHP | Telescope |
|---|---|
| Lua | Rust |
|---|---|
{
"jascha030/nitepal.nvim",
lazy = false,
priority = 1000,
config = function()
require("nitepal").setup({
-- your configuration comes here
-- or leave it empty to use the default settings
})
vim.cmd.colorscheme("nitepal")
end,
}use {
'jascha030/nitepal.nvim',
config = function()
vim.cmd('colorscheme nitepal')
end
}Plug 'jascha030/nitepal.nvim'
" After loading plugins:
colorscheme nitepalYou can configure the theme by calling the setup function. Here are the defaults:
require('nitepal').setup({
-- 'dark' | 'light' | false.
-- When false, it respects vim.o.background (recommended for toggling).
style = false,
transparent = {
background = false, -- Disable editor background (use terminal bg)
sidebars = false, -- Transparent sidebar windows (e.g. NvimTree)
floats = false, -- Transparent floating windows
popups = false, -- Transparent popup windows
},
-- Enable contrast for sidebars and floating windows
contrast = true,
-- Enable italics for comments and keywords
italics = true,
colors = {
-- Override specific color codes defined in nitepal.palette
overrides = {},
-- Add new custom colors
custom = {},
},
})A lualine theme is built-in. To use it, simply set the theme in your lualine config:
require('lualine').setup({
options = {
theme = 'nitepal', -- or 'litepal'
}
})Configuration files for external terminal emulators are located in the extras/ directory.
- WezTerm:
extras/wezterm/ - Ghostty:
extras/ghostty/
| Variant | Role | Hex | Color |
|---|---|---|---|
| Light | Background | #e0e1eb |
|
| Light | Foreground | #444a73 |
|
| Dark | Background | #1e2030 |
|
| Dark | Foreground | #c8d3f5 |
- folke/tokyonight.nvim: The codebase structure and logic heavily inspired this project. It is the gold standard for Lua colorschemes.
- Material Theme UI: The original visual inspiration for the color palette, specifically the Palenight variant.
Made with โค๏ธ by Jascha030