added nightfox colors (#29)
* added nightfox colours Co-authored-by: Harun Sheikhali <harun.sheikhali@agilebits.com>
This commit is contained in:
parent
a14a4bb118
commit
9b27aae4c2
4 changed files with 39 additions and 0 deletions
|
@ -22,6 +22,7 @@ config.treesitter = {}
|
|||
-- 'gruvbox'
|
||||
-- 'nord'
|
||||
-- 'rose-pine'
|
||||
-- nightfox
|
||||
config.theme = 'tokyonight' -- don't define or set to nil, if you want to enable your own theme in cosmic/config/plugins.lua
|
||||
|
||||
-- lsp settings
|
||||
|
|
26
lua/cosmic/core/theme/integrated/nightfox.lua
Normal file
26
lua/cosmic/core/theme/integrated/nightfox.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
local theme = require('nightfox.colors')
|
||||
local themeColors = theme.init()
|
||||
|
||||
local colors = {
|
||||
white = themeColors.fg_alt,
|
||||
bg = themeColors.bg,
|
||||
bg_highlight = themeColors.bg_highlight,
|
||||
statusline_bg = themeColors.bg_alt,
|
||||
normal = themeColors.blue,
|
||||
insert = themeColors.cyan,
|
||||
command = themeColors.orange,
|
||||
visual = themeColors.magenta,
|
||||
replace = themeColors.red,
|
||||
diffAdd = themeColors.git.add,
|
||||
diffModified = themeColors.git.change,
|
||||
diffDeleted = themeColors.git.delete,
|
||||
trace = themeColors.orange,
|
||||
hint = themeColors.cyan,
|
||||
info = themeColors.green_br,
|
||||
error = themeColors.magenta_br,
|
||||
warn = themeColors.orange,
|
||||
floatBorder = themeColors.border_highlight,
|
||||
selection_caret = themeColors.pink,
|
||||
}
|
||||
|
||||
return colors
|
|
@ -5,6 +5,7 @@ M.supported_themes = {
|
|||
'catppuccin',
|
||||
'gruvbox',
|
||||
'rose-pine',
|
||||
'nightfox',
|
||||
'nord',
|
||||
}
|
||||
|
||||
|
@ -62,6 +63,16 @@ function M.init(use, config)
|
|||
end,
|
||||
disable = config.theme ~= 'rose-pine',
|
||||
})
|
||||
|
||||
use({
|
||||
'EdenEast/nightfox.nvim',
|
||||
as = 'nightfox',
|
||||
config = function()
|
||||
vim.cmd('color nightfox')
|
||||
end,
|
||||
disable = config.theme ~= 'nightfox'
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -79,6 +79,7 @@ CosmicNvim comes with first-class support for the following themes:
|
|||
- [Rose-pine](https://github.com/rose-pine/neovim)
|
||||
- [Nord](https://github.com/shaunsingh/nord.nvim)
|
||||
- [Tokyonight](https://github.com/folke/tokyonight.nvim)
|
||||
- [Nightfox](https://github.com/EdenEast/nightfox.nvim)
|
||||
|
||||
## Configuration
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue