add: config color scheme dracula

This commit is contained in:
asep komarudin 2024-03-09 15:42:18 +07:00
parent de012fe94d
commit ad93d71272
3 changed files with 16 additions and 8 deletions

View file

@ -12,7 +12,7 @@
-- catppuccin, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha -- catppuccin, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha
-- dracula -- dracula
-- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox -- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox
vim.g.pcode_colorscheme = "tokyonight" vim.g.pcode_colorscheme = "dracula"
-- custom transparent mode -- custom transparent mode
-- only support -- only support

View file

@ -150,7 +150,7 @@ return {
black_transparant = 'none', black_transparant = 'none',
white = '#c6c6c6', white = '#c6c6c6',
red = "#ff757f", red = "#ff757f",
skyblue = '#7aa2f7', skyblue_1 = '#7aa2f7',
grey = '#3b4261', grey = '#3b4261',
yellow = "#ffc777", yellow = "#ffc777",
fg_gutter = "#3b4261", fg_gutter = "#3b4261",
@ -159,7 +159,7 @@ return {
local bubbles_theme = { local bubbles_theme = {
normal = { normal = {
a = { fg = colors.black, bg = colors.skyblue }, a = { fg = colors.black, bg = colors.skyblue_1 },
b = { fg = colors.white, bg = colors.grey }, b = { fg = colors.white, bg = colors.grey },
c = { fg = colors.white, bg = colors.black_transparant }, c = { fg = colors.white, bg = colors.black_transparant },
}, },

View file

@ -220,13 +220,20 @@ return {
"Mofiqul/dracula.nvim", "Mofiqul/dracula.nvim",
enabled = dracula, enabled = dracula,
config = function() config = function()
local is_transparent = false
local colors = require("dracula").colors()
if is_transparent then
colors = {
bg = "none",
}
end
require("dracula").setup({ require("dracula").setup({
colors = { colors = {
-- purple = "#FCC76A", -- purple = "#FCC76A",
menu = "#282A36", menu = colors.bg,
}, },
italic_comment = true, italic_comment = true,
lualine_bg_color = "#282A36", lualine_bg_color = colors.bg,
overrides = { overrides = {
NvimTreeFolderIcon = { fg = "#FCC76A" }, NvimTreeFolderIcon = { fg = "#FCC76A" },
CmpItemAbbr = { fg = "#ABB2BF" }, CmpItemAbbr = { fg = "#ABB2BF" },
@ -243,11 +250,12 @@ return {
IlluminatedWordText = { bg = "#3b4261" }, IlluminatedWordText = { bg = "#3b4261" },
IlluminatedWordRead = { bg = "#3b4261" }, IlluminatedWordRead = { bg = "#3b4261" },
IlluminatedWordWrite = { bg = "#3b4261" }, IlluminatedWordWrite = { bg = "#3b4261" },
StatusLine = { fg = "#f8f8f2", bg = "#282A36" }, StatusLine = { fg = "#f8f8f2", bg = colors.bg },
StatusLineTerm = { fg = "#f8f8f2", bg = "#282A36" }, StatusLineTerm = { fg = "#f8f8f2", bg = colors.bg },
BufferLineFill = { bg = "#282A36" }, BufferLineFill = { bg = colors.bg },
}, },
transparent_bg = transparent, transparent_bg = transparent,
-- transparent_bg = is_transparent,
}) })
end, end,
}, },