diff options
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/colorscheme.lua | 14 | ||||
| -rw-r--r-- | lua/plugins/interface.lua | 83 |
2 files changed, 54 insertions, 43 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index c7aca2f..aaa319c 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -4,8 +4,8 @@ return { lazy = false, priority = 1000, config = function() - vim.opt.background = 'dark' require('monokai-pro').setup({ + transparent_background = true, override = function(c) return { TelescopeSelection = { bg = c.base.dimmed3 }, @@ -30,6 +30,18 @@ return { }, } end, + overridePalette = function(filter) + return { + accent1 = '#ef476f', + accent2 = '#ff8b09', + accent3 = '#ffd20b', + accent4 = '#06d671', + accent5 = '#00b4d8', + accent6 = '#816cf3', + dimmed3 = '#838383', + dimmed4 = '#838383', + } + end, }) vim.cmd.colorscheme('monokai-pro') end, diff --git a/lua/plugins/interface.lua b/lua/plugins/interface.lua index 42b9252..906dab3 100644 --- a/lua/plugins/interface.lua +++ b/lua/plugins/interface.lua @@ -1,3 +1,4 @@ + return { { 'nvim-tree/nvim-web-devicons', @@ -13,53 +14,51 @@ return { { 'nvim-lualine/lualine.nvim', event = 'VeryLazy', - opts = { - options = { - theme = function() return require('lualine.theme-monokai') end, - }, - sections = { - lualine_a = { - 'mode', + config = function() + require('lualine').setup({ + options = { + component_separators = '', + section_separators = '', + theme = require('lualine.theme-monokai'), }, - lualine_b = { - 'branch', - { - 'diagnostics', - symbols = { - error = ' ', - warn = ' ', - hint = ' ', - info = ' ', + sections = { + lualine_a = { + 'mode', + }, + lualine_b = { + 'branch', + }, + lualine_c = { + { + 'diagnostics', + symbols = { + error = ' ', + warn = ' ', + hint = ' ', + info = ' ', + }, }, }, + lualine_x = {}, + lualine_y = {}, + lualine_z = { + 'buffers', + }, }, - lualine_c = {}, - lualine_x = {}, - lualine_y = {}, - lualine_z = { - 'buffers', - }, - }, - inactive_sections = { - lualine_a = {}, - lualine_b = { - function() - return ' ' - end, - }, - lualine_c = { - 'filename', + inactive_sections = { + lualine_a = {}, + lualine_b = { + function() + return ' ' + end, + }, + lualine_c = { + 'filename', + }, + lualine_x = {}, + lualine_y = {}, + lualine_z = {}, }, - lualine_x = {}, - lualine_y = {}, - lualine_z = {}, - }, - }, - config = function(_, opts) - require('lualine').setup(opts) - vim.api.nvim_set_hl(0, 'StatusLine', { bg = require('monokai-pro.colorscheme').editor.background }) - vim.api.nvim_set_hl(0, 'StatusLineNC', { - bg = require('monokai-pro.colorscheme').editor.backgroundnil }) end, }, |
