use astratheme

This commit is contained in:
Oliver Hartmann 2023-05-30 23:26:06 +02:00
parent bb792a23c8
commit a10d5bccf4
4 changed files with 41 additions and 34 deletions

32
lua/plugins/astrodark.lua Normal file
View File

@ -0,0 +1,32 @@
return {
'AstroNvim/astrotheme',
lazy = false,
priority = 1000,
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.
-- ['lualine'] = true,
},
palettes = {
global = {
},
astrodark = {
},
},
})
vim.cmd('colorscheme astrodark')
end,
enabled = true
}

View File

@ -96,5 +96,6 @@ return
end,
})
vim.cmd('colorscheme catppuccin')
end
end,
enabled = false
}

View File

@ -2,20 +2,9 @@ return {
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
local custom_gruvbox = require 'lualine.themes.gruvbox_dark'
-- Change the background of lualine_c section for normal mode
custom_gruvbox.normal.a.bg = '#282828'
custom_gruvbox.normal.b.bg = '#282828'
custom_gruvbox.normal.c.bg = '#282828'
-- custom_gruvbox.normal.a.fg = '#282828'
-- custom_gruvbox.normal.b.fg = '#282828'
-- custom_gruvbox.normal.c.fg = '#282828'
require('lualine').setup {
options = {
-- theme = custom_gruvbox,
theme = 'catppuccin',
theme = 'material',
disabled_filetypes = {
statusline = {},
winbar = { 'dap-repl', 'dapui_console' },
@ -59,21 +48,14 @@ return {
path = 0,
file_status = true,
separator = { left = '', right = '' },
-- color = { fg = '#ffaa88', gui = 'bold' }
color = { fg = '#ffaa88', bg = '#282828', gui = 'bold' }
}
},
lualine_b = {
{
'filesize',
color = { bg = '#282828' }
}
},
},
lualine_c = {
{
'aerial',
color = { fg = '#ebdbb2', bg = '#282828', gui = 'bold' }
}
},
lualine_x = {},
lualine_y = {},
@ -87,18 +69,14 @@ return {
path = 0,
file_status = true,
separator = { left = '', right = '' },
color = { fg = '#ffaa88', bg = '#282828', gui = 'bold' }
-- color = { fg = '#ffaa88', bg = 'grey', gui = 'italic,bold' }
-- color = { fg = '#ff1111'}
}
},
lualine_b = {
{
'filesize',
color = { bg = '#282828' }
}
},
},
lualine_c = { 'aerial' },
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = {}
@ -110,11 +88,6 @@ return {
{
'tabs',
mode = 2,
tabs_color = {
-- Same values as the general color option can be used here.
active = 'lualine_a_normal', -- Color for active tab.
inactive = 'lualine_a_inactive', -- Color for inactive tab.
},
}
},
lualine_x = {},
@ -122,5 +95,5 @@ return {
lualine_z = {}
},
}
end
end,
}

View File

@ -58,5 +58,6 @@ return {
end,
})
vim.cmd('colorscheme monokai-pro')
end
end,
enabled = false
}