moved themes to themes dir
This commit is contained in:
66
lua/themes/astrodark.lua
Normal file
66
lua/themes/astrodark.lua
Normal file
@ -0,0 +1,66 @@
|
||||
return {
|
||||
'AstroNvim/astrotheme',
|
||||
lazy = true,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
local C = require('astrotheme.palettes.astrodark')
|
||||
require('astrotheme').setup({
|
||||
palette = 'astrodark', -- String of the default palette to use when calling `:colorscheme astrotheme`
|
||||
|
||||
termguicolors = true, -- Bool value, toggles if termguicolors are set by AstroTheme.
|
||||
|
||||
terminal_color = true, -- Bool value, toggles if terminal_colors are set by AstroTheme.
|
||||
|
||||
plugin_default = 'auto', -- Sets how all plugins will be loaded
|
||||
-- "auto": Uses lazy / packer enabled plugins to load highlights.
|
||||
-- true: Enables all plugins highlights.
|
||||
-- false: Disables all plugins.
|
||||
|
||||
plugins = { -- Allows for individual plugin overides using plugin name and value from above.
|
||||
-- ['lualine'] = true,
|
||||
},
|
||||
|
||||
palettes = {
|
||||
global = {
|
||||
},
|
||||
astrodark = {
|
||||
},
|
||||
},
|
||||
highlights = {
|
||||
global = {
|
||||
modify_hl_groups = function(hl, c)
|
||||
end,
|
||||
},
|
||||
astrodark = {
|
||||
modify_hl_groups = function(hl, c) -- modify_hl_groups function allows you to modify hl groups,
|
||||
hl.Type = { fg = c.Yellow }
|
||||
hl.Comment = { italic = true }
|
||||
end,
|
||||
['@lsp.mod.readonly'] = { bold = true },
|
||||
['@lsp.type.namespace.cpp'] = { fg = C.rb },
|
||||
['@lsp.type.variable'] = { fg = C.light_purple },
|
||||
-- ['@lsp.type.variable'] = { link = '@variable' },
|
||||
['@variable'] = { fg = C.light_purple, link = '' },
|
||||
-- ['Function'] = { fg = C.light_cyan },
|
||||
['@lsp.type.enumMember'] = { fg = C.cyan },
|
||||
['Comment'] = { italic = true },
|
||||
['Type'] = { fg = C.dark_orange },
|
||||
['Structure'] = { link = 'Type' },
|
||||
['Constant'] = { fg = 'NONE' },
|
||||
['@parameter'] = { fg = C.toml },
|
||||
['NormalFloat'] = { bg = C.surface0 },
|
||||
['TelescopeBorder'] = { bg = C.surface0 },
|
||||
['TelescopeNormal'] = { bg = C.surface0 },
|
||||
['TelescopePreviewBorder'] = { link = 'TelescopeBorder' },
|
||||
['TelescopeResultsBorder'] = { link = 'TelescopeResultsNormal' },
|
||||
['TelescopePreviewNormal'] = { bg = C.surface0 },
|
||||
['TelescopeTitle'] = { bg = C.surface0 },
|
||||
['TelescopePromptNormal'] = { bg = C.surface0 },
|
||||
['TelescopePromptBorder'] = { link = 'TelescopeBorder' },
|
||||
}
|
||||
}
|
||||
})
|
||||
vim.cmd('colorscheme astrodark')
|
||||
end,
|
||||
enabled = true
|
||||
}
|
Reference in New Issue
Block a user