π Palenightfall
A Neovim theme inspired by material palenight. I've used the material palenight theme for a long time and have made many adjustments to it in my config. I thought that it would make sense to turn this into an actual theme.
Here are some differences from the material themes:
- Darker: A darker background color
- Easier on the eyes: Much less red and brown
- Smaller and simpler codebase: A single theme since I only used the palenight variant
- Extensible: Super easily configurable with new colors and highlights
β‘οΈ Requirements
- Neovim >= 0.5.0
π¦ Installation
Install with your favorite plugin manager:
use 'JoosepAlviste/palenightfall.nvim'
π Usage
In Vimscript:
colorscheme palenightfall
Or in Lua:
require('palenightfall').setup()
π― Supported plugins
These are mainly just the plugins I use, but feel free to send a PR or open an issue if there are any others you'd like to see support for.
hrsh7th/nvim-cmp
nvim-telescope/telescope.nvim
lewis6991/gitsigns.nvim
folke/noice.nvim
folke/lazy.nvim
tamago324/lir.nvim
L3MON4D3/LuaSnip
rcarriga/nvim-notify
kyazdani42/nvim-tree.lua
preservevim/vim-markdown
tpope/vim-fugitive
βοΈ Configuration
A transparent background can be enabled with:
require('palenightfall').setup({
transparent = true,
})
Any colors and highlights can be overridden in Lua with the setup
function:
require('palenightfall').setup({
color_overrides = {
cyan = '#fff0000',
},
highlight_overrides = {
-- Check the exact highlight configuration format from the code
Normal = { fg = '#ff0000' },
},
})
There are also explicit functions for overriding either the colors or the highlights:
require('palenightfall').configure_colors({
cyan = '#fff0000',
})
require('palenightfall').configure_highlights({
Normal = { fg = '#ff0000' },
})
-- Make sure to call `.setup()` *after* configuration
require('palenightfall').setup()
You can access the colors if you would like to use them in your own customizations:
local colors = require('palenightfall').colors
require('palenightfall').setup({
highlight_overrides = {
Normal = { fg = colors.cyan },
},
})
See
lua/palenightfall/init.lua
for the default colors and highlights.