mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-14 19:34:27 +02:00
add: update theme tokyonight
This commit is contained in:
parent
2e07bb77f0
commit
2727f2850c
8 changed files with 250 additions and 173 deletions
|
@ -3,6 +3,18 @@ if not status_ok then
|
|||
return
|
||||
end
|
||||
colorizer_cfg.setup({
|
||||
DEFAULT_OPTIONS = {
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
names = true, -- "Name" codes like Blue
|
||||
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||
rgb_fn = true, -- CSS rgb() and rgba() functions
|
||||
hsl_fn = true, -- CSS hsl() and hsla() functions
|
||||
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
-- Available modes: foreground, background
|
||||
mode = "background", -- Set the display mode.
|
||||
},
|
||||
filetypes = {
|
||||
"*", -- Highlight all files, but customize some others.
|
||||
css = { rgb_fn = true }, -- Enable parsing rgb(...) functions in css.
|
||||
|
|
|
@ -28,7 +28,7 @@ tokyonight.setup({
|
|||
-- Value is any valid attr-list value for `:help nvim_set_hl`
|
||||
-- comments = { italic = true },
|
||||
comments = { italic = true },
|
||||
keywords = { italic = true },
|
||||
keywords = {},
|
||||
functions = {},
|
||||
variables = {},
|
||||
-- Background styles. Can be "dark", "transparent" or "normal"
|
||||
|
@ -66,6 +66,8 @@ tokyonight.setup({
|
|||
}
|
||||
highlights.BufferLineFill = { bg = colors.bg }
|
||||
highlights.NvimTreeSpecialFile = { fg = colors.purple, underline = false }
|
||||
highlights["@property"] = { fg = colors.green1, italic = true }
|
||||
highlights["@tag.attribute"] = { fg = colors.green1, italic = true }
|
||||
-- highlights["@keyword.function"] = { fg = colors.blue, italic = true }
|
||||
-- highlights["@function"] = { fg = colors.blue, italic = true }
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue