https://github.com/bartekjaszczak/luma-nvim
A colorful Neovim theme with dark/light modes and adjustable contrast. Supports treesitter and semantic highlighting.
https://github.com/bartekjaszczak/luma-nvim
colorscheme colourscheme lua neovim neovim-colorscheme neovim-plugin nvim plugin semantic-highlighting theme treesitter
Last synced: about 2 months ago
JSON representation
A colorful Neovim theme with dark/light modes and adjustable contrast. Supports treesitter and semantic highlighting.
- Host: GitHub
- URL: https://github.com/bartekjaszczak/luma-nvim
- Owner: bartekjaszczak
- License: mit
- Created: 2024-10-19T22:23:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-19T22:28:54.000Z (over 1 year ago)
- Last Synced: 2025-02-13T05:44:17.804Z (over 1 year ago)
- Topics: colorscheme, colourscheme, lua, neovim, neovim-colorscheme, neovim-plugin, nvim, plugin, semantic-highlighting, theme, treesitter
- Language: Lua
- Homepage: https://gitlab.com/bartekjaszczak/luma-nvim
- Size: 741 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# luma-nvim

**luma** is a colourful and customisable Neovim theme, centred around yellow colour with accent colours built around it. Engineered with the CIELAB colour space in mind in order to offer optimal contrast and visual clarity.
## Features
- **Dark** and **light** theme variations
- Adjustable contrast
- 10 carefully selected accent colours, along with 10 lighter/darker variations
- Supports **treesitter** highlighting as well as **semantic tokens**
- Supports some major plugins (feel free to open an issue if you'd like your plugin supported)
- Includes themes for **lualine** and **barbecue**
## Usage
### Lazy
If you don't want to change any settings, `setup()` doesn't need to be called. The defaults are presented below.
```lua
{
"https://gitlab.com/bartekjaszczak/luma-nvim",
priority = 1000,
config = function()
require("luma").setup({
theme = "dark", -- "dark" or "light" theme
contrast = "medium" -- "low", "medium" or "high" contrast
})
-- Activate the theme
vim.cmd.colorscheme("luma")
end
}
```
### Lualine
When setting the lualine theme, pick between "luma-dark" and "luma-light", depending on the theme variant you're using.
```lua
require("lualine").setup({
options = {
-- ...
theme = "luma-dark" -- "luma" defaults to "luma-dark"
-- ...
},
})
```
### Barbecue
When setting the barbecue theme, pick between "luma-dark" and "luma-light", depending on the theme variant you're using.
```lua
require("barbecue").setup({
-- ...
theme = "luma-dark" -- "luma" defaults to "luma-dark"
-- ...
})
```
## Variants
**luma** comes in two variants: **dark** and **light**, with each having **three contrast settings**. Colour **luminance** is picked depending on the chosen contrast setting.

## Preview

