Skip to content

rjuer/nordic.nvim

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ’ Nordic

Tests

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

From my dotfiles: image

Telescope

Flat: image Classic: image

Dashboard

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 {
    -- Enable bold keywords.
    bold_keywords = false,
    -- Enable italic comments.
    italic_comments = true,
    -- Enable general editor background transparency.
    transparent_bg = 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,
    -- Override the styling of any highlight group.
    override = {},
    -- Cursorline options.
    cursorline = {
        -- Enable bold font in cursorline.
        bold = false,
        -- Avialable styles: 'dark', 'light'.
        theme = 'dark',
        -- Hide the cursorline when the window is not focused.
        hide_unfocused = false,
    },
    noice = {
        -- Available styles: `classic`, `flat`.
        style = 'flat',
    },
    telescope = {
        -- Available styles: `classic`, `flat`.
        style = 'flat',
    },
    leap = {
        -- Dims the backdrop when using leap.
        dim_backdrop = false,
    },
}

An example of overriding the TelescopePromptTitle colors:

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

πŸ—’οΈ Supported Plugins

For the list of supported plugins, please take a look at this directory.

πŸ’» Supported Platforms

For the list of supported platforms, please take a look at this directory.

πŸŽ™οΈ Acknowledgements


About

πŸŒ’ Nord for Neovim, but warmer and darker. Supports a variety of plugins and other platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 99.9%
  • Vim Script 0.1%