Skip to content

jascha030/nitepal.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ™ nitepal.nvim

Nitepal Hero

Neovim Lua

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.

โœจ Features

  • Treesitter Support: Rich syntax highlighting for better code readability.
  • Semantic Highlighting: Support for LSP semantic tokens.
  • Lualine Integration: Custom theme for lualine.nvim included.
  • Extras: Color configurations for WezTerm and Ghostty.
  • Customizable: Easily toggle italics, transparency, and specific UI elements.

๐Ÿ“ธ Gallery

Dark Mode (Nitepal)

PHP Telescope
PHP Telescope

Light Mode (Litepal)

Lua Rust
Lua Rust

๐Ÿ“ฆ Installation

{
  "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 nitepal

โš™๏ธ Configuration

You 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 = {}, 
    },
})

๐Ÿงฉ Statusline (Lualine)

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'
    }
})

๐Ÿš€ Extras

Configuration files for external terminal emulators are located in the extras/ directory.

  • WezTerm: extras/wezterm/
  • Ghostty: extras/ghostty/

๐ŸŽจ Palette

Name Hex Color
white #969ac9 #969ac9
bright_white #fffcfc #fffcfc
alt_white #6183bb #6183bb
black #32466e #32466e
bright_black #465a82 #465a82
dark_black #1f2335 #1f2335
alt_black #232235 #232235
gray #737aa2 #737aa2
gray1 #6172b0 #6172b0
gray2 #545c7e #545c7e
gray3 #3b4261 #3b4261
red #ea1479 #ea1479
bright_red #f47cb4 #f47cb4
dark_red #d4007c #d4007c
alt_red #ff007c #ff007c
orange #f05033 #f05033
bright_orange #ff8000 #ff8000
yellow #ffcc00 #ffcc00
bright_yellow #ffae31 #ffae31
green #2da44e #2da44e
bright_green #9ece6a #9ece6a
dark_green #5d7b23 #5d7b23
alt_green #8fd742 #8fd742
cyan #0a6e81 #0a6e81
bright_cyan #1abc9c #1abc9c
alt_cyan #41a6b5 #41a6b5
blue #3d59a1 #3d59a1
bright_blue #8494FF #8494FF
dark_blue #364A82 #364A82
alt_blue #467CDA #467CDA
magenta #6f42c1 #6f42c1
bright_magenta #A59BFF #A59BFF
alt_magenta #5f5fec #5f5fec
purple #9d7cd8 #9d7cd8
bright_purple #bb9af7 #bb9af7
alt_purple #C792EA #C792EA
pink #efc9f2 #efc9f2
none NONE

Variants

Variant Role Hex Color
Light Background #e0e1eb #e0e1eb
Light Foreground #444a73 #444a73
Dark Background #1e2030 #1e2030
Dark Foreground #c8d3f5 #c8d3f5

๐Ÿ™ Acknowledgements

  • 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

About

Neovim colorscheme based on Palenight.

Topics

Resources

Stars

Watchers

Forks