feat(theme)!: switch to dracula
This commit is contained in:
@@ -1,49 +1,3 @@
|
|||||||
local lualine_theme = function()
|
|
||||||
local colors = {
|
|
||||||
darkgray = "#181825",
|
|
||||||
gray = "#cdd6f4",
|
|
||||||
innerbg = nil,
|
|
||||||
outerbg = "#313244",
|
|
||||||
normal = "#89b4fa",
|
|
||||||
insert = "#a6e3a1",
|
|
||||||
visual = "#cdd6f4",
|
|
||||||
replace = "#f38ba8",
|
|
||||||
command = "#fab387",
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
inactive = {
|
|
||||||
a = { fg = colors.gray, bg = colors.outerbg, gui = "bold" },
|
|
||||||
b = { fg = colors.gray, bg = colors.outerbg },
|
|
||||||
c = { fg = colors.gray, bg = colors.innerbg },
|
|
||||||
},
|
|
||||||
visual = {
|
|
||||||
a = { fg = colors.darkgray, bg = colors.visual, gui = "bold" },
|
|
||||||
b = { fg = colors.gray, bg = colors.outerbg },
|
|
||||||
c = { fg = colors.gray, bg = colors.innerbg },
|
|
||||||
},
|
|
||||||
replace = {
|
|
||||||
a = { fg = colors.darkgray, bg = colors.replace, gui = "bold" },
|
|
||||||
b = { fg = colors.gray, bg = colors.outerbg },
|
|
||||||
c = { fg = colors.gray, bg = colors.innerbg },
|
|
||||||
},
|
|
||||||
normal = {
|
|
||||||
a = { fg = colors.darkgray, bg = colors.normal, gui = "bold" },
|
|
||||||
b = { fg = colors.gray, bg = colors.outerbg },
|
|
||||||
c = { fg = colors.gray, bg = colors.innerbg },
|
|
||||||
},
|
|
||||||
insert = {
|
|
||||||
a = { fg = colors.darkgray, bg = colors.insert, gui = "bold" },
|
|
||||||
b = { fg = colors.gray, bg = colors.outerbg },
|
|
||||||
c = { fg = colors.gray, bg = colors.innerbg },
|
|
||||||
},
|
|
||||||
command = {
|
|
||||||
a = { fg = colors.darkgray, bg = colors.command, gui = "bold" },
|
|
||||||
b = { fg = colors.gray, bg = colors.outerbg },
|
|
||||||
c = { fg = colors.gray, bg = colors.innerbg },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
@@ -51,7 +5,7 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = lualine_theme(),
|
theme = "dracula-nvim",
|
||||||
component_separators = { left = "", right = "" },
|
component_separators = { left = "", right = "" },
|
||||||
section_separators = { left = "", right = "" },
|
section_separators = { left = "", right = "" },
|
||||||
disabled_filetypes = {
|
disabled_filetypes = {
|
||||||
|
|||||||
@@ -1,38 +1,15 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"Mofiqul/dracula.nvim",
|
||||||
name = "catppuccin",
|
name = "dracula",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
config = function()
|
||||||
vim.cmd.colorscheme('catppuccin-mocha')
|
vim.cmd.colorscheme("dracula")
|
||||||
|
|
||||||
local catppuccin_colors = require('catppuccin.palettes').get_palette('mocha')
|
vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "Visual" })
|
||||||
|
vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "Visual" })
|
||||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "Visual" })
|
||||||
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
|
end,
|
||||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
},
|
||||||
vim.api.nvim_set_hl(0, "FloatBorder", { fg = catppuccin_colors.surface2 })
|
|
||||||
vim.api.nvim_set_hl(0, "StatusLine", { bg = "none" })
|
|
||||||
-- If Vim thinks StatusLine and StatusLineNC are the same it overrides these settings
|
|
||||||
vim.api.nvim_set_hl(0, "StatusLineNC", { ctermbg = 0, bg = "none" })
|
|
||||||
vim.api.nvim_set_hl(0, "CursorLine", { link = "Visual" })
|
|
||||||
vim.api.nvim_set_hl(0, "Pmenu", { link = "Normal" })
|
|
||||||
vim.api.nvim_set_hl(0, "PmenuSel", { link = "Visual" })
|
|
||||||
vim.api.nvim_set_hl(0, "PmenuSbar", { link = "Normal" })
|
|
||||||
vim.api.nvim_set_hl(0, "CmpPmenuBorder", { fg = catppuccin_colors.surface2 })
|
|
||||||
vim.api.nvim_set_hl(0, "MiniIndentscopeSymbol", { fg = catppuccin_colors.surface2 })
|
|
||||||
vim.api.nvim_set_hl(0, "DiffAdd", { fg = catppuccin_colors.green, bg = "none" })
|
|
||||||
vim.api.nvim_set_hl(0, "DiffDelete", { fg = catppuccin_colors.red, bg = "none" })
|
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceFormatProgressTodo", { link = "Normal" })
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceFormatProgressDone", { link = "Normal" })
|
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorder", { fg = catppuccin_colors.peach })
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIconCmdline", { fg = catppuccin_colors.peach })
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIconHelp", { fg = catppuccin_colors.blue })
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIconSearch", { fg = catppuccin_colors.blue })
|
|
||||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorderSearch", { fg = catppuccin_colors.blue })
|
|
||||||
end
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user