8000 GitHub - vlyr/nordic.nvim: πŸŒ’ Nord for Neovim, but warmer and darker. Supports a variety of plugins and other platforms.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

License

Notifications You must be signed in to change notification settings

vlyr/nordic.nvim

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

Repository files navigation

πŸŒ’ Nordic

Tests

A fork of nordic.nvim with a darker background for added contrast.

⚠️   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

image

🎨 Palette

TODO

πŸ“Ÿ Terminal Emulators

Properly rendering fonts can be a complex problem and, as expected, different terminal emulators (TE) have different results. I personally use Kitty due to it having the best font rendering (imo). So if you use a different TE and the colors seem slightly inconsistent, that might be why.

Comparison

Kitty:
image

Alacritty:
image

Neovide:
image

πŸ“¦ 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 {
    -- Available themes: 'nordic', 'onedark'.
    -- Onedark is WIP.
    theme = 'nordic',
    -- 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 = true,
    -- Nordic specific options.
    -- Set all to false to use original Nord colors.
    -- Adjusts some colors to make the theme a bit nicer (imo).
    nordic = {
        -- Reduce the overall amount of blue in the theme (diverges from base Nord).
        reduced_blue = true,
    },
    -- Onedark specific options.
    -- Set all to false to keep original onedark colors.
    -- Adjusts some colors to make the theme a bit nicer (imo).
    -- WIP.
    onedark = {
        -- Brighten the whites to fit the theme better.
        brighter_whites = true,
    },
    -- Override the styling of any highlight group.
    override = {},
    cursorline = {
        -- Enable bold font in cursorline.
        bold = false,
        -- Avialable styles: 'dark', 'light'.
        theme = 'light',
        -- Hide the cursorline when the window is not focused.
        hide_unfocused = true,
    },
    noice = {
        -- Available styles: `classic`, `flat`.
        style = 'classic',
    },
    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' .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. If you want other plugins to be supported either open an issue or submit a PR!

πŸ’» Supported Platforms

The list of currently supported platforms.

πŸŽ™οΈ 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%
0