Compare commits

..

49 Commits

Author SHA1 Message Date
e50c150428 added yank colors 2024-04-01 23:34:19 +02:00
c4c5af2d75 added yank colors 2024-04-01 23:25:20 +02:00
287a8b4e66 updated modes.nvim colors 2024-04-01 23:21:39 +02:00
09f6ce83a6 resources: added fd 2024-04-01 23:19:28 +02:00
82bd4a4ffb changed line colors 2024-04-01 23:11:42 +02:00
3988d8a538 added modes.nvim and applied refactoring 2024-04-01 23:04:19 +02:00
b0e36734b8 changed markdown colors 2024-02-10 01:58:10 +01:00
101d9ec7bb changed markdown colors 2024-02-07 23:42:13 +01:00
3b3a1859cc checking markdown 2024-02-07 05:31:55 +01:00
42ef097a3e checking markdown 2024-02-07 05:30:59 +01:00
54c8e04705 checking markdown 2024-02-07 05:25:26 +01:00
fa75ae924a added aerial as working 2023-12-12 02:45:18 +01:00
6b6e8dc745 added illuminate as working 2023-12-12 02:10:40 +01:00
5033d19610 added cursorword colors 2023-12-12 02:02:35 +01:00
0c583f1620 added cursorword colors 2023-12-12 02:01:18 +01:00
7f6fa7e9b1 removed barbecue colors 2023-12-12 01:54:17 +01:00
f72a971746 added barbecue colors 2023-12-12 01:52:34 +01:00
6bee46278c colors: changed colorcolumns 2023-12-12 00:18:49 +01:00
7664ee3fff readme: extended list of supported plugins 2023-09-07 04:51:51 +02:00
18561bdd01 updated example picture 2023-09-07 04:46:03 +02:00
b987426ef0 updated example picture 2023-09-07 04:43:46 +02:00
e634ee7d46 changed color for better readibility of text 2023-08-18 01:21:13 +02:00
c581a158c2 changed cursor and search color 2023-08-18 00:38:55 +02:00
e8552b41c0 colors: changed for diff 2023-08-16 02:28:03 +02:00
86b37a3c36 colors: changed for diff 2023-08-16 01:38:35 +02:00
863809c73a colors: changed for diff 2023-08-16 01:35:17 +02:00
afbebf40f0 cleanup colors 2023-08-15 13:44:19 +02:00
c02b5ea65e added number and bold colors 2023-08-15 04:34:45 +02:00
e044f23c70 cleanup colors 2023-08-15 03:57:13 +02:00
62932e9d66 readme improved setup 2023-08-15 03:33:40 +02:00
6a14537a52 cleanup colors 2023-08-15 03:05:19 +02:00
d2b6fff0d0 cleanup colors 2023-08-15 03:04:18 +02:00
5e5fc43b4a cleanup colors 2023-08-15 02:22:34 +02:00
ca17628bbb cleanup colors 2023-08-15 02:09:09 +02:00
ccbc56db95 cleanup colors 2023-08-15 02:03:02 +02:00
7ea1f2d10c revert changes 2023-08-15 01:43:03 +02:00
ca11e607b8 changed nvimtree colors 2023-08-15 01:33:31 +02:00
034925baeb changed nvimtree colors 2023-08-15 01:30:36 +02:00
b9c3bddc07 changed nvimtree colors 2023-08-15 01:27:21 +02:00
30eab32bfe changed lualine colors 2023-08-15 01:22:26 +02:00
8bbc5e7544 changed lualine colors 2023-08-15 01:15:49 +02:00
a8793a30b3 added sign column color 2023-08-15 01:06:31 +02:00
d871ba3755 changed gutter background 2023-08-15 01:02:28 +02:00
bcbbcbe5d4 added cterm colors for pmenu 2023-08-15 00:53:54 +02:00
54340c75e0 added cterm colors for pmenu 2023-08-15 00:51:54 +02:00
29fc7b8916 added cterm colors for pmenu 2023-08-15 00:49:19 +02:00
477ad76665 added cterm colors for pmenu 2023-08-15 00:45:53 +02:00
683d81966c added cterm colors for pmenu 2023-08-15 00:44:13 +02:00
aa91844141 added cterm colors for pmenu 2023-08-15 00:42:43 +02:00
6 changed files with 339 additions and 292 deletions

View File

@@ -1,6 +1,6 @@
# Vim TCCS # Vim TCCS
![colorscheme-example](tccs-example.jpg) ![colorscheme-example](tccs-example.png)
Tiyns custom color scheme (TCCS) for vim is an adaption of Tiyns custom color scheme (TCCS) for vim is an adaption of
[Mofiquls vscode.nvim](https://github.com/Mofiqul/vscode.nvim) which is based upon colors from [Mofiquls vscode.nvim](https://github.com/Mofiqul/vscode.nvim) which is based upon colors from
@@ -13,12 +13,31 @@ This color scheme uses colors that match the ones of VSCode with strong red and
yellow colors for errors and warnings. yellow colors for errors and warnings.
Additionally a darker background was added for better contrast. Additionally a darker background was added for better contrast.
The example picture is taken with all settings available from my
[dotfiles](https://github.com/tiyn/dotfiles).
It is recommended to take a look into it to get similar highlighting, etc.
## Supported Plugins ## Supported Plugins
Following Plugins are especially supported by this color scheme. Following Plugins are especially supported by this color scheme.
Other plugins may work as well, but don't are explicitly configured. Other plugins may work as well, but don't are explicitly configured.
- [Aerial.NVIM](https://github.com/stevearc/aerial.nvim/)
- [Diffview](https://github.com/sindrets/diffview.nvim)
- [GitSigns](https://github.com/lewis6991/gitsigns.nvim)
- [LSP-Signature](https://github.com/ray-x/lsp_signature.nvim)
- [Lualine](https://github.com/nvim-lualine/lualine.nvim) - [Lualine](https://github.com/nvim-lualine/lualine.nvim)
- [Modes.nvim](https://github.com/mvllow/modes.nvim)
- [NavBuddy](https://github.com/SmiteshP/nvim-navbuddy)
- [NVIM CMP](https://github.com/hrsh7th/nvim-cmp)
- [NVIM Cursorword](https://github.com/xiyaowong/nvim-cursorword)
- [NVIM Scrollbar](https://github.com/petertriho/nvim-scrollbar)
- [NVIM Telescope](https://github.com/nvim-telescope/telescope.nvim)
- [NVIM Tree](https://github.com/nvim-tree/nvim-tree.lua)
- [NVIM Treesitter](https://github.com/nvim-treesitter/nvim-treesitter)
- [NVIM Ufo](https://github.com/kevinhwang91/nvim-ufo)
- [VIM Illuminate](https://github.com/RRethy/vim-illuminate)
- [Wilder](https://github.com/gelguy/wilder.nvim)
## Setup ## Setup
@@ -32,7 +51,7 @@ Add the following line into the function `return require("lazy").setup({})` to l
'tiyn/tccs.nvim', 'tiyn/tccs.nvim',
config = function() config = function()
require('tccs').setup() require('tccs').setup()
require('tccs').load() vim.cmd('colorscheme tccs')
end end
}, },
``` ```

View File

@@ -3,44 +3,32 @@
local config = require('tccs.config') local config = require('tccs.config')
local c = require('tccs.colors').get_colors() local c = require('tccs.colors').get_colors()
local line_c = {
fg_prim = c.fg,
bg_prim = c.bg_alt,
fg_sec = c.fg,
bg_sec = c.panel_shadow,
visual = c.operator,
insert = c.comment,
normal = c.entity,
replace = c.vcs_removed,
contrast = c.string,
}
return { return {
normal = { normal = {
a = { fg = line_c.bg_prim, bg = line_c.insert, gui = 'bold' }, a = { fg = c.line_bg, bg = c.line_normal, gui = 'bold' },
b = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_sec }, b = { fg = c.line_fg, bg = c.line_bg_alt },
c = { fg = line_c.fg_sec, bg = config.opts.transparent and 'NONE' or line_c.bg_prim }, c = { fg = c.line_fg, bg = c.line_bg },
}, },
insert = { insert = {
a = { fg = line_c.bg_prim, bg = line_c.normal, gui = 'bold' }, a = { fg = c.line_bg, bg = c.line_insert, gui = 'bold' },
b = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_sec }, b = { fg = c.line_fg, bg = c.line_bg_alt },
}, },
visual = { visual = {
a = { fg = line_c.bg_prim, bg = line_c.visual, gui = 'bold' }, a = { fg = c.line_bg, bg = c.line_visual, gui = 'bold' },
b = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_sec }, b = { fg = c.line_fg, bg = c.line_bg_alt },
}, },
replace = { replace = {
a = { fg = line_c.bg_prim, bg = line_c.replace, gui = 'bold' }, a = { fg = c.line_bg, bg = c.line_replace, gui = 'bold' },
b = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_sec }, b = { fg = c.line_fg, bg = c.line_bg_alt },
}, },
command = { command = {
a = { fg = line_c.bg_prim, bg = line_c.contrast, gui = 'bold' }, a = { fg = c.line_bg, bg = c.line_contrast, gui = 'bold' },
b = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_sec }, b = { fg = c.line_fg, bg = c.line_bg_alt },
c = { fg = line_c.fg_sec, bg = config.opts.transparent and 'NONE' or line_c.bg_prim }, c = { fg = c.line_fg, bg = c.line_bg },
}, },
inactive = { inactive = {
a = { fg = line_c.fg_prim, bg = line_c.bg_sec, gui = 'bold' }, a = { fg = c.line_fg, bg = c.line_bg_alt, gui = 'bold' },
b = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_sec }, b = { fg = c.line_fg, bg = c.line_bg_alt },
c = { fg = line_c.fg_prim, bg = config.opts.transparent and 'NONE' or line_c.bg_prim }, c = { fg = c.line_fg, bg = c.line_bg },
}, },
} }

View File

@@ -3,45 +3,58 @@ colors.get_colors = function()
local mycolors = {} ---@type table<string,string> local mycolors = {} ---@type table<string,string>
mycolors = { 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 -- ui
line = "#00010A", bg = "#191919",
line_alt = "#772222", bg_alt = "#0D1016",
panel_bg = "#0D1016", fg = "#D4D4D4",
panel_shadow = "#00010A", fg_alt = "#CE9178",
panel_border = "#000000", cursor = "#AEAFAD",
gutter_normal = "#323945", accent = "#C586C0",
gutter_active = "#464D5E", accent_alt = "#608B4E",
selection_bg = "#273747", ui = "#4D5566",
selection_inactive = "#1B2733", color_column = "#1C1C1C",
selection_border = "#304357", popup = "#272727",
guide_active = "#393F4D", border = "#242A35",
guide_normal = "#242A35", border_alt = "#393F4D",
-- vcs fg_idle = "#FFD602",
vcs_added = "#608B4E", -- syntax
vcs_modified = "#9CDCFE", tag = "#9CDCFE",
vcs_removed = "#D16969", func = "#DCDCAA",
entity = "#9CDCFE",
string = "#CE9178",
regexp = "#D16969",
markup = "#C586C0",
keyword = "#C586C0",
special = "#D7BA7D",
comment = "#608B4E",
constant = "#4FC1FE",
bold = "#569CD6",
operator = "#C586C0",
number = "#B5CEA8",
-- git
added_fg = "#6A9955",
added_bg = "#0E1F17",
modified_fg = "#569CD6",
modified_fg_alt = "#004080",
modified_bg = "#223255",
removed_fg = "#D16969",
removed_bg = "#190E11",
-- bonus
visual_fg = "#C586C0",
yank_fg = "#F5C359",
-- lsp
error = "#FB0101",
warning = "#FFD602",
hint = "#608B4E",
-- line
line_fg = "#D4D4D4",
line_bg = "#272727",
line_bg_alt = "#0D1016",
line_visual = "#C586C0",
line_normal = "#569CD6",
line_insert = "#6A9955",
line_replace = "#D16969",
line_contrast = "#CE9178",
} }
-- Extend the colors with overrides passed by `color_overrides` -- Extend the colors with overrides passed by `color_overrides`

View File

@@ -2,298 +2,327 @@ local hl = vim.api.nvim_set_hl
local theme = {} local theme = {}
theme.set_highlights = function(opts) theme.set_highlights = function(opts)
local c = require('tccs.colors').get_colors() local c = require("tccs.colors").get_colors()
hl(0, 'Normal', { fg = c.fg, bg = c.bg }) hl(0, "Normal", { fg = c.fg, bg = c.bg })
hl(0, 'ColorColumn', { bg = c.line_alt }) hl(0, "ColorColumn", { bg = c.color_column })
hl(0, 'Cursor', { fg = c.tag }) hl(0, "Cursor", { fg = c.cursor })
hl(0, 'CursorLine', { bg = c.line }) hl(0, "CursorLine", { bg = c.bg_alt })
hl(0, 'CursorColumn', { bg = c.line }) hl(0, "CursorColumn", { bg = c.bg_alt })
hl(0, 'CursorLineNr', { fg = c.accent, bg = c.line }) hl(0, "CursorLineNr", { fg = c.accent, bg = c.bg_alt })
hl(0, 'LineNr', { fg = c.guide_normal }) hl(0, "LineNr", { fg = c.border })
hl(0, 'Directory', { fg = c.func }) hl(0, "Directory", { fg = c.func })
hl(0, 'ErrorMsg', { fg = c.fg, bg = c.error, standout = true }) hl(0, "ErrorMsg", { fg = c.fg, bg = c.error, standout = true })
hl(0, 'VertSplit', { fg = c.panel_bg, bg = c.panel_bg }) hl(0, "VertSplit", { fg = c.bg_alt, bg = c.bg_alt })
hl(0, 'Folded', { fg = c.fg_idle, bg = c.panel_bg }) hl(0, "Folded", { fg = c.fg_idle, bg = c.bg })
hl(0, 'FoldColumn', { bg = c.panel_bg }) hl(0, "FoldColumn", { bg = c.bg })
hl(0, 'SignColumn', { bg = c.panel_bg }) hl(0, "SignColumn", { bg = c.bg })
hl(0, 'MatchParen', { fg = c.fg, bg = c.bg, underline = true }) hl(0, "MatchParen", { fg = c.fg, bg = c.bg, underline = true })
hl(0, 'ModeMsg', { fg = c.string }) hl(0, "ModeMsg", { fg = c.fg_alt })
hl(0, 'MoreMsg', { fg = c.string }) hl(0, "MoreMsg", { fg = c.fg_alt })
hl(0, 'NonText', { fg = c.guide_normal }) hl(0, "NonText", { fg = c.border })
-- TODO: fix pmenu colors hl(0, "Pmenu", { fg = c.fg, bg = c.popup, ctermfg = 188, ctermbg = 235 })
hl(0, 'Pmenu', { fg = c.fg, bg = c.selection_inactive }) hl(0, "PmenuSel", { fg = c.popup, bg = c.fg, ctermfg = 235, ctermbg = 188 })
hl(0, 'PmenuSel', { fg = c.fg, bg = c.selection_inactive, reverse = true })
hl(0, 'FloatBorder', { fg = c.fg, bg = c.selection_inactive }) hl(0, "FloatBorder", { fg = c.fg, bg = c.popup })
hl(0, 'Question', { fg = c.string }) hl(0, "Question", { fg = c.fg_alt })
hl(0, 'Search', { fg = c.bg, bg = c.constant }) -- TODO: fix color hl(0, "Search", { fg = c.bg, bg = c.fg_alt })
hl(0, 'SpecialKey', { fg = c.selection_inactive }) hl(0, "SpecialKey", { fg = c.popup })
hl(0, 'SpellCap', { fg = c.tag, undercurl = true, sp = c.error }) hl(0, "SpellCap", { fg = c.warning, undercurl = true, sp = c.error })
hl(0, 'SpellLocal', { fg = c.keyword, undercurl = true, sp = c.keyword }) hl(0, "SpellLocal", { fg = c.warning, undercurl = true, sp = c.keyword })
hl(0, 'SpellBad', { fg = c.error, undercurl = true, sp = c.error }) hl(0, "SpellBad", { fg = c.error, undercurl = true, sp = c.error })
hl(0, 'SpellRare', { fg = c.regexp, undercurl = true, sp = c.error }) hl(0, "SpellRare", { fg = c.error, undercurl = true, sp = c.error })
hl(0, 'StatusLine', { fg = c.fg, bg = c.panel_bg }) hl(0, "StatusLine", { fg = c.fg, bg = c.bg_alt })
hl(0, 'StatusLineNC', { fg = c.fg_idle, bg = c.panel_bg }) hl(0, "StatusLineNC", { fg = c.fg_idle, bg = c.bg_alt })
hl(0, 'WildMenu', { fg = c.fg, bg = c.markup }) -- TODO: fix color hl(0, "WildMenu", { fg = c.fg, bg = c.popup })
hl(0, 'TabLine', { fg = c.comment, bg = c.panel_shadow }) hl(0, "TabLine", { fg = c.accent_alt, bg = c.bg_alt })
hl(0, 'TabLineFill', { fg = c.fg, bg = c.panel_border }) hl(0, "TabLineFill", { fg = c.fg, bg = c.popup })
hl(0, 'TabLineSel', { fg = c.fg, bg = c.bg }) hl(0, "TabLineSel", { fg = c.fg, bg = c.bg })
hl(0, 'Title', { fg = c.keyword, bold = true }) hl(0, "Visual", { bg = c.popup })
hl(0, 'Visual', { bg = c.selection_inactive })
hl(0, 'WarningMsg', { fg = c.warning, bold = true })
-- syntax -- syntax
hl(0, 'Comment', { fg = c.comment, italic = opts.italic_comments }) hl(0, "Title", { fg = c.bold, bold = true })
hl(0, 'Constant', { fg = c.constant }) hl(0, "Comment", { fg = c.comment, italic = opts.italic_comments })
hl(0, 'String', { fg = c.string }) hl(0, "Constant", { fg = c.constant })
hl(0, 'Identifier', { fg = c.entity }) hl(0, "String", { fg = c.string })
hl(0, 'Function', { fg = c.func }) hl(0, "Identifier", { fg = c.entity })
hl(0, 'Statement', { fg = c.keyword }) hl(0, "Function", { fg = c.func })
hl(0, 'Operator', { fg = c.operator }) hl(0, "Statement", { fg = c.keyword })
hl(0, 'Exception', { fg = c.markup }) hl(0, "Operator", { fg = c.operator })
hl(0, 'PreProc', { fg = c.accent }) hl(0, "Exception", { fg = c.markup })
hl(0, 'Type', { fg = c.entity }) hl(0, "PreProc", { fg = c.keyword })
hl(0, 'Structure', { fg = c.special }) hl(0, "Type", { fg = c.entity })
--hl(0, 'Special', { fg = c.accent }) hl(0, "Structure", { fg = c.special })
hl(0, 'Delimiter', { fg = c.special }) hl(0, "Special", { fg = c.special })
hl(0, 'Underlined', { fg = c.tag, underline = true }) hl(0, "Delimiter", { fg = c.special })
hl(0, 'Ignore', {}) hl(0, "Underlined", { fg = c.tag, underline = true })
hl(0, 'Error', { fg = c.fg, bg = c.error, undercurl = true, sp = c.error }) hl(0, "Ignore", {})
hl(0, 'Todo', { fg = c.markup }) hl(0, "Error", { fg = c.fg, bg = c.error, undercurl = true, sp = c.error })
hl(0, "Todo", { fg = c.markup })
hl(0, "Number", { fg = c.number })
-- quickfix window highlighting -- quickfix window highlighting
hl(0, 'qfLineNr', { fg = c.keyword }) hl(0, "qfLineNr", { fg = c.accent })
hl(0, 'Conceal', { fg = c.comment }) hl(0, "Conceal", { fg = c.accent_alt })
hl(0, 'CursorLineConceal', { fg = c.guide_normal, bg = c.line }) hl(0, "CursorLineConceal", { fg = c.border, bg = c.bg_alt })
-- diff syntax highlighting -- diff syntax highlighting
hl(0, 'DiffAdd', { fg = c.vcs_added, bg = c.guide_normal }) hl(0, "DiffAdd", { bg = c.added_bg })
hl(0, 'diffAdded', { link = 'DiffAdd' }) hl(0, "diffAdded", { link = "DiffAdd" })
hl(0, 'DiffChange', { fg = c.vcs_modified, bg = c.guide_normal }) hl(0, "DiffChange", { bg = c.modified_bg })
hl(0, 'DiffDelete', { fg = c.vcs_removed, bg = c.guide_normal }) hl(0, "DiffDelete", { bg = c.removed_bg })
hl(0, 'diffRemoved', { link = 'DiffDelete' }) hl(0, "diffRemoved", { link = "DiffDelete" })
hl(0, 'DiffText', { fg = c.vcs_modified, bg = c.guide_active }) hl(0, "DiffText", { bg = c.modified_fg_alt })
-- netrw -- netrw
hl(0, 'netrwClassify', { fg = c.special }) hl(0, "netrwClassify", { fg = c.fg_alt })
-- gitgutter -- gitgutter
hl(0, 'GitGutterAdd', { fg = c.vcs_added, bg = c.panel_bg }) hl(0, "GitGutterAdd", { fg = c.added_fg, bg = c.bg })
hl(0, 'GitGutterChange', { fg = c.vcs_modified, bg = c.panel_bg }) hl(0, "GitGutterChange", { fg = c.modified_fg, bg = c.bg })
hl(0, 'GitGutterDelete', { fg = c.vcs_removed, bg = c.panel_bg }) hl(0, "GitGutterDelete", { fg = c.removed_fg, bg = c.bg })
hl(0, 'GitGutterChangeDelete', { fg = c.vcs_modified, bg = c.panel_bg, underline = true }) hl(0, "GitGutterChangeDelete", { fg = c.modified_fg, bg = c.bg, underline = true })
-- signify -- signify
hl(0, 'SignifySignAdd', { fg = c.vcs_added, bg = c.panel_bg }) hl(0, "SignifySignAdd", { fg = c.added_fg, bg = c.bg })
hl(0, 'SignifySignChange', { fg = c.vcs_modified, bg = c.panel_bg }) hl(0, "SignifySignChange", { fg = c.modified_fg, bg = c.bg })
hl(0, 'SignifySignDelete', { fg = c.vcs_removed, bg = c.panel_bg }) hl(0, "SignifySignDelete", { fg = c.removed_fg, bg = c.bg })
hl(0, 'SignifySignChangeDelete', { fg = c.vcs_modified, bg = c.panel_bg, underline = true }) hl(0, "SignifySignChangeDelete", { fg = c.modified_fg, bg = c.bg, underline = true })
-- nerdtree -- nerdtree
hl(0, 'NERDTreeOpenable', { fg = c.fg_idle }) hl(0, "NERDTreeOpenable", { fg = c.fg_idle })
hl(0, 'NERDTreeCloseable', { fg = c.accent }) hl(0, "NERDTreeCloseable", { fg = c.accent })
hl(0, 'NERDTreeUp', { fg = c.fg_idle }) hl(0, "NERDTreeUp", { fg = c.fg_idle })
hl(0, 'NERDTreeDir', { fg = c.func }) hl(0, "NERDTreeDir", { fg = c.fg_alt })
hl(0, 'NERDTreeFile', {}) hl(0, "NERDTreeFile", {})
hl(0, 'NERDTreeDirSlash', { fg = c.special }) hl(0, "NERDTreeDirSlash", { fg = c.fg_alt })
-- telescope -- telescope
hl(0, 'TelescopeMatching', { fg = c.accent, bold = true }) hl(0, "TelescopeMatching", { fg = c.accent, bold = true })
hl(0, 'TelescopePromptBorder', { fg = c.guide_normal }) hl(0, "TelescopePromptBorder", { fg = c.border })
hl(0, 'TelescopeResultsBorder', { fg = c.guide_normal }) hl(0, "TelescopeResultsBorder", { fg = c.border })
hl(0, 'TelescopePreviewBorder', { fg = c.guide_normal }) hl(0, "TelescopePreviewBorder", { fg = c.border })
hl(0, 'TelescopeNormal', { fg = c.fg }) hl(0, "TelescopeNormal", { fg = c.fg })
hl(0, 'TelescopeSelection', { fg = c.fg, bg = c.vscPopupHighlightBlue }) hl(0, "TelescopeSelection", { fg = c.bg, bg = c.fg })
hl(0, 'TelescopeMultiSelection', { fg = c.fg, bg = c.vscPopupHighlightBlue }) hl(0, "TelescopeMultiSelection", { fg = c.bg, bg = c.fg })
hl(0, 'TelescopePromptPrefix', { fg = c.fg, bg = 'NONE' }) hl(0, "TelescopePromptPrefix", { fg = c.fg, bg = "NONE" })
-- lsp -- diagnostics
hl(0, 'DiagnosticDefaultError', { fg = c.error }) hl(0, "DiagnosticDefaultError", { fg = c.error })
hl(0, 'DiagnosticUnderlineError', { fg = c.error, undercurl = true, sp = c.error }) hl(0, "DiagnosticUnderlineError", { fg = c.error, undercurl = true, sp = c.error })
hl(0, 'DiagnosticSignError', { fg = c.error, bg = c.panel_bg }) hl(0, "DiagnosticSignError", { fg = c.error, bg = c.bg_alt })
hl(0, 'DiagnosticWarn', { fg = c.warning }) hl(0, "DiagnosticWarn", { fg = c.warning })
hl(0, 'DiagnosticUnderlineWarn', { fg = c.warning, undercurl = true, sp = c.warning }) hl(0, "DiagnosticUnderlineWarn", { fg = c.warning, undercurl = true, sp = c.warning })
hl(0, 'DiagnosticSignWarning', { fg = c.warning, bg = c.panel_bg }) hl(0, "DiagnosticSignWarning", { fg = c.warning, bg = c.bg_alt })
hl(0, 'DiagnosticVirtualTextHint', { fg = c.comment }) hl(0, "DiagnosticVirtualTextHint", { fg = c.hint })
hl(0, 'DiagnosticSignHint', { fg = c.comment }) hl(0, "DiagnosticSignHint", { fg = c.hint })
hl(0, 'DiagnosticHint', { fg = c.comment }) hl(0, "DiagnosticHint", { fg = c.hint })
hl(0, 'DiagnosticVirtualTextInfo', { fg = c.fg }) hl(0, "DiagnosticVirtualTextInfo", { fg = c.fg })
hl(0, 'DiagnosticSignInfo', { fg = c.fg }) hl(0, "DiagnosticSignInfo", { fg = c.fg })
hl(0, 'DiagnosticInfo', { fg = c.fg }) hl(0, "DiagnosticInfo", { fg = c.fg })
-- yats hl(0, "WarningMsg", { fg = c.warning, bold = true })
hl(0, 'typescriptDecorator', { fg = c.markup })
hl(0, 'typescriptImport', { fg = c.accent }) -- typescript
hl(0, 'typescriptExport', { fg = c.accent }) hl(0, "typescriptDecorator", { fg = c.markup })
hl(0, 'typescriptIdentifier', { fg = c.tag, italic = opts.italic_comments }) hl(0, "typescriptImport", { fg = c.keyword })
hl(0, 'typescriptAssign', { fg = c.operator }) hl(0, "typescriptExport", { fg = c.keyword })
hl(0, 'typescriptBinaryOp', { fg = c.operator }) hl(0, "typescriptIdentifier", { fg = c.tag, italic = opts.italic_comments })
hl(0, 'typescriptTernaryOp', { fg = c.operator }) hl(0, "typescriptAssign", { fg = c.operator })
hl(0, 'typescriptModule', { fg = c.keyword }) hl(0, "typescriptBinaryOp", { fg = c.operator })
hl(0, 'typescriptTypeBrackets', { fg = c.special }) hl(0, "typescriptTernaryOp", { fg = c.operator })
hl(0, 'typescriptClassName', { fg = c.tag }) hl(0, "typescriptModule", { fg = c.keyword })
hl(0, 'typescriptAmbientDeclaration', { fg = c.keyword }) hl(0, "typescriptTypeBrackets", { fg = c.special })
hl(0, 'typescriptRegextString', { fg = c.regexp }) hl(0, "typescriptClassName", { fg = c.tag })
hl(0, 'typescriptTry', { fg = c.markup }) hl(0, "typescriptAmbientDeclaration", { fg = c.keyword })
hl(0, 'typescriptExceptions', { fg = c.markup }) hl(0, "typescriptRegextString", { fg = c.regexp })
hl(0, 'typescriptDebugger', { fg = c.markup, bold = true }) hl(0, "typescriptTry", { fg = c.markup })
hl(0, 'typescriptParens', { fg = c.special }) hl(0, "typescriptExceptions", { fg = c.markup })
hl(0, 'typescriptVariable', { fg = c.keyword }) hl(0, "typescriptDebugger", { fg = c.markup, bold = true })
hl(0, 'typescriptObjectLabel', { fg = c.tag }) hl(0, "typescriptParens", { fg = c.special })
hl(0, 'typescriptOperator', { fg = c.keyword }) hl(0, "typescriptVariable", { fg = c.keyword })
hl(0, 'typescriptArrowFunc', { fg = c.operator }) hl(0, "typescriptObjectLabel", { fg = c.tag })
hl(0, 'typescriptBraces', { fg = c.special }) hl(0, "typescriptOperator", { fg = c.keyword })
hl(0, 'typescriptGlobal', { fg = c.accent }) hl(0, "typescriptArrowFunc", { fg = c.operator })
hl(0, 'typescriptDOMFormProp', { fg = c.entity }) hl(0, "typescriptBraces", { fg = c.special })
hl(0, 'typescriptDOMEventProp', { fg = c.entity }) hl(0, "typescriptGlobal", { fg = c.keyword })
hl(0, 'typescriptBOMWindowProp', { fg = c.accent }) hl(0, "typescriptDOMFormProp", { fg = c.entity })
hl(0, 'typescriptDateMethod', { fg = c.func }) hl(0, "typescriptDOMEventProp", { fg = c.entity })
hl(0, 'typescriptBlobMethod', { fg = c.func }) hl(0, "typescriptBOMWindowProp", { fg = c.keyword })
hl(0, 'typescriptArrayMethod', { fg = c.func }) hl(0, "typescriptDateMethod", { fg = c.func })
hl(0, 'typescriptArrayStaticMethod', { fg = c.func }) hl(0, "typescriptBlobMethod", { fg = c.func })
hl(0, 'typescriptStringMethod', { fg = c.func }) hl(0, "typescriptArrayMethod", { fg = c.func })
hl(0, 'typescriptPaymentMethod', { fg = c.func }) hl(0, "typescriptArrayStaticMethod", { fg = c.func })
hl(0, 'typescriptHeadersMethod', { fg = c.func }) hl(0, "typescriptStringMethod", { fg = c.func })
hl(0, 'typescriptCacheMethod', { fg = c.func }) hl(0, "typescriptPaymentMethod", { fg = c.func })
hl(0, 'typescriptDOMEEventMethod', { fg = c.func }) hl(0, "typescriptHeadersMethod", { fg = c.func })
hl(0, 'typescriptDOMEEventTargetMethod', { fg = c.func }) hl(0, "typescriptCacheMethod", { fg = c.func })
hl(0, 'typescriptBOMWindowMethod', { fg = c.func }) hl(0, "typescriptDOMEEventMethod", { fg = c.func })
hl(0, 'typescriptDOMStorageMethod', { fg = c.func }) hl(0, "typescriptDOMEEventTargetMethod", { fg = c.func })
hl(0, 'typescriptPromiseMethod', { fg = c.func }) hl(0, "typescriptBOMWindowMethod", { fg = c.func })
hl(0, 'typescriptGlobalMethod', { fg = c.func }) hl(0, "typescriptDOMStorageMethod", { fg = c.func })
hl(0, 'typescriptFunctionMethod', { fg = c.func }) hl(0, "typescriptPromiseMethod", { fg = c.func })
hl(0, 'typescriptBOMLocationMethod', { fg = c.func }) hl(0, "typescriptGlobalMethod", { fg = c.func })
hl(0, "typescriptFunctionMethod", { fg = c.func })
hl(0, "typescriptBOMLocationMethod", { fg = c.func })
-- javascript -- javascript
hl(0, 'jsNull', { fg = c.constant }) hl(0, "jsNull", { fg = c.constant })
hl(0, 'jsThis', { fg = c.constant, italic = opts.italic_comments }) hl(0, "jsThis", { fg = c.constant, italic = opts.italic_comments })
hl(0, 'jsBrackets', { fg = c.special }) hl(0, "jsBrackets", { fg = c.special })
hl(0, 'jsDot', { fg = c.special }) hl(0, "jsDot", { fg = c.special })
hl(0, 'jsParens', { fg = c.special }) hl(0, "jsParens", { fg = c.special })
hl(0, 'jsFuncParens', { fg = c.special }) hl(0, "jsFuncParens", { fg = c.special })
hl(0, 'jsFuncBraces', { fg = c.special }) hl(0, "jsFuncBraces", { fg = c.special })
hl(0, 'jsIfElseBraces', { fg = c.special }) hl(0, "jsIfElseBraces", { fg = c.special })
hl(0, 'jsObjectKey', { fg = c.tag }) hl(0, "jsObjectKey", { fg = c.tag })
hl(0, 'jsObjectProp', { fg = c.tag }) hl(0, "jsObjectProp", { fg = c.tag })
hl(0, 'jsRegexpString', { fg = c.regexp }) hl(0, "jsRegexpString", { fg = c.regexp })
hl(0, 'jsStorageClass', { fg = c.keyword }) hl(0, "jsStorageClass", { fg = c.keyword })
hl(0, 'jsArrowFunction', { fg = c.operator }) hl(0, "jsArrowFunction", { fg = c.operator })
-- treesitter -- treesitter
hl(0, '@include', { fg = c.accent }) hl(0, "@include", { fg = c.keyword })
hl(0, '@parameter', { fg = c.special }) hl(0, "@parameter", { fg = c.special })
hl(0, '@field', { fg = c.tag }) hl(0, "@field", { fg = c.tag })
hl(0, '@property', { fg = c.tag }) hl(0, "@property", { fg = c.tag })
hl(0, '@attribute', { fg = c.markup }) hl(0, "@attribute", { fg = c.markup })
hl(0, '@variable.builtin', { fg = c.constant, italic = opts.italic_comments }) hl(0, "@variable.builtin", { fg = c.constant, italic = opts.italic_comments })
hl(0, '@constant.builtin', { fg = c.constant }) hl(0, "@constant.builtin", { fg = c.constant })
hl(0, '@string.regex', { fg = c.regexp }) hl(0, "@string.regex", { fg = c.regexp })
hl(0, '@function.macro', { fg = c.func }) hl(0, "@function.macro", { fg = c.func })
hl(0, "@text.title", { fg = c.bold, bold = true })
hl(0, "@text.strong", { fg = c.bold, bold = true })
-- fugitive -- fugitive
hl(0, 'fugitiveUntrackedHeading', { fg = c.accent }) hl(0, "fugitiveUntrackedHeading", { fg = c.accent })
hl(0, 'fugitiveUnstagedHeading', { fg = c.accent }) hl(0, "fugitiveUnstagedHeading", { fg = c.accent })
hl(0, 'fugitiveStagedHeading', { fg = c.accent }) hl(0, "fugitiveStagedHeading", { fg = c.accent })
hl(0, 'fugitiveHeading', { fg = c.accent }) hl(0, "fugitiveHeading", { fg = c.accent })
-- git commit -- git commit
hl(0, 'gitcommitBranch', { fg = c.func }) hl(0, "gitcommitBranch", { fg = c.ui })
hl(0, 'gitcommitHeader', { fg = c.accent }) hl(0, "gitcommitHeader", { fg = c.accent })
hl(0, 'gitcommitSummary', { fg = c.fg }) hl(0, "gitcommitSummary", { fg = c.fg })
hl(0, 'gitcommitOverflow', { fg = c.markup }) hl(0, "gitcommitOverflow", { fg = c.accent })
-- startify -- startify
hl(0, 'StartifyFile', { fg = c.fg }) hl(0, "StartifyFile", { fg = c.fg })
-- vim -- vim
hl(0, 'vimUserfunc', { fg = c.func }) hl(0, "vimUserfunc", { fg = c.func })
hl(0, 'vimFunction', { fg = c.func }) hl(0, "vimFunction", { fg = c.func })
hl(0, 'vimIsCommand', {}) hl(0, "vimIsCommand", {})
-- xml -- xml
hl(0, 'xmlTag', { fg = c.special }) hl(0, "xmlTag", { fg = c.special })
hl(0, 'xmlTagName', { fg = c.keyword }) hl(0, "xmlTagName", { fg = c.keyword })
hl(0, 'xmlEntity', { fg = c.tag }) hl(0, "xmlEntity", { fg = c.tag })
hl(0, 'xmlEntityPunct', { fg = c.operator }) hl(0, "xmlEntityPunct", { fg = c.operator })
hl(0, 'xmlEqual', { fg = c.operator }) hl(0, "xmlEqual", { fg = c.operator })
-- ini -- ini
hl(0, 'dosiniHeader', { fg = c.keyword }) hl(0, "dosiniHeader", { fg = c.keyword })
-- pandoc -- pandoc
hl(0, 'pandocPipeTableHeader', { fg = c.keyword }) hl(0, "pandocPipeTableHeader", { fg = c.keyword })
hl(0, 'pandocPipeTableDelims', { fg = c.keyword }) hl(0, "pandocPipeTableDelims", { fg = c.keyword })
hl(0, 'pandocDelimitedCodeBlock', { fg = c.accent }) hl(0, "pandocDelimitedCodeBlock", { fg = c.keyword })
-- shell -- shell
hl(0, 'shTestOpr', { fg = c.operator }) hl(0, "shTestOpr", { fg = c.operator })
hl(0, 'shOption', { fg = c.special }) hl(0, "shOption", { fg = c.special })
hl(0, 'shQuote', { fg = c.string }) hl(0, "shQuote", { fg = c.string })
-- shell -- haskell
hl(0, 'haskellDeclKeyword', { fg = c.keyword }) hl(0, "haskellDeclKeyword", { fg = c.keyword })
hl(0, 'haskellLet', { fg = c.keyword }) hl(0, "haskellLet", { fg = c.keyword })
hl(0, 'haskellWhere', { fg = c.keyword }) hl(0, "haskellWhere", { fg = c.keyword })
hl(0, 'haskellIdentifier', { fg = c.tag }) hl(0, "haskellIdentifier", { fg = c.tag })
-- php -- php
hl(0, 'phpDefine', { fg = c.keyword }) hl(0, "phpDefine", { fg = c.keyword })
hl(0, 'phpStructure', { fg = c.keyword }) hl(0, "phpStructure", { fg = c.keyword })
-- ruby -- ruby
hl(0, 'rubyModule', { fg = c.keyword }) hl(0, "rubyModule", { fg = c.keyword })
hl(0, 'rubyRegexp', { fg = c.regexp }) hl(0, "rubyRegexp", { fg = c.regexp })
hl(0, 'rubyRegexpDelimiter', { fg = c.regexp }) hl(0, "rubyRegexpDelimiter", { fg = c.regexp })
hl(0, 'rubyStringDelimiter', { fg = c.string }) hl(0, "rubyStringDelimiter", { fg = c.string })
-- nvimtree -- nvimtree
hl(0, 'NvimTreeRootFolder', { fg = c.fg, bold = true }) hl(0, "NvimTreeRootFolder", { fg = c.fg, bold = true })
hl(0, 'NvimTreeGitDirty', { fg = c.vcs_modified }) hl(0, "NvimTreeGitDirty", { fg = c.modified_fg })
hl(0, 'NvimTreeGitNew', { fg = c.vcs_added }) hl(0, "NvimTreeGitNew", { fg = c.added_fg })
hl(0, 'NvimTreeImageFile', { fg = c.keyword }) hl(0, "NvimTreeImageFile", { fg = c.accent })
hl(0, 'NvimTreeEmptyFolderName', { fg = c.ui }) hl(0, "NvimTreeEmptyFolderName", { fg = c.ui })
hl(0, 'NvimTreeFolderName', { fg = c.fg }) hl(0, "NvimTreeFolderName", { fg = c.fg })
hl(0, 'NvimTreeSpecialFile', { fg = c.keyword, underline = true }) hl(0, "NvimTreeSpecialFile", { fg = c.accent, underline = true })
hl(0, 'NvimTreeNormal', { fg = c.fg }) hl(0, "NvimTreeNormal", { fg = c.fg })
hl(0, 'NvimTreeCursorLine', {}) hl(0, "NvimTreeCursorLine", {})
hl(0, 'NvimTreeVertSplit', { bg = c.bg }) hl(0, "NvimTreeVertSplit", { bg = c.bg_alt })
hl(0, 'NvimTreeEndOfBuffer', {}) hl(0, "NvimTreeEndOfBuffer", {})
hl(0, 'NvimTreeOpenedFolderName', {}) hl(0, "NvimTreeOpenedFolderName", {})
hl(0, 'NvimTreeGitRenamed', { fg = c.vcs_modified }) hl(0, "NvimTreeGitRenamed", { fg = c.modified_fg })
hl(0, 'NvimTreeGitIgnored', { fg = c.ui }) hl(0, "NvimTreeGitIgnored", { fg = c.ui })
hl(0, 'NvimTreeGitDeleted', { fg = c.vcs_removed }) hl(0, "NvimTreeGitDeleted", { fg = c.removed_fg })
hl(0, 'NvimTreeGitStaged', { fg = c.vcs_added }) hl(0, "NvimTreeGitStaged", { fg = c.added_fg })
hl(0, 'NvimTreeGitMerge', { fg = c.error }) hl(0, "NvimTreeGitMerge", { fg = c.modified_fg })
hl(0, 'NvimTreeGitDirty', { fg = c.vcs_modified }) hl(0, "NvimTreeGitDirty", { fg = c.modified_fg })
hl(0, 'NvimTreeGitNew', { fg = c.vcs_added }) hl(0, "NvimTreeGitNew", { fg = c.added_fg })
-- nvim-cursorword
hl(0, "CursorWord", { underline = true })
-- markup
hl(0, "@text", { fg = c.fg }) -- Legacy
hl(0, "@markup.strong", { fg = c.bold, bold = true })
hl(0, "@markup.italic", { fg = c.fg, italic = true })
hl(0, "@markup.underline", { fg = c.fg, bg = "NONE" })
hl(0, "@markup.strikethrough", { fg = c.fg, strikethrough = true })
hl(0, "@markup.heading", { fg = c.bold, bold = true })
hl(0, "@markup.raw", { fg = c.fg })
hl(0, "@markup.raw.markdown", { fg = c.string })
hl(0, "@markup.raw.markdown_inline", { fg = c.string })
hl(0, "@markup.link.label", { fg = c.tag })
hl(0, "@markup.link.url", { fg = c.string })
hl(0, "@markup.list.checked", { link = "Todo" })
hl(0, "@markup.list.unchecked", { link = "Todo" })
hl(0, "@textReference", { fg = c.tag })
hl(0, "@stringEscape", { fg = c.string, bold = true })
-- modes.nvim
hl(0, "ModesCopy", { bg = c.yank_fg })
hl(0, "ModesDelete", { bg = c.removed_fg })
hl(0, "ModesInsert", { bg = c.added_fg })
hl(0, "ModesVisual", { bg = c.visual_fg })
-- highlighting on yank
hl(0, "YankHighlight", { bg = c.yank_fg })
hl(0, "TextYankPost", { bg = c.yank_fg })
end end
return theme return theme
--hl(0, 'EndOfBuffer', { fg = c.bg, bg = 'NONE' }) --hl(0, 'EndOfBuffer', { fg = c.bg, bg = 'NONE' })
--hl(0, 'IncSearch', { fg = c.vscNone, bg = c.vscSearchCurrent }) --hl(0, 'IncSearch', { fg = c.vscNone, bg = c.vscSearchCurrent })
--hl(0, 'PmenuSbar', { fg = 'NONE', bg = c.vscPopupHighlightGray }) --hl(0, 'PmenuSbar', { fg = 'NONE', bg = c.vscPopupHighlightGray })
--hl(0, 'PmenuThumb', { fg = 'NONE', bg = c.vscPopupFront }) --hl(0, 'PmenuThumb', { fg = 'NONE', bg = c.vscPopupFront })
--hl(0, 'VisualNOS', { bg = c.vscSelection }) --hl(0, 'VisualNOS', { bg = c.vscSelection })
--hl(0, 'Character', { fg = c.vscOrange, bg = 'NONE' }) --hl(0, 'Character', { fg = c.vscOrange, bg = 'NONE' })
--hl(0, 'Number', { fg = c.vscLightGreen, bg = 'NONE' })
--hl(0, 'Boolean', { fg = c.vscBlue, bg = 'NONE' }) --hl(0, 'Boolean', { fg = c.vscBlue, bg = 'NONE' })
--hl(0, 'Float', { fg = c.vscLightGreen, bg = 'NONE' }) --hl(0, 'Float', { fg = c.vscLightGreen, bg = 'NONE' })
--hl(0, 'Conditional', { fg = c.vscPink, bg = 'NONE' }) --hl(0, 'Conditional', { fg = c.vscPink, bg = 'NONE' })
@@ -353,12 +382,10 @@ return theme
--hl(0, '@tag.delimiter', { fg = c.vscGray, bg = 'NONE' }) --hl(0, '@tag.delimiter', { fg = c.vscGray, bg = 'NONE' })
--hl(0, '@tag.attribute', { fg = c.vscLightBlue, bg = 'NONE' }) --hl(0, '@tag.attribute', { fg = c.vscLightBlue, bg = 'NONE' })
-- --
--hl(0, '@text.title', { fg = isDark and c.vscBlue or c.vscYellowOrange, bold = true })
--hl(0, '@text.literal', { fg = c.fg, bg = 'NONE' }) --hl(0, '@text.literal', { fg = c.fg, bg = 'NONE' })
--hl(0, '@text.literal.markdown', { fg = c.vscOrange, bg = 'NONE' }) --hl(0, '@text.literal.markdown', { fg = c.vscOrange, bg = 'NONE' })
--hl(0, '@text.literal.markdown_inline', { fg = c.vscOrange, bg = 'NONE' }) --hl(0, '@text.literal.markdown_inline', { fg = c.vscOrange, bg = 'NONE' })
--hl(0, '@text.emphasis', { fg = c.fg, bg = 'NONE', italic = true }) --hl(0, '@text.emphasis', { fg = c.fg, bg = 'NONE', italic = true })
--hl(0, '@text.strong', { fg = isDark and c.vscBlue or c.vscViolet, bold = true })
--hl(0, '@text.uri', { fg = c.fg, bg = 'NONE' }) --hl(0, '@text.uri', { fg = c.fg, bg = 'NONE' })
--hl(0, '@textReference', { fg = isDark and c.vscOrange or c.vscYellowOrange }) --hl(0, '@textReference', { fg = isDark and c.vscOrange or c.vscYellowOrange })
--hl(0, '@punctuation.delimiter', { fg = c.fg, bg = 'NONE' }) --hl(0, '@punctuation.delimiter', { fg = c.fg, bg = 'NONE' })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

BIN
tccs-example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB