diff options
| author | Nanderty <psopka@sopka.ch> | 2024-09-25 23:07:45 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2024-09-25 23:07:45 +0200 |
| commit | 0fe818a2483ddc1232429c82af58a9e3111de1ec (patch) | |
| tree | 2209a8b1031c901ded3059689ad0f5822c63e16d | |
| parent | 1e433c6c6acdd5a852cdb2cedef4051168ebacb7 (diff) | |
| download | neovim-config-0fe818a2483ddc1232429c82af58a9e3111de1ec.tar.gz neovim-config-0fe818a2483ddc1232429c82af58a9e3111de1ec.tar.bz2 neovim-config-0fe818a2483ddc1232429c82af58a9e3111de1ec.zip | |
go back to monokai pro
| -rw-r--r-- | lua/plugins/colorscheme.lua | 56 | ||||
| -rw-r--r-- | lua/plugins/interface.lua | 6 |
2 files changed, 36 insertions, 26 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index 33b73c7..c7aca2f 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -1,27 +1,37 @@ return { { - "yorik1984/newpaper.nvim", + 'loctvl842/monokai-pro.nvim', lazy = false, - priority = 1000, - config = function() - local colors = require("newpaper.colors").setup(require("newpaper.config").config) - vim.g.newpaper_colors_advanced = { - linenumber_bg = colors.bg - } - vim.g.newpaper_custom_highlights = { - CursorLineNr = { bg = colors.bg, fg = colors.lightgray }, - TelescopePromptTitle = { bg = colors.telescope_fg, fg = colors.lightorange }, - TelescopePromptPrefix = { fg = colors.lightorange }, - TelescopePromptCounter = { fg = colors.lightorange }, - TelescopePromptBorder = { bg = colors.telescope_fg, fg = colors.telescope_fg }, - TelescopePromptNormal = { bg = colors.telescope_fg, fg = colors.telescope_bg }, - TelescopeResultsNormal = { bg = colors.telescope_bg, fg = colors.telescope_fg }, - TelescopeResultsBorder = { bg = colors.telescope_bg, fg = colors.telescope_bg }, - TelescopePreviewNormal = { bg = colors.telescope_bg }, - TelescopePreviewBorder = { bg = colors.telescope_bg, fg = colors.telescope_bg }, - TelescopePreviewTitle = { bg = colors.telescope_bg, fg = colors.teal }, - } - vim.cmd.colorscheme('newpaper') - end, - } + priority = 1000, + config = function() + vim.opt.background = 'dark' + require('monokai-pro').setup({ + override = function(c) + return { + TelescopeSelection = { bg = c.base.dimmed3 }, + TelescopePromptNormal = { bg = c.base.dimmed3, fg = c.base.white }, + TelescopePromptBorder = { bg = c.base.dimmed3, fg = c.base.dimmed3 }, + TelescopeResultsNormal = { bg = c.base.dimmed5, fg = c.base.white }, + TelescopeResultsBorder = { bg = c.base.dimmed5, fg = c.base.dimmed5 }, + TelescopePreviewNormal = { bg = c.base.dimmed5 }, + TelescopePreviewBorder = { bg = c.base.dimmed5, fg = c.base.dimmed5 }, + + TelescopePreviewDirectory = { + bg = c.prompt_bg, + fg = c.base.white, + }, + TelescopePreviewDate = { + bg = c.prompt_bg, + fg = c.base.red, + }, + TelescopePreviewHyphen = { + bg = c.prompt_bg, + fg = c.base.white, + }, + } + end, + }) + vim.cmd.colorscheme('monokai-pro') + end, + }, } diff --git a/lua/plugins/interface.lua b/lua/plugins/interface.lua index 4059f8e..42b9252 100644 --- a/lua/plugins/interface.lua +++ b/lua/plugins/interface.lua @@ -15,7 +15,7 @@ return { event = 'VeryLazy', opts = { options = { - theme = function() return require('lualine.theme-newpaper') end, + theme = function() return require('lualine.theme-monokai') end, }, sections = { lualine_a = { @@ -57,9 +57,9 @@ return { }, config = function(_, opts) require('lualine').setup(opts) - vim.api.nvim_set_hl(0, 'StatusLine', { bg = require('newpaper').bg }) + vim.api.nvim_set_hl(0, 'StatusLine', { bg = require('monokai-pro.colorscheme').editor.background }) vim.api.nvim_set_hl(0, 'StatusLineNC', { - bg = require('newpaper').bg + bg = require('monokai-pro.colorscheme').editor.backgroundnil }) end, }, |
