An open API service indexing awesome lists of open source software.

https://github.com/2giosangmitom/nightfall.nvim

🍜 Dark theme for Neovim and Vim
https://github.com/2giosangmitom/nightfall.nvim

dark-theme dracula-theme neovim-colorscheme neovim-plugin neovim-theme vim vim-colorscheme

Last synced: 26 days ago
JSON representation

🍜 Dark theme for Neovim and Vim

Awesome Lists containing this project

README

          

# 🌆 Nightfall.nvim

> [!WARNING]
> **DEPRECATED**: I am archiving this repository because I no longer use Neovim. Thank you to everyone who used and contributed to this project!

_Nightfall.nvim_ is a clean and eye-friendly Neovim colorscheme designed to enhance your coding experience. With a minimalist aesthetic and multiple flavors, it reduces eye strain and integrates seamlessly with popular plugins, making it perfect for extended coding sessions.

![Stars](https://img.shields.io/github/stars/2giosangmitom/nightfall.nvim?style=for-the-badge&logo=apachespark&color=C9CBFF&logoColor=D9E0EE&labelColor=302D41)
![Last commit](https://img.shields.io/github/last-commit/2giosangmitom/nightfall.nvim?style=for-the-badge&logo=github&color=7dc4e4&logoColor=D9E0EE&labelColor=302D41)
![Forks](https://img.shields.io/github/forks/2giosangmitom/nightfall.nvim?style=for-the-badge&logo=starship&color=8bd5ca&logoColor=D9E0EE&labelColor=302D41)
![Issues](https://img.shields.io/github/issues/2giosangmitom/nightfall.nvim?style=for-the-badge&logo=lightning&color=8bd5ca&logoColor=D9E0EE&labelColor=302D41)
![Repo size](https://img.shields.io/github/repo-size/2giosangmitom/nightfall.nvim?color=%23DDB6F2&label=SIZE&logo=codesandbox&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41)
![LICENSE](https://img.shields.io/github/license/2giosangmitom/nightfall.nvim?style=for-the-badge&logo=alpinedotjs&color=ee999f&logoColor=D9E0EE&labelColor=302D41)

## ✨ Features

- ⚡️ Automatic caching for faster load times.
- 🌲 Full Treesitter support for enhanced syntax highlighting.
- 🎟️ LSP semantic token integration.
- 🧩 Compatible with major plugins.
- 🖌️ Highly customizable to fit your preferences.
- 🏵 Designed to reduce eye strain.
- 🪁 Multiple flavors to match your style.
- 🍗 Minimalist design for improved readability.

## 🎨 Preview

Click to toggle preview

### Nightfall

![Nightfall](./assets/nightfall.png)

### Deeper Night

![Deeper Night](./assets/deeper-night.png)

### Maron

![Maron](./assets/maron.png)

### Nord

![Nord](./assets/nord.png)

### Transparent Themes

#### Transparent Nightfall

![Transparent Nightfall](./assets/transparent_nightfall.png)

#### Transparent Deeper Night

![Transparent Deeper Night](./assets/transparent_deeper-night.png)

#### Transparent Maron

![Transparent Maron](./assets/transparent_maron.png)

#### Transparent Nord

![Transparent Nord](./assets/transparent_nord.png)

## 🚀 Installation

Install Nightfall.nvim using your favorite Neovim plugin manager.

With [lazy.nvim](https://github.com/folke/lazy.nvim):

```lua
{
"2giosangmitom/nightfall.nvim",
lazy = false,
priority = 1000,
opts = {}, -- Add custom configuration here
config = function(_, opts)
require("nightfall").setup(opts)
vim.cmd("colorscheme nightfall") -- Choose from: nightfall, deeper-night, maron, nord
end,
}
```

## 🎨 Customization

Nightfall.nvim allows overriding colors and highlights to suit your needs. Refer to `:h nightfall_overriding` for details.

```lua
require("nightfall").setup({
color_overrides = {
all = { foreground = "#ffffff" },
nightfall = { background = "#ff0000" },
},
highlight_overrides = {
all = {
Normal = { bg = "#120809" },
},
nightfall = function(colors)
return {
Normal = { bg = colors.black },
}
end,
maron = {
Normal = { fg = "#ffffff" },
},
},
})
```

## 🛠️ Integrations

Seamlessly integrates with various plugins. Enable or customize integrations as needed:

```lua
require("nightfall").setup({
integrations = {
telescope = { enabled = true, style = "borderless" },
flash = { enabled = false },
},
})
```

Disable all default integrations:

```lua
require("nightfall").setup({
default_integrations = false,
})
```

## 🤝 Contributing

We welcome contributions! Whether fixing bugs, adding features, or improving documentation, your help is valuable.

### Steps to Contribute

1. Clone the repository.
2. Load the plugin locally.
3. Create a new branch and start coding.

For lazy.nvim users, use the following setup for local development:

```lua
local augroup = vim.api.nvim_create_augroup("nightfall_dev", { clear = true })

vim.api.nvim_create_autocmd("BufWritePost", {
pattern = "*/lua/nightfall/**.lua",
group = augroup,
callback = function()
for pack, _ in pairs(package.loaded) do
if pack:match("^nightfall") then package.loaded[pack] = nil end
end

local nightfall = require("nightfall")
nightfall.setup({ transparent = false })
nightfall.compile()
vim.cmd.colorscheme(vim.g.colors_name)
vim.notify("Nightfall reloaded", vim.log.levels.INFO, { title = "Nightfall" })
end,
})

return {} -- You can add more lazy.nvim specs here
```

## ❤️ Support

Enjoying Nightfall.nvim? Give it a 🌟 on GitHub and share it with others!

## 📜 License

This project is licensed under the [MIT License](LICENSE).

Thanks to all the amazing [contributors](https://github.com/2giosangmitom/nightfall.nvim/graphs/contributors) 💛

[![Contributors](https://contrib.rocks/image?repo=2giosangmitom/nightfall.nvim)](https://github.com/2giosangmitom/nightfall.nvim/graphs/contributors)

## 🎖️ Acknowledgments

Nightfall.nvim owes gratitude to the following projects for their inspiration and contributions:

- [Onedark Pro](https://github.com/olimorris/onedarkpro.nvim)
- [Catppuccin](https://github.com/catppuccin/nvim)
- [Nightfox](https://github.com/EdenEast/nightfox.nvim)
- [Tokyonight](https://github.com/folke/tokyonight.nvim)