Code cleanup

This commit is contained in:
Christoffer Martinsson 2023-05-28 23:29:30 +02:00
parent dd0685609f
commit aac13474bd

View File

@ -2,41 +2,27 @@ return {
"AstroNvim/astrotheme", "AstroNvim/astrotheme",
config = function() config = function()
require("astrotheme").setup { 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 = { palettes = {
global = {
-- Globaly accessible palettes, theme palettes take priority.
},
astrodark = { astrodark = {
-- Extend or modify astrodarks palette colors -- Extend or modify astrodarks palette colors
base = "#1e1e1e", -- Overrides astrodarks red color base = "#1e1e1e",
mantle = "#181818", -- Overrides astrodarks red color mantle = "#181818",
crust = "#1f1f1f", -- Overrides astrodarks red color crust = "#1f1f1f",
surface0 = "#252525", -- Overrides astrodarks red color surface0 = "#252525",
surface1 = "#3e3e3e", -- Overrides astrodarks red color surface1 = "#3e3e3e",
overlay1 = "#2c2c2c", -- Overrides astrodarks red color overlay1 = "#2c2c2c",
overlay2 = "#282828",
subtext0 = "#4b4b4b",
subtext1 = "#777777",
text = "#ababab",
}, },
}, },
highlights = { highlights = {
global = { astrodark = {
-- Add or modify hl groups globaly, theme specific hl groups take priority.
}, },
astrodark = {},
}, },
} }
end, end,