https://github.com/tourcoder/larn.nvim
A simple and elegant dark theme for Neovim
https://github.com/tourcoder/larn.nvim
Last synced: about 1 month ago
JSON representation
A simple and elegant dark theme for Neovim
- Host: GitHub
- URL: https://github.com/tourcoder/larn.nvim
- Owner: tourcoder
- License: mit
- Created: 2025-07-08T01:41:21.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-07-22T09:09:05.000Z (11 months ago)
- Last Synced: 2025-07-22T11:25:05.870Z (11 months ago)
- Language: Lua
- Homepage:
- Size: 144 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# larn.nvim
A simple and elegant dark theme for Neovim, inspired by `tourcoder/larn.zsh-theme`.

*Font used in the screenshot: [**Hack Nerd Font Mono**](https://www.nerdfonts.com/font-downloads)*
### Features
- Carefully tuned dark color palette with a cool tone
- Built-in support for Lualine statusline
- Syntax highlighting for common filetypes
### Installation
Using [lazy.nvim](https://github.com/folke/lazy.nvim):
```lua
{
"tourcoder/larn.nvim",
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme("larn")
end,
}
```
### Lualine Support
```lua
require("lualine").setup({
options = {
theme = require("larn.lualine"),
}
})
```
### Color Palette
| Element | Color |
|-----------------|----------|
| Background | `#0e1a22` |
| Keyword | `#80dfff` |
| String | `#a8e6cf` |
| Function Name | `#ffd180` |
| Variable | `#f48fb1` |
| Comment | `#5f6b6b` |
| Number | `#ffab91` |
| Type | `#a0cfff` |
| Cursor Line | `#1a2a33` |
| Visual Select | `#3c4b59` |
### Lualine Theme Colors
```lua
-- Normal mode
a = { fg = "#80dfff", bg = "#0e1a22", gui = "bold" },
b = { fg = "#a8e6cf", bg = "#1a2a33" },
c = { fg = "#ffd180", bg = "#2c3e4d" },
x = { fg = "#f48fb1", bg = "#2c3e4d" },
y = { fg = "#ffab91", bg = "#1a2a33" },
z = { fg = "#a0cfff", bg = "#1a2a33" },
-- Modes
insert = { a = { bg = "#0e1a22", fg = "#80dfff", gui = "bold" } },
visual = { a = { bg = "#3c4b59", fg = "#a8e6cf", gui = "bold" } },
replace = { a = { bg = "#1a2a33", fg = "#ffd180", gui = "bold" } },
```
### License
[MIT](LICENSE), 2025 - Present, TOURCODER.COM