mirror of
				https://github.com/tiyn/tccs.nvim.git
				synced 2025-10-31 19:21:20 +01:00 
			
		
		
		
	added number and bold colors
This commit is contained in:
		| @@ -4,48 +4,50 @@ colors.get_colors = function() | |||||||
|  |  | ||||||
|   mycolors = { |   mycolors = { | ||||||
|     -- ui |     -- ui | ||||||
|     bg           = "#191919", |     bg            = "#191919", | ||||||
|     bg_alt       = "#0D1016", |     bg_alt        = "#0D1016", | ||||||
|     fg           = "#D4D4D4", |     fg            = "#D4D4D4", | ||||||
|     fg_alt       = "#CE9178", |     fg_alt        = "#CE9178", | ||||||
|     accent       = "#C586C0", |     accent        = "#C586C0", | ||||||
|     accent_alt   = "#608B4E", |     accent_alt    = "#608B4E", | ||||||
|     ui           = "#4D5566", |     ui            = "#4D5566", | ||||||
|     color_column = "#772222", |     color_column  = "#772222", | ||||||
|     popup        = "#272727", |     popup         = "#272727", | ||||||
|     border       = "#242A35", |     border        = "#242A35", | ||||||
|     border_alt   = "#393F4D", |     border_alt    = "#393F4D", | ||||||
|     -- syntax |     -- syntax | ||||||
|     tag          = "#9CDCFE", |     tag           = "#9CDCFE", | ||||||
|     func         = "#DCDCAA", |     func          = "#DCDCAA", | ||||||
|     entity       = "#9CDCFE", |     entity        = "#9CDCFE", | ||||||
|     string       = "#CE9178", |     string        = "#CE9178", | ||||||
|     regexp       = "#D16969", |     regexp        = "#D16969", | ||||||
|     markup       = "#C586C0", |     markup        = "#C586C0", | ||||||
|     keyword      = "#C586C0", |     keyword       = "#C586C0", | ||||||
|     special      = "#D7BA7D", |     special       = "#D7BA7D", | ||||||
|     comment      = "#608B4E", |     comment       = "#608B4E", | ||||||
|     constant     = "#4FC1FE", |     constant      = "#4FC1FE", | ||||||
|     operator     = "#C586C0", |     bold          = "#569CD6", | ||||||
|  |     operator      = "#C586C0", | ||||||
|  |     number        = "#B5CEA8", | ||||||
|     -- extended color palette |     -- extended color palette | ||||||
|     fg_idle      = "#FFD602", |     fg_idle       = "#FFD602", | ||||||
|     -- git |     -- git | ||||||
|     added        = "#6A9955", |     added         = "#6A9955", | ||||||
|     modified     = "#4FC1FE", |     modified      = "#4FC1FE", | ||||||
|     removed      = "#D16969", |     removed       = "#D16969", | ||||||
|     -- lsp |     -- lsp | ||||||
|     error        = "#FB0101", |     error         = "#FB0101", | ||||||
|     warning      = "#FFD602", |     warning       = "#FFD602", | ||||||
|     hint         = "#608B4E", |     hint          = "#608B4E", | ||||||
|     -- line |     -- line | ||||||
|     line_fg      = "#D4D4D4", |     line_fg       = "#D4D4D4", | ||||||
|     line_bg      = "#272727", |     line_bg       = "#272727", | ||||||
|     line_bg_alt   = "#0D1016", |     line_bg_alt   = "#0D1016", | ||||||
|     line_visual       = "#C586C0", |     line_visual   = "#C586C0", | ||||||
|     line_normal       = "#6A9955", |     line_normal   = "#6A9955", | ||||||
|     line_insert       = "#4FC1Fe", |     line_insert   = "#4FC1Fe", | ||||||
|     line_replace      = "#D16969", |     line_replace  = "#D16969", | ||||||
|     line_contrast     = "#CE9178", |     line_contrast = "#CE9178", | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   -- Extend the colors with overrides passed by `color_overrides` |   -- Extend the colors with overrides passed by `color_overrides` | ||||||
|   | |||||||
| @@ -71,6 +71,7 @@ theme.set_highlights = function(opts) | |||||||
|   hl(0, 'Ignore', {}) |   hl(0, 'Ignore', {}) | ||||||
|   hl(0, 'Error', { fg = c.fg, bg = c.error, undercurl = true, sp = c.error }) |   hl(0, 'Error', { fg = c.fg, bg = c.error, undercurl = true, sp = c.error }) | ||||||
|   hl(0, 'Todo', { fg = c.markup }) |   hl(0, 'Todo', { fg = c.markup }) | ||||||
|  |   hl(0, 'Number', { fg = c.number }) | ||||||
|  |  | ||||||
|   -- quickfix window highlighting |   -- quickfix window highlighting | ||||||
|   hl(0, 'qfLineNr', { fg = c.accent }) |   hl(0, 'qfLineNr', { fg = c.accent }) | ||||||
| @@ -202,6 +203,8 @@ theme.set_highlights = function(opts) | |||||||
|   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 }) | ||||||
| @@ -290,7 +293,6 @@ return theme | |||||||
| --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' }) | ||||||
| @@ -350,12 +352,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' }) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user