repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim/lua/bugabinga/nugu/palette.lua

Raw
-- cterm indices into the wezterm terminal palette.
-- Same indices for dark and light — wezterm swaps the RGB values.
--
-- ANSI 0-15 are conventional terminal colors for general applications.
-- Nugu-specific UI colors use indexed 16+.
--
-- ANSI 0-15:
--   0  content_backdrop       8  content_minor
--   1  error                  9  error (bright)
--   2  content_focus         10  ui_focus (bright)
--   3  warning               11  warning (bright)
--   4  content_important_local 12 content_important_global
--   5  content_accent        13  ui_accent
--   6  info                  14  ui_important_local
--   7  content_normal        15  ui_important_global
--
-- Indexed 16-22:
--  16  debug
--  17  ui_normal
--  18  ui_backdrop
--  19  ui_minor
--  20  ui_focus
--  21  ui_unfocus
--  22  content_unfocus

return {
	['debug']                = 16,
	['error']                = 1,
	info                     = 6,
	warning                  = 3,

	content_normal           = 7,
	content_backdrop         = 0,
	content_accent           = 5,
	content_minor            = 8,
	content_focus            = 2,
	content_unfocus          = 22,
	content_important_global = 12,
	content_important_local  = 4,

	ui_normal                = 17,
	ui_backdrop              = 18,
	ui_accent                = 13,
	ui_minor                 = 19,
	ui_focus                 = 20,
	ui_unfocus               = 21,
	ui_important_global      = 15,
	ui_important_local       = 14,
}