add: config dracula theme

This commit is contained in:
asep komarudin 2024-03-09 15:05:09 +07:00
parent a121508f39
commit 0f86826268
4 changed files with 62 additions and 4 deletions

View file

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

View file

@ -142,10 +142,58 @@ return {
if data_ok then
lsp_progress = lspprogress.progress
end
-- stylua: ignore
local colors = {
blue = '#9ece6a',
cyan = '#bb9af7',
black = '#1a1b26',
black_transparant = 'none',
white = '#c6c6c6',
red = "#ff757f",
skyblue = '#7aa2f7',
grey = '#3b4261',
yellow = "#ffc777",
fg_gutter = "#3b4261",
green1 = "#4fd6be",
}
local bubbles_theme = {
normal = {
a = { fg = colors.black, bg = colors.skyblue },
b = { fg = colors.white, bg = colors.grey },
c = { fg = colors.white, bg = colors.black_transparant },
},
insert = {
a = { fg = colors.black, bg = colors.blue },
b = { fg = colors.blue, bg = colors.grey },
},
visual = {
a = { fg = colors.black, bg = colors.cyan },
b = { fg = colors.cyan, bg = colors.grey },
},
replace = {
a = { bg = colors.red, fg = colors.black },
b = { bg = colors.fg_gutter, fg = colors.red },
},
command = {
a = { bg = colors.yellow, fg = colors.black },
b = { bg = colors.fg_gutter, fg = colors.yellow },
},
terminal = {
a = { bg = colors.green1, fg = colors.black },
b = { bg = colors.fg_gutter, fg = colors.green1 },
},
inactive = {
a = { fg = colors.white, bg = colors.black_transparant },
b = { fg = colors.white, bg = colors.black_transparant },
c = { fg = colors.black, bg = colors.black_transparant },
},
}
require("lualine").setup({
options = {
theme = "auto",
theme = bubbles_theme,
-- theme = "auto",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {

View file

@ -226,17 +226,26 @@ return {
menu = "#282A36",
},
italic_comment = true,
lualine_bg_color = "#282A36",
overrides = {
NvimTreeFolderIcon = { fg = "#FCC76A" },
CmpItemAbbr = { fg = "#ABB2BF" },
CmpItemKind = { fg = "#ABB2BF" },
CmpItemAbbrDeprecated = { fg = "#ABB2BF" },
CmpItemAbbrMatch = { fg = "#8BE9FD" },
htmlLink = { fg = "#BD93F9" },
htmlLink = { fg = "#BD93F9", underline = false },
Underlined = { fg = "#8BE9FD" },
NvimTreeSpecialFile = { fg = "#FF79C6" },
MatchParen = { fg = "#F8F8F2" },
SpellBad = { fg = "#FF6E6E" },
illuminatedWord = { bg = "#3b4261" },
illuminatedCurWord = { bg = "#3b4261" },
IlluminatedWordText = { bg = "#3b4261" },
IlluminatedWordRead = { bg = "#3b4261" },
IlluminatedWordWrite = { bg = "#3b4261" },
StatusLine = { fg = "#f8f8f2", bg = "#282A36" },
StatusLineTerm = { fg = "#f8f8f2", bg = "#282A36" },
BufferLineFill = { bg = "#282A36" },
},
transparent_bg = transparent,
})