Skip to content

thefish/irae.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Irae

Neovim colorscheme loosely based on ir_black and code derived from Nordic.

Idea was to bring back days of glory of ir_black, but in dimmer and more pastel manner.

Pull requests are welcome!

Irae neovim theme

Installation

lazy.nvim:

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

packer.nvim:

use 'thefish/irae.nvim'

vim-plug:

Plug 'thefish/irae.nvim', { 'branch': 'master' }

Configuration

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

require 'irae' .setup {
    -- This callback can be used to override the colors used in the palette.
    on_palette = function(palette) return palette end,
    -- 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.  Also includes visual/selection.
    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,
    },
    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 window
        dark_background = true,
    }
}

An example of overriding the TelescopePromptTitle colors:

local palette = require 'irae.colors'
require 'irae' .setup {
    override = {
        TelescopePromptTitle = {
            fg = palette.red.bright,
            bg = palette.green.base,
            italic = true,
            underline = true,
            sp = palette.yellow.dim,
            undercurl = false
        }
    }
}

Acknowledgements

About

neovim theme loosely based on ir_black

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages