Skip to content

JoosepAlviste/palenightfall.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ‘ 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.

βš™οΈ 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.

πŸ“Έ More screenshots