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.

61 lines
1.6 KiB

1 year ago
local colors = {}
colors.get_colors = function()
1 year ago
local mycolors = {} ---@type table<string,string>
1 year ago
1 year ago
mycolors = {
1 year ago
-- ui
bg = "#191919",
bg_alt = "#0D1016",
fg = "#D4D4D4",
1 year ago
fg_alt = "#CE9178",
1 year ago
accent = "#C586C0",
1 year ago
accent_alt = "#608B4E",
1 year ago
ui = "#4D5566",
color_column = "#772222",
popup = "#272727",
1 year ago
border = "#242A35",
border_alt = "#393F4D",
1 year ago
-- syntax
1 year ago
tag = "#9CDCFE",
func = "#DCDCAA",
entity = "#9CDCFE",
string = "#CE9178",
regexp = "#D16969",
markup = "#C586C0",
keyword = "#C586C0",
special = "#D7BA7D",
comment = "#608B4E",
constant = "#D4D4D4",
operator = "#C586C0",
1 year ago
-- extended color palette
1 year ago
fg_idle = "#FFFF00",
1 year ago
-- git
added = "#608B4E",
modified = "#9CDCFE",
removed = "#D16969",
-- lsp
error = "#FF0000",
1 year ago
warning = "#FFFF00",
1 year ago
hint = "#608B4E",
-- line
line_fg = "#D4D4D4",
line_bg = "#191919",
line_bg_alt = "#0D1016",
line_visual = "#C586C0",
line_normal = "#608B4E",
line_insert = "#9CDCFE",
line_replace = "#D16969",
line_contrast = "#CE9178",
1 year ago
}
1 year ago
1 year ago
-- 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
1 year ago
1 year ago
return mycolors
1 year ago
end
return colors