feat(themes): add enfocado
This commit is contained in:
parent
d9eeeae3a5
commit
92734a9af6
5 changed files with 59 additions and 3 deletions
|
@ -20,6 +20,7 @@ config.treesitter = {}
|
|||
-- theming, don't forget to run :PackerSync and reload CosmicNvim when chaning themes
|
||||
-- 'catppuccin'
|
||||
-- 'dracula'
|
||||
-- 'enfocado'
|
||||
-- 'gruvbox'
|
||||
-- 'nightfox'
|
||||
-- 'nord'
|
||||
|
|
47
lua/cosmic/core/theme/integrated/enfocado.lua
Normal file
47
lua/cosmic/core/theme/integrated/enfocado.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
local theme = {
|
||||
bg_0 = '#181818',
|
||||
bg_1 = '#252525',
|
||||
bg_2 = '#3B3B3B',
|
||||
dim_0 = '#777777',
|
||||
fg_0 = '#B9B9B9',
|
||||
fg_1 = '#DEDEDE',
|
||||
red = '#ED4A46',
|
||||
green = '#70B433',
|
||||
yellow = '#DBB32D',
|
||||
blue = '#368AEB',
|
||||
magenta = '#EB6EB7',
|
||||
cyan = '#3FC5B7',
|
||||
orange = '#E67F43',
|
||||
violet = '#A580E2',
|
||||
br_red = '#FF5E56',
|
||||
br_green = '#83C746',
|
||||
br_yellow = '#EFC541',
|
||||
br_blue = '#4F9CFE',
|
||||
br_magenta = '#FF81CA',
|
||||
br_cyan = '#56D8C9',
|
||||
br_orange = '#FA9153',
|
||||
br_violet = '#B891F5',
|
||||
}
|
||||
|
||||
local colors = {
|
||||
white = theme.fg_1,
|
||||
bg = theme.bg_2,
|
||||
bg_highlight = theme.bg_2,
|
||||
statusline_bg = theme.bg_1,
|
||||
normal = theme.green,
|
||||
insert = theme.cyan,
|
||||
command = theme.orange,
|
||||
visual = theme.violet,
|
||||
replace = theme.br_red,
|
||||
diffAdd = theme.green,
|
||||
diffModified = theme.orange,
|
||||
diffDeleted = theme.red,
|
||||
trace = theme.orange,
|
||||
hint = theme.cyan,
|
||||
info = theme.green,
|
||||
error = theme.red,
|
||||
warn = theme.orange,
|
||||
floatBorder = theme.blue,
|
||||
selection_caret = theme.blue,
|
||||
}
|
||||
return colors
|
|
@ -3,6 +3,7 @@ local M = {}
|
|||
M.supported_themes = {
|
||||
'catppuccin',
|
||||
'dracula',
|
||||
'enfocado',
|
||||
'gruvbox',
|
||||
'nightfox',
|
||||
'nord',
|
||||
|
@ -92,6 +93,15 @@ function M.init(use, config)
|
|||
end,
|
||||
disable = config.theme ~= 'dracula',
|
||||
})
|
||||
|
||||
use({
|
||||
'wuelnerdotexe/vim-enfocado',
|
||||
as = 'enfocado',
|
||||
config = function()
|
||||
vim.cmd('color enfocado')
|
||||
end,
|
||||
disable = config.theme ~= 'enfocado',
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -68,9 +68,6 @@ end
|
|||
local function clear_cache()
|
||||
if 0 == vim.fn.delete(vim.fn.stdpath('config') .. '/lua/cosmic/compiled.lua') then
|
||||
vim.cmd(':LuaCacheClear')
|
||||
vim.notify('Cache cleared!', vim.log.levels.INFO, {
|
||||
title = 'CosmicNvim',
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@ CosmicNvim comes with first-class support for the following themes:
|
|||
|
||||
- [Catppuccino](https://github.com/Pocco81/Catppuccino.nvim)
|
||||
- [Dracula](https://github.com/Mofiqul/dracula.nvim)
|
||||
- [Enfocado](https://github.com/wuelnerdotexe/vim-enfocado)
|
||||
- [Gruvbox](https://github.com/ellisonleao/gruvbox.nvim)
|
||||
- [Nightfox](https://github.com/EdenEast/nightfox.nvim)
|
||||
- [Nord](https://github.com/shaunsingh/nord.nvim)
|
||||
|
|
Loading…
Add table
Reference in a new issue