enc: update transparant config for tabbufferline bg color

This commit is contained in:
pojok code 2025-06-10 21:09:13 +07:00
parent 5b2d06cf97
commit 65b1300677
6 changed files with 120 additions and 104 deletions

View file

@ -1,6 +1,5 @@
{ {
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"Eva-Theme.nvim": { "branch": "master", "commit": "9d743346eb0e7647d79468fff6f57352cd102655" },
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" }, "FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
"LuaSnip": { "branch": "master", "commit": "5271933f7cea9f6b1c7de953379469010ed4553a" }, "LuaSnip": { "branch": "master", "commit": "5271933f7cea9f6b1c7de953379469010ed4553a" },
"alpha-nvim": { "branch": "main", "commit": "a35468cd72645dbd52c0624ceead5f301c566dff" }, "alpha-nvim": { "branch": "main", "commit": "a35468cd72645dbd52c0624ceead5f301c566dff" },
@ -20,6 +19,7 @@
"code_runner.nvim": { "branch": "main", "commit": "65c8d11f507073b915f10faa88ea05bd4fbf69ce" }, "code_runner.nvim": { "branch": "main", "commit": "65c8d11f507073b915f10faa88ea05bd4fbf69ce" },
"codeium.vim": { "branch": "main", "commit": "272c6e2755e8faa90e26bcdcd9fde6b9e61751ea" }, "codeium.vim": { "branch": "main", "commit": "272c6e2755e8faa90e26bcdcd9fde6b9e61751ea" },
"conform.nvim": { "branch": "master", "commit": "8132ec733eed3bf415b97b76797ca41b59f51d7d" }, "conform.nvim": { "branch": "master", "commit": "8132ec733eed3bf415b97b76797ca41b59f51d7d" },
"dracula.nvim": { "branch": "main", "commit": "96c9d19ce81b26053055ad6f688277d655b3f7d2" },
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "d0f90ef51d4be86b824b012ec52ed715b5622e51" }, "gitsigns.nvim": { "branch": "main", "commit": "d0f90ef51d4be86b824b012ec52ed715b5622e51" },
@ -52,7 +52,7 @@
"nvim-navic": { "branch": "master", "commit": "f887d794a0f4594882814d7780980a949200a238" }, "nvim-navic": { "branch": "master", "commit": "f887d794a0f4594882814d7780980a949200a238" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" }, "nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" },
"nvim-scrollview": { "branch": "main", "commit": "23db9bbd210fed942085070071fdac921837a55f" }, "nvim-scrollview": { "branch": "main", "commit": "b65192ef2e39c456e8dc5f8f5cdd9b8d13f121e4" },
"nvim-tree.lua": { "branch": "master", "commit": "1c733e8c1957dc67f47580fe9c458a13b5612d5b" }, "nvim-tree.lua": { "branch": "master", "commit": "1c733e8c1957dc67f47580fe9c458a13b5612d5b" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },

View file

@ -0,0 +1,14 @@
return {
"j-hui/fidget.nvim",
lazy = true,
tag = "legacy",
event = "BufRead",
config = function()
require("fidget").setup({
window = {
blend = 0,
relative = "editor",
},
})
end,
}

View file

@ -22,6 +22,7 @@ return {
"WinBarNC", "WinBarNC",
"NotifyBackground", "NotifyBackground",
"TabLine", "TabLine",
"TabLineFill",
}, },
exclude_groups = { exclude_groups = {
-- disable active selection backgroun -- disable active selection backgroun

View file

@ -1,62 +1,62 @@
return { return {
"Mofiqul/dracula.nvim", "Mofiqul/dracula.nvim",
priority = 1000, priority = 1000,
opts=function() opts = function()
local colors = require("dracula").colors() local colors = require("dracula").colors()
return{ return {
colors = { colors = {
-- purple = "#FCC76A", -- purple = "#FCC76A",
menu = colors.bg, menu = colors.bg,
selection = "#363848", selection = "#363848",
}, },
italic_comment = true, italic_comment = true,
lualine_bg_color = colors.bg, lualine_bg_color = colors.bg,
overrides = { overrides = {
Keywords = { fg = colors.cyan, italic = true }, Keywords = { fg = colors.cyan, italic = true },
["@keyword"] = { fg = colors.pink, italic = true }, ["@keyword"] = { fg = colors.pink, italic = true },
["@keyword.function"] = { fg = colors.cyan, italic = true }, ["@keyword.function"] = { fg = colors.cyan, italic = true },
["@function"] = { fg = colors.green, italic = true }, ["@function"] = { fg = colors.green, italic = true },
["@tag.attribute"] = { fg = colors.green, italic = true }, ["@tag.attribute"] = { fg = colors.green, italic = true },
["@tag.builtin.javascript"] = { fg = colors.pink }, ["@tag.builtin.javascript"] = { fg = colors.pink },
["@tag.delimiter.javascript"] = { fg = colors.fg }, ["@tag.delimiter.javascript"] = { fg = colors.fg },
["@type.javascript"] = { fg = colors.fg }, ["@type.javascript"] = { fg = colors.fg },
["@property.css"] = { fg = colors.cyan }, ["@property.css"] = { fg = colors.cyan },
["@type.css"] = { fg = colors.green }, ["@type.css"] = { fg = colors.green },
["@tag.css"] = { fg = colors.pink }, ["@tag.css"] = { fg = colors.pink },
["@keyword.css"] = { fg = colors.fg }, ["@keyword.css"] = { fg = colors.fg },
["@string.css"] = { fg = colors.pink }, ["@string.css"] = { fg = colors.pink },
NvimTreeFolderIcon = { fg = "#6776a7" }, NvimTreeFolderIcon = { fg = "#6776a7" },
CmpItemAbbr = { fg = "#ABB2BF" }, CmpItemAbbr = { fg = "#ABB2BF" },
CmpItemKind = { fg = "#ABB2BF" }, CmpItemKind = { fg = "#ABB2BF" },
CmpItemAbbrDeprecated = { fg = "#ABB2BF" }, CmpItemAbbrDeprecated = { fg = "#ABB2BF" },
CmpItemAbbrMatch = { fg = "#8BE9FD" }, CmpItemAbbrMatch = { fg = "#8BE9FD" },
htmlLink = { fg = "#BD93F9", underline = false }, htmlLink = { fg = "#BD93F9", underline = false },
Underlined = { fg = "#8BE9FD" }, Underlined = { fg = "#8BE9FD" },
NvimTreeSpecialFile = { fg = "#FF79C6" }, NvimTreeSpecialFile = { fg = "#FF79C6" },
SpellBad = { fg = "#FF6E6E" }, SpellBad = { fg = "#FF6E6E" },
illuminatedWord = { bg = "#3b4261" }, illuminatedWord = { bg = "#3b4261" },
illuminatedCurWord = { bg = "#3b4261" }, illuminatedCurWord = { bg = "#3b4261" },
IlluminatedWordText = { bg = "#3b4261" }, IlluminatedWordText = { bg = "#3b4261" },
IlluminatedWordRead = { bg = "#3b4261" }, IlluminatedWordRead = { bg = "#3b4261" },
IlluminatedWordWrite = { bg = "#3b4261" }, IlluminatedWordWrite = { bg = "#3b4261" },
DiffChange = { fg = colors.fg }, DiffChange = { fg = colors.fg },
StatusLine = { fg = colors.fg, bg = colors.bg }, StatusLine = { fg = colors.fg, bg = colors.bg },
StatusLineTerm = { fg = colors.fg, bg = colors.bg }, StatusLineTerm = { fg = colors.fg, bg = colors.bg },
BufferLineFill = { bg = colors.bg }, BufferLineFill = { bg = colors.bg },
Pmenu = { fg = colors.fg, bg = colors.bg }, Pmenu = { fg = colors.fg, bg = colors.bg },
LspInfoBorder = { fg = colors.fg }, LspInfoBorder = { fg = colors.fg },
LspReferenceText = { bg = "#3b4261" }, LspReferenceText = { bg = "#3b4261" },
LspReferenceRead = { bg = "#3b4261" }, LspReferenceRead = { bg = "#3b4261" },
LspReferenceWrite = { bg = "#3b4261" }, LspReferenceWrite = { bg = "#3b4261" },
WinBar = { bg = colors.bg }, WinBar = { bg = colors.bg },
WinBarNC = { fg = colors.fg, bg = colors.bg }, WinBarNC = { fg = colors.fg, bg = colors.bg },
}, },
transparent_bg = false, transparent_bg = false,
} }
end, end,
config = function(_,opts) config = function(_, opts)
require("dracula").setup(opts) require("dracula").setup(opts)
local colorscheme = pcode.themes.dracula or "dracula" local colorscheme = pcode.themes.dracula or "dracula"
vim.cmd("colorscheme " .. colorscheme) vim.cmd("colorscheme " .. colorscheme)
end, end,
} }

View file

@ -1,41 +1,41 @@
return { return {
"pojokcodeid/darcula-dark.nvim", "pojokcodeid/darcula-dark.nvim",
priority = 1000, priority = 1000,
lazy = false, lazy = false,
config = function() config = function()
require("darcula").setup({ require("darcula").setup({
colors = { colors = {
lavender = "#9876AA", lavender = "#9876AA",
statusline = "NONE", statusline = "NONE",
}, },
}) })
vim.api.nvim_create_autocmd("ColorScheme", { vim.api.nvim_create_autocmd("ColorScheme", {
pattern = "*", pattern = "*",
callback = function() callback = function()
local colors = require("darcula").colors() local colors = require("darcula").colors()
local hi = vim.api.nvim_set_hl local hi = vim.api.nvim_set_hl
hi(0, "@property.json", { fg = colors.lavender }) hi(0, "@property.json", { fg = colors.lavender })
hi(0, "@property.jsonc", { fg = colors.lavender }) hi(0, "@property.jsonc", { fg = colors.lavender })
hi(0, "LineNr", { ctermfg = 11, fg = colors._39 }) hi(0, "LineNr", { ctermfg = 11, fg = colors._39 })
-- hi(0, "@variable.member.sql", { fg = colors.olive_green }) -- hi(0, "@variable.member.sql", { fg = colors.olive_green })
-- telescope -- telescope
hi(0, "TelescopePromptBorder", { fg = colors.medium_gray }) hi(0, "TelescopePromptBorder", { fg = colors.medium_gray })
hi(0, "TelescopeResultsBorder", { fg = colors.medium_gray }) hi(0, "TelescopeResultsBorder", { fg = colors.medium_gray })
hi(0, "TelescopePreviewBorder", { fg = colors.medium_gray }) hi(0, "TelescopePreviewBorder", { fg = colors.medium_gray })
hi(0, "TelescopeSelection", { bg = colors.dark_charcoal_gray }) hi(0, "TelescopeSelection", { bg = colors.dark_charcoal_gray })
hi(0, "TelescopeMultiSelection", { bg = colors.dark_charcoal_gray }) hi(0, "TelescopeMultiSelection", { bg = colors.dark_charcoal_gray })
hi(0, "TelescopeNormal", { bg = colors.dark }) hi(0, "TelescopeNormal", { bg = colors.dark })
hi(0, "TelescopeMatching", { fg = colors.olive_green }) hi(0, "TelescopeMatching", { fg = colors.olive_green })
hi(0, "TelescopePromptPrefix", { fg = colors.red }) hi(0, "TelescopePromptPrefix", { fg = colors.red })
hi(0, "TelescopeResultsDiffDelete", { fg = colors.red }) hi(0, "TelescopeResultsDiffDelete", { fg = colors.red })
hi(0, "TelescopeResultsDiffChange", { fg = colors.bright_cyan }) hi(0, "TelescopeResultsDiffChange", { fg = colors.bright_cyan })
hi(0, "TelescopeResultsDiffAdd", { fg = colors.olive_green }) hi(0, "TelescopeResultsDiffAdd", { fg = colors.olive_green })
hi(0, "TelescopePromptNormal", { bg = colors.dark, fg = colors.grey }) hi(0, "TelescopePromptNormal", { bg = colors.dark, fg = colors.grey })
hi(0, "TelescopePromptPrefix", { bg = colors.dark, fg = colors.red }) hi(0, "TelescopePromptPrefix", { bg = colors.dark, fg = colors.red })
hi(0, "TelescopeResultsTitle", { bg = colors.olive_green, fg = colors.very_dark_gray }) hi(0, "TelescopeResultsTitle", { bg = colors.olive_green, fg = colors.very_dark_gray })
end, end,
}) })
local colorscheme = pcode.themes.jetbrains or "darcula-dark" local colorscheme = pcode.themes.jetbrains or "darcula-dark"
vim.cmd("colorscheme " .. colorscheme) vim.cmd("colorscheme " .. colorscheme)
end, end,
} }

View file

@ -47,18 +47,19 @@ pcode.extras = {
zenmode = true, zenmode = true,
lspsignatur = false, lspsignatur = false,
telescopetreesiterinfo = true, telescopetreesiterinfo = true,
fidget = false,
} }
-- activate config themes -- activate config themes
pcode.themes = { pcode.themes = {
-- note: open remark only one -- note: open remark only one
-- **:: Eva Theme ::** -- -- **:: Eva Theme ::** --
evatheme = "Eva-Dark", -- evatheme = "Eva-Dark",
-- evatheme = "Eva-Dark-Italic", -- evatheme = "Eva-Dark-Italic",
-- evatheme = "Eva-Dark-Bold", -- evatheme = "Eva-Dark-Bold",
-- evatheme = "Eva-Light", -- evatheme = "Eva-Light",
-- --
-- **:: Dracula Theme ::** -- -- **:: Dracula Theme ::** --
-- dracula = "dracula", dracula = "dracula",
-- dracula = "dracula-soft", -- dracula = "dracula-soft",
-- --
-- **:: Onedarkpro Theme ::** -- -- **:: Onedarkpro Theme ::** --
@ -92,6 +93,6 @@ pcode.themes = {
-- github = "github_dark_dimmed", -- github = "github_dark_dimmed",
} }
-- activate config transparent_bg -- activate config transparent_bg
pcode.transparent = false pcode.transparent = true
pcode.localcode = true pcode.localcode = true
pcode.snippets_path = vim.fn.stdpath("config") .. "/mysnippets" pcode.snippets_path = vim.fn.stdpath("config") .. "/mysnippets"