You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.8 KiB

local colors = {}
colors.get_colors = function()
local mycolors = {} ---@type table<string,string>
mycolors = {
-- common
accent = "#C586C0",
bg = "#191919",
bg_alt = "#121212",
fg = "#D4D4D4",
ui = "#4D5566",
-- syntax
tag = "#9CDCFE",
func = "#DCDCAA",
entity = "#9CDCFE",
string = "#CE9178",
regexp = "#D16969",
markup = "#C586C0",
keyword = "#C586C0",
special = "#D7BA7D",
comment = "#608B4E",
constant = "#D4D4D4",
operator = "#C586C0",
error = "#FF0000",
-- extended color palette
fg_idle = "#FFFF00",
warning = "#FFFF00",
-- ui
line = "#00010A",
line_alt = "#772222",
panel_bg = "#0D1016",
panel_shadow = "#00010A",
panel_border = "#000000",
gutter_normal = "#323945",
gutter_active = "#464D5E",
selection_bg = "#273747",
selection_inactive = "#1B2733",
selection_border = "#304357",
guide_active = "#393F4D",
guide_normal = "#242A35",
-- vcs
vcs_added = "#608B4E",
vcs_modified = "#9CDCFE",
vcs_removed = "#D16969",
}
-- Extend the colors with overrides passed by `color_overrides`
local config = require('tccs.config')
if config.opts.color_overrides then
mycolors = vim.tbl_extend('force', mycolors, config.opts.color_overrides)
end
return mycolors
end
return colors