Skip to content

presindent/ethereal.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethereal.nvim

Ethereal is a dark theme for Neovim 0.7.2 and older. It started as the Tokyodark theme which I switched to quite a while ago, but I modified all of its palette with time.

Credits to tiagovla for the original Lua code for the plugins.

image


Installation

lazy

{
    "presindent/ethereal.nvim",
    opts = {
        -- Options for customization go here.
    },
    config = function(_, opts)
        vim.cmd [[colorscheme ethereal]]
    end,
}

Default configuration

local default_config = {
    palette = 1, -- Use `palette = 2` to use the purple palette
    transparent_background = false,
    gamma = 1.00, -- Adjust the brightness of the theme.
    styles = {
        comments = { italic = false }, -- Styling for comments and so on.
        keywords = { italic = true },
        identifiers = { italic = true },
        functions = {},
        variables = {},
    },
    custom_highlights = {} or function(highlights, palette) return {} end, -- Customize highlights.
    custom_palette = {} or function(palette) return {} end, -- Customize palette.
    terminal_colors = true, -- Flag for enabling/disabling terminal colors.
}