summaryrefslogtreecommitdiffstats
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/colorscheme.lua90
-rw-r--r--lua/plugins/interface.lua6
2 files changed, 60 insertions, 36 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua
index c7aca2f..521b623 100644
--- a/lua/plugins/colorscheme.lua
+++ b/lua/plugins/colorscheme.lua
@@ -1,37 +1,61 @@
return {
+ --{
+ -- 'loctvl842/monokai-pro.nvim',
+ -- lazy = false,
+ -- 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,
+ --},
{
- 'loctvl842/monokai-pro.nvim',
+ "yorik1984/newpaper.nvim",
lazy = false,
- 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,
- },
+ 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 = {
+ 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,
+ }
}
diff --git a/lua/plugins/interface.lua b/lua/plugins/interface.lua
index 61b06ec..4059f8e 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') end,
+ theme = function() return require('lualine.theme-newpaper') 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('monokai-pro.colorscheme').editor.background })
+ vim.api.nvim_set_hl(0, 'StatusLine', { bg = require('newpaper').bg })
vim.api.nvim_set_hl(0, 'StatusLineNC', {
- bg = require('monokai-pro.colorscheme').editor.backgroundnil
+ bg = require('newpaper').bg
})
end,
},