switch theme again

this time to my weird dracula-catppuccin hybrid
This commit is contained in:
wires 2025-03-08 14:18:17 -05:00
parent e4f8b70459
commit ec79482e0a
Signed by: wires
SSH key fingerprint: SHA256:9GtP+M3O2IivPDlw1UY872UPUuJH2gI0yG6ExBxaaiM
6 changed files with 67 additions and 41 deletions

View file

@ -10,6 +10,7 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"cosmic-ui": { "branch": "main", "commit": "ab7de388576eaac02ce7bc2389e55b8e207aad12" }, "cosmic-ui": { "branch": "main", "commit": "ab7de388576eaac02ce7bc2389e55b8e207aad12" },
"dracula.nvim": { "branch": "main", "commit": "96c9d19ce81b26053055ad6f688277d655b3f7d2" },
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" }, "fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
"gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" }, "gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" },

View file

@ -1,8 +1,6 @@
local config = { local config = {
border = 'none', border = 'none',
colorscheme = 'catppuccin', colorscheme = 'dracula',
add_plugins = {},
plugins = {},
lsp = { lsp = {
inlay_hint = false, inlay_hint = false,
format_timeout = 500, format_timeout = 500,

View file

@ -0,0 +1,44 @@
local colors = {
gray = '#181825',
lightgray = '#313244',
orange = '#ffb86c',
purple = '#bd93f9',
red = '#ff5555',
yellow = '#f1fa8c',
green = '#50fa7b',
white = '#cdd6f4',
black = '#282a36',
}
return {
normal = {
a = { bg = colors.purple, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.gray, fg = colors.white },
},
insert = {
a = { bg = colors.green, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.gray, fg = colors.white },
},
visual = {
a = { bg = colors.yellow, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.gray, fg = colors.white },
},
replace = {
a = { bg = colors.red, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.gray, fg = colors.white },
},
command = {
a = { bg = colors.orange, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.gray, fg = colors.white },
},
inactive = {
a = { bg = colors.gray, fg = colors.white, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.gray, fg = colors.white },
},
}

View file

@ -23,7 +23,7 @@ local default_header = {
}, },
opts = { opts = {
position = 'center', position = 'center',
hl = 'Type', hl = 'Define',
-- wrap = "overflow"; -- wrap = "overflow";
}, },
} }
@ -52,7 +52,7 @@ local function button(sc, txt, keybind, keybind_opts)
cursor = 3, cursor = 3,
width = 50, width = 50,
align_shortcut = 'right', align_shortcut = 'right',
hl_shortcut = 'Keyword', hl_shortcut = 'Type',
} }
if keybind then if keybind then
keybind_opts = if_nil(keybind_opts, { noremap = true, silent = true, nowait = true }) keybind_opts = if_nil(keybind_opts, { noremap = true, silent = true, nowait = true })
@ -75,9 +75,9 @@ end
local buttons = { local buttons = {
type = 'group', type = 'group',
val = { val = {
button('SPC f f', '󰈞 Find file'), button('SPC f f', '󰈞 find file'),
button('SPC f s', 'Find word'), button('SPC f s', 'live grep'),
button('SPC s l', 'Open last session'), button('SPC s l', 'open last session'),
}, },
opts = { opts = {
spacing = 1, spacing = 1,

View file

@ -1,33 +0,0 @@
local config = {
flavour = 'mocha',
integrations = {
fidget = true,
which_key = true,
lsp_trouble = true,
telescope = {
enabled = true,
},
},
color_overrides = {
mocha = {
base = '#11111b',
mantle = '#181825',
crust = '#11111b',
},
},
custom_highlights = function(_)
return {
CursorLine = { bg = '#1e1e2e' },
}
end,
}
return {
{ -- color scheme
'catppuccin/nvim',
lazy = false,
config = function()
require('catppuccin').setup(config)
end,
},
}

16
lua/plugins/dracula.lua Normal file
View file

@ -0,0 +1,16 @@
return {
'Mofiqul/dracula.nvim',
opts = {
colors = {
bg = '#11111b',
fg = '#cdd6f4',
menu = '#11111b',
selection = '#45475a',
comment = '#9399b2',
},
overrides = {
CursorLine = { bg = '#1e1e2e' },
LineNr = { fg = '#45475a' },
},
},
}