/nordic.nvim

A Neovim colorscheme based on Nord, but Aurora > Frost.

Primary LanguageLuaMIT LicenseMIT

🌒 Nordic

Test

A Neovim colorscheme based on Nord, 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.

⚠️   This colorscheme is still in early development, so please do not hesitate if there is anything wrong or if you have any suggestions! Currently I am dogfooding it to make sure I do not miss anything.

📷 Showcase

Nvim-tree, lsp, bar-bar, lualine and treesitter: image

Telescope

Flat: image Classic: image

Dashboard & which-key

image

🎨 Palette

TODO

📦 Installation

With packer.nvim:

use 'AlexvZyl/nordic.nvim'

With lazy.nvim:

{
  'AlexvZyl/nordic.nvim',
  lazy = false,
  priority = 1000,
  config = function()
    require 'nordic' .load()
  end
}

With vim-plug:

Plug 'AlexvZyl/nordic.nvim', { 'branch': 'main' }

🚀 Usage

Using vim:

colorscheme nordic

Using lua:

vim.cmd.colorscheme 'nordic'
-- or
require 'nordic' .load()

Using with lualine:

require 'lualine' .setup {
  options = {
    theme = 'nordic'
  }
}

To get the palette in lua:

local palette = require 'nordic.colors'

⚙️ Configuration

Nordic will use the default values, unless setup is called. Below is the default configuration.

require 'nordic' .setup {
  telescope = {
    -- Available styles: `classic`, `flat`.
    style = 'flat'
  },
  -- Enable bold keywords and operators
  bold_keywords = true,
  -- Enable italicized comments
  italic_comments = true,
  -- Enable editor background transparency
  transparent_bg = false,
  -- These can contain anything that neovim understands.
  -- (fg, bg, italic, bold, etc.)
  override = {},
}

An example of overriding the Telescope Prompt Title colors:

local palette = require 'nordic.colors'.palette
require 'nordic'.setup {
  override = {
    TelescopePromptTitle = {
      fg = palette.red.bright,
      bg = palette.green.base,
      italic = true,
    },
  }
}

🗒️ Supported Plugins

This is the list of currently supported plugins. I use these myself, if you want other plugins to be supported either open an issue or submit a PR!

🎙️ Acknowledgements