mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 09:18:44 +02:00
add: tokyonight cursor hilight trasparant backround
This commit is contained in:
parent
cc3044f070
commit
3ed99376c3
3 changed files with 17 additions and 10 deletions
|
@ -231,12 +231,13 @@ return {
|
||||||
"CursorLineNR",
|
"CursorLineNR",
|
||||||
"CursorLineSign",
|
"CursorLineSign",
|
||||||
"CursorLineFold",
|
"CursorLineFold",
|
||||||
"Pmenu",
|
--
|
||||||
"PmenuSel",
|
-- "Pmenu",
|
||||||
"PmenuSbar",
|
-- "PmenuSel",
|
||||||
"PmenuThumb",
|
-- "PmenuSbar",
|
||||||
"NormalFloat",
|
-- "PmenuThumb",
|
||||||
"FloatBorder",
|
-- "NormalFloat",
|
||||||
|
-- "FloatBorder",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -4,12 +4,14 @@ if not status_ok then
|
||||||
end
|
end
|
||||||
local transp = false
|
local transp = false
|
||||||
local sidebar = "dark"
|
local sidebar = "dark"
|
||||||
|
local hilight = "#292e42"
|
||||||
local data_exists, config = pcall(require, "core.config")
|
local data_exists, config = pcall(require, "core.config")
|
||||||
if data_exists then
|
if data_exists then
|
||||||
local tras = config.transparent_mode
|
local tras = config.transparent_mode
|
||||||
if tras == 1 then
|
if tras == 1 then
|
||||||
transp = true
|
transp = true
|
||||||
sidebar = "transparent"
|
sidebar = "transparent"
|
||||||
|
hilight = "#3E4254"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
tokyonight.setup({
|
tokyonight.setup({
|
||||||
|
@ -39,13 +41,15 @@ tokyonight.setup({
|
||||||
|
|
||||||
--- You can override specific color groups to use other groups or a hex color
|
--- You can override specific color groups to use other groups or a hex color
|
||||||
--- function will be called with a ColorScheme table
|
--- function will be called with a ColorScheme table
|
||||||
---@param colors ColorScheme
|
-- @param colors ColorScheme
|
||||||
on_colors = function(colors) end,
|
on_colors = function(colors)
|
||||||
|
colors.bg_highlight = hilight
|
||||||
|
end,
|
||||||
|
|
||||||
--- You can override specific highlights to use other groups or a hex color
|
--- You can override specific highlights to use other groups or a hex color
|
||||||
--- function will be called with a Highlights and ColorScheme table
|
--- function will be called with a Highlights and ColorScheme table
|
||||||
--@param highlights Highlights
|
--@param highlights Highlights
|
||||||
---@param colors ColorScheme
|
-- @param colors ColorScheme
|
||||||
on_highlights = function(highlights, colors)
|
on_highlights = function(highlights, colors)
|
||||||
highlights.NvimTreeFolderIcon = {
|
highlights.NvimTreeFolderIcon = {
|
||||||
bg = colors.none,
|
bg = colors.none,
|
||||||
|
|
|
@ -30,7 +30,9 @@ tokyonight.setup({
|
||||||
--- You can override specific color groups to use other groups or a hex color
|
--- You can override specific color groups to use other groups or a hex color
|
||||||
--- function will be called with a ColorScheme table
|
--- function will be called with a ColorScheme table
|
||||||
--@param colors ColorScheme
|
--@param colors ColorScheme
|
||||||
--on_colors = function(colors) end,
|
on_colors = function(colors)
|
||||||
|
colors.bg_highlight = "#9EA0A9"
|
||||||
|
end,
|
||||||
|
|
||||||
--- You can override specific highlights to use other groups or a hex color
|
--- You can override specific highlights to use other groups or a hex color
|
||||||
--- function will be called with a Highlights and ColorScheme table
|
--- function will be called with a Highlights and ColorScheme table
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue