Skip to content

About

A port of the much loved Alabaster theme, for Neovim and Ghostty.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

alabaster.nvim

A Neovim port of Alabaster, a minimal light and dark theme.

Alabaster light and dark palettes on the same Lua example, split diagonally over a stone-textured background

Only strings, constants, comments, and global definitions are highlighted. Keywords and everything else stay plain.

Installation

Requires termguicolors (on by default in Neovim 0.10+ when the terminal supports it).

vim.pack (Neovim 0.12+):

vim.pack.add({ 'https://github.com/mcncl/alabaster.nvim' })
vim.cmd.colorscheme('alabaster')

lazy.nvim:

{
  'mcncl/alabaster.nvim',
  lazy = false,
  priority = 1000,
  config = function()
    vim.cmd.colorscheme('alabaster')
  end,
}

Configuration

Call setup() before loading the colorscheme. All options are optional:

require('alabaster').setup({
  style = nil,             -- "light" or "dark"; nil follows 'background'
  transparent = false,     -- don't set a background colour
  italic_comments = false,
})
vim.cmd.colorscheme('alabaster')

By default the style follows background, which Neovim detects from your terminal. Set style to pin one.

:Alabaster light|dark|toggle switches style for the current session.

Lualine

require('lualine').setup({ options = { theme = 'alabaster' } })

Ghostty

Copy extras/ghostty/* to ~/.config/ghostty/themes/, then add:

theme = light:alabaster-light,dark:alabaster-dark

Credits

Original theme by Nikita Prokopov. Licensed under the MIT License.

About

A port of the much loved Alabaster theme, for Neovim and Ghostty.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Contributors

Languages