- Notifications
You must be signed in to change notification settings - Fork65
🌒 Nord for Neovim, but warmer and darker. Supports a variety of plugins and other platforms.
License
AlexvZyl/nordic.nvim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A Neovim colorscheme based onNord, but Aurora > Frost. The idea behind this colorscheme is to use Nord, but add some darker colors and use Aurora more prominently than Nord themes usually do. This ends up creating a colorscheme that is soft on the eyes.
If there is anything that does not seem right, even if it is a very small highlight, please let me know with an issue or PR!
For the list of colors/palette, seethis file. Some extra colors and use cases are generated inthis file.
Withpacker.nvim:
use'AlexvZyl/nordic.nvim'
Withlazy.nvim:
{'AlexvZyl/nordic.nvim',lazy=false,priority=1000,config=function()require('nordic').load()end}Withvim-plug:
Plug'AlexvZyl/nordic.nvim', {'branch':'main' }
Using vim:
colorscheme nordicUsing lua:
vim.cmd.colorscheme('nordic')-- orrequire('nordic').load()
Using with lualine:
require('lualine').setup({options= {theme='nordic' }})
If you want to use the color palette somewhere else, you can access it with:
localpalette=require('nordic.colors')
Warning
Please make sure thatrequire('nordic.colors') is calledafter setup, otherwise the colors might be wrong for your config.
Nordic will use the default values, unlesssetup is called. Below is the default configuration.
require('nordic').setup({-- This callback can be used to override the colors used in the base palette.on_palette=function(palette)end,-- This callback can be used to override the colors used in the extended palette.after_palette=function(palette)end,-- This callback can be used to override highlights before they are applied.on_highlight=function(highlights,palette)end,-- Enable bold keywords.bold_keywords=false,-- Enable italic comments.italic_comments=true,-- Enable editor background transparency.transparent= {-- Enable transparent background.bg=false,-- Enable transparent background for floating windows.float=false, },-- Enable brighter float border.bright_border=false,-- Reduce the overall amount of blue in the theme (diverges from base Nord).reduced_blue=true,-- Swap the dark background with the normal one.swap_backgrounds=false,-- Cursorline options.cursorline= {-- Bold font in cursorline.bold=false,-- Bold cursorline number.bold_number=true,-- Available styles: 'dark', 'light'.theme='dark',-- Blending the cursorline bg with the buffer bg.blend=0.85, },-- Visual selection options.visual= {-- Bold font in visual selection.bold=false,-- Bold visual selection number.bold_number=true,-- Available styles: 'dark', 'light'.theme='dark',-- Blending the visual selection bg with the buffer bg.blend=0.85, },noice= {-- Available styles: `classic`, `flat`.style='classic', },telescope= {-- Available styles: `classic`, `flat`.style='flat', },leap= {-- Dims the backdrop when using leap.dim_backdrop=false, },ts_context= {-- Enables dark background for treesitter-context windowdark_background=true, }})
Examples:
on_palette
An example of overriding colors in the base palette:
require('nordic').setup({on_palette=function(palette)palette.black0="#BF616A"palette.green.base=palette.cyan.baseend,})
after_palette
An example of setting the visual selection color (for more values seethis file):
require('nordic').setup({after_palette=function(palette)localU=require("nordic.utils")palette.bg_visual=U.blend(palette.orange.base,palette.bg,0.15)end,})
on_highlight
An example of overriding theTelescopePromptTitle colors:
require('nordic').setup({on_highlight=function(highlights,palette)highlights.TelescopePromptTitle= {fg=palette.red.bright,bg=palette.green.base,italic=true,underline=true,sp=palette.yellow.dim,undercurl=false }end,})
And an example of disabling all italics:
require('nordic').setup({on_highlight=function(highlights,_palette)for_,highlightinpairs(highlights)dohighlight.italic=falseendend})
For the list of supported plugins, please take a look atthis directory.
For the list of supported platforms, please take a look atthis directory.
All of the platform files are generated using a template system. Have a look atthis directory to see how it works.
Note
I don't personally use all of the platforms and plugins in the list, so if something is not right, or you have a suggestion, please open a PR!
- folke/tokyonight served as an excellent example and template to create a Neovim theme.
- Dotfiles used in the screenshots.
- Aonodensetsu/prev_gen was used to create the palette preview.
About
🌒 Nord for Neovim, but warmer and darker. Supports a variety of plugins and other platforms.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.


