moves from plugin theme to single lua file
This commit is contained in:
parent
b39c6faf50
commit
fdd35fa934
7 changed files with 329 additions and 65 deletions
|
|
@ -18,6 +18,8 @@ vim.opt.rtp:prepend(lazypath)
|
|||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
vim.cmd([[colorscheme winterly]])
|
||||
|
||||
local options = {
|
||||
backup = false, -- creates a backup file
|
||||
clipboard = "unnamedplus", -- allows neovim to access the system clipboard
|
||||
|
|
@ -72,7 +74,7 @@ require("lazy").setup({
|
|||
},
|
||||
-- Configure any other settings here. See the documentation for more details.
|
||||
-- colorscheme that will be used when installing plugins.
|
||||
install = { colorscheme = { "rose-pine" } },
|
||||
install = { colorscheme = { "winterly" } },
|
||||
-- automatically check for plugin updates
|
||||
checker = { enabled = false },
|
||||
})
|
||||
|
|
|
|||
33
modules/nvim/config/lua/dnsc/palette.lua
Normal file
33
modules/nvim/config/lua/dnsc/palette.lua
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
return {
|
||||
fg = "#ffffff",
|
||||
fg_alt = "#bf8a9f",
|
||||
fg_dim = "#807c9f",
|
||||
bg = "#0f0b15",
|
||||
bg_secondary = "#1d202f",
|
||||
grey = "#807c9f",
|
||||
grey_bright = "#807c9f",
|
||||
red = "#f47359",
|
||||
red_bright = "#ff6a7a",
|
||||
red_subtle_bg = "#67182f",
|
||||
green = "#29a444",
|
||||
green_bright = "#00a392",
|
||||
green_subtle_bg = "#10452f",
|
||||
yellow = "#b58a52",
|
||||
yellow_bright = "#df9080",
|
||||
yellow_brighter = "#FCC1B6",
|
||||
yellow_subtle_bg = "#54362a",
|
||||
blue = "#3f95f6",
|
||||
blue_bright = "#029fff",
|
||||
blue_subtle_bg = "#2a346e",
|
||||
blue_subtle_dark_bg = "#003045",
|
||||
magenta = "#d369af",
|
||||
magenta_bright = "#af85ea",
|
||||
magenta_brighter = "#c57faf",
|
||||
magenta_subtle_bg = "#572454",
|
||||
magenta_subtle_bg_darker = "#331531",
|
||||
cyan = "#4fbaef",
|
||||
cyan_bright = "#35afbf",
|
||||
cyan_subtle_bg = "#133d56",
|
||||
silver = "#b8c6d5",
|
||||
silver_bright = "#ffffff",
|
||||
}
|
||||
|
|
@ -8,17 +8,12 @@ return {
|
|||
"icon",
|
||||
"permissions",
|
||||
"size",
|
||||
-- "mtime",
|
||||
},
|
||||
float = {
|
||||
padding = 4,
|
||||
border = "rounded",
|
||||
preview_split = "auto",
|
||||
"mtime",
|
||||
},
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>n", "<cmd>Oil --float<cr>", desc = "Open file browser", mode = "n" },
|
||||
{ "<leader>n", "<cmd>Oil<cr>", desc = "Open file browser", mode = "n" },
|
||||
}
|
||||
,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ return {
|
|||
},
|
||||
indent = {
|
||||
enabled = true,
|
||||
char = "┆",
|
||||
},
|
||||
input = { enabled = true },
|
||||
lazygit = {
|
||||
|
|
@ -193,5 +192,12 @@ return {
|
|||
end,
|
||||
desc = "Open notification history",
|
||||
},
|
||||
{
|
||||
"<leader>oh",
|
||||
function()
|
||||
Snacks.picker.highlights()
|
||||
end,
|
||||
desc = "List highlights",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,50 +0,0 @@
|
|||
return {
|
||||
"miikanissi/modus-themes.nvim",
|
||||
priority = 1000,
|
||||
opts = {
|
||||
style = "modus_vivendi",
|
||||
styles = {
|
||||
comments = { italic = true },
|
||||
keywords = { italic = false },
|
||||
},
|
||||
variant = "tinted",
|
||||
transparent = true,
|
||||
sign_column_background = false,
|
||||
line_nr_column_background = false,
|
||||
on_highlights = function(highlight, color)
|
||||
highlight.TabLine = { fg = color.fg_dim, bg = color.bg_dim }
|
||||
highlight.TabLineFill = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferInactiveMod = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferInactive = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferInactiveSign = { fg = color.fg_alt, bg = color.bg_main }
|
||||
highlight.BufferInactiveSignRight = { fg = color.fg_alt, bg = color.bg_main }
|
||||
highlight.BufferInactiveTarget = { fg = color.yellow_faint, bg = color.bg_main }
|
||||
highlight.BufferActiveMod = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferActive = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferActiveSign = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferActiveSignRight = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferActiveTarget = { fg = color.yellow_faint, bg = color.bg_dim }
|
||||
highlight.BufferCurrentMod = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferCurrentBtn = { fg = color.fg_main, bg = color.bg_dim }
|
||||
highlight.BufferCurrent = { fg = color.fg_main, bg = color.bg_dim }
|
||||
highlight.BufferCurrentSign = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferCurrentSignRight = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferCurrentTarget = { fg = color.yellow_faint, bg = color.bg_dim }
|
||||
highlight.WhichKeyFloat = { fg = "NONE", bg = "NONE" }
|
||||
highlight.NormalFloat = { fg = "NONE", bg = "NONE" }
|
||||
highlight.SnacksIndent = { fg = color.bg_dim }
|
||||
highlight.FlashMatch = { fg = color.fg_main, bg = color.bg_cyan_subtle }
|
||||
highlight.FlashLabel = { fg = color.fg_main, bg = color.bg_magenta_intense }
|
||||
highlight.SnacksIndentScope = { fg = color.fg_dim }
|
||||
highlight.CursorLine = { bg = color.tinted_bg_cyan_nuanced }
|
||||
highlight.Visual = { bg = color.bg_magenta_subtle }
|
||||
highlight.Search = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight.IncSearch = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight["@comment"] = { fg = color.fg_dim }
|
||||
highlight["@tag.tsx"] = { fg = color.fg_main }
|
||||
end,
|
||||
},
|
||||
init = function()
|
||||
vim.cmd([[colorscheme modus]])
|
||||
end,
|
||||
}
|
||||
|
|
@ -21,12 +21,6 @@ return {
|
|||
desc = "Go to definition in other window",
|
||||
mode = "n",
|
||||
},
|
||||
{
|
||||
"<leader>od",
|
||||
"<cmd>vsplit | lua vim.lsp.buf.definition()<cr>",
|
||||
desc = "Go to definition in other window",
|
||||
mode = "n",
|
||||
},
|
||||
{ "<leader>b", group = "+buffer", mode = "n" },
|
||||
{
|
||||
"<leader>bd",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue