Added custom theme config

This commit is contained in:
Christoffer Martinsson 2023-05-28 21:13:34 +02:00
parent 384bc55e93
commit cc17f84a68
2 changed files with 44 additions and 1 deletions

View File

@ -1,3 +1,3 @@
return { -- this table overrides highlights in all themes return { -- this table overrides highlights in all themes
-- Normal = { bg = "#333333" }, -- Normal = { bg = "#262626" },
} }

View File

@ -0,0 +1,43 @@
return {
"AstroNvim/astrotheme",
config = function()
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.
["bufferline.nvim"] = false,
},
palettes = {
global = {
-- Globaly accessible palettes, theme palettes take priority.
},
astrodark = {
-- Extend or modify astrodarks palette colors
base = "#1e1e1e", -- Overrides astrodarks red color
mantle = "#181818", -- Overrides astrodarks red color
crust = "#1f1f1f", -- Overrides astrodarks red color
surface0 = "#252525", -- Overrides astrodarks red color
surface1 = "#3e3e3e", -- Overrides astrodarks red color
overlay1 = "#2c2c2c", -- Overrides astrodarks red color
},
},
highlights = {
global = {
-- Add or modify hl groups globaly, theme specific hl groups take priority.
},
astrodark = {},
},
}
end,
}