mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: github nvim theme config
This commit is contained in:
parent
3563dd28e9
commit
f0b06ee780
4 changed files with 85 additions and 147 deletions
|
@ -18,7 +18,7 @@
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "83493db50a434a4c5c648faf41e2ead80f96e478" },
|
"lazy.nvim": { "branch": "main", "commit": "83493db50a434a4c5c648faf41e2ead80f96e478" },
|
||||||
"lsp-progress.nvim": { "branch": "main", "commit": "1c37b1cd0611563a767f0a340d61f265c4c54ecd" },
|
"lsp-progress.nvim": { "branch": "main", "commit": "1c37b1cd0611563a767f0a340d61f265c4c54ecd" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "26dac2fcadb6e622790ab08e36d0dba3d3765398" },
|
"lualine.nvim": { "branch": "master", "commit": "af4c3cf17206810880d2a93562e0a4c0d901c684" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "56e435e09f8729af2d41973e81a0db440f8fe9c9" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "56e435e09f8729af2d41973e81a0db440f8fe9c9" },
|
||||||
"mason-null-ls.nvim": { "branch": "main", "commit": "e270134d83ba59425edc53356c6fd337b61bb8dd" },
|
"mason-null-ls.nvim": { "branch": "main", "commit": "e270134d83ba59425edc53356c6fd337b61bb8dd" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
"onedark.nvim": { "branch": "master", "commit": "1230aaf2a427b2c5b73aba6e4a9a5881d3e69429" },
|
"onedark.nvim": { "branch": "master", "commit": "1230aaf2a427b2c5b73aba6e4a9a5881d3e69429" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "67c598fdd4fca113224281c85721c4d8a6df055e" },
|
"telescope.nvim": { "branch": "master", "commit": "e9e01d699843af530ef4ad2c8679a7e273bb3dd1" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
|
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
|
||||||
"vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" },
|
"vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" },
|
||||||
"vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" },
|
"vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" },
|
||||||
|
|
|
@ -18,3 +18,4 @@ require("user.keymaps")
|
||||||
-- vim.cmd("colorscheme one_monokai")
|
-- vim.cmd("colorscheme one_monokai")
|
||||||
-- vim.cmd("colorscheme onedark")
|
-- vim.cmd("colorscheme onedark")
|
||||||
vim.cmd("colorscheme github_dark_dimmed")
|
vim.cmd("colorscheme github_dark_dimmed")
|
||||||
|
-- vim.cmd("colorscheme github_dark_high_contrast")
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
return {
|
|
||||||
"projekt0n/github-nvim-theme",
|
|
||||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
|
||||||
priority = 1000, -- make sure to load this before all the other start plugins
|
|
||||||
config = function()
|
|
||||||
local palette = require("github-theme.palette").load("github_dark_dimmed")
|
|
||||||
require("github-theme").setup({
|
|
||||||
options = {
|
|
||||||
-- Compiled file's destination location
|
|
||||||
compile_path = vim.fn.stdpath("cache") .. "/github-theme",
|
|
||||||
compile_file_suffix = "_compiled", -- Compiled file suffix
|
|
||||||
hide_end_of_buffer = true, -- Hide the '~' character at the end of the buffer for a cleaner look
|
|
||||||
hide_nc_statusline = true, -- Override the underline style for non-active statuslines
|
|
||||||
transparent = false, -- Disable setting background
|
|
||||||
terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
|
||||||
dim_inactive = false, -- Non focused panes set to alternative background
|
|
||||||
module_default = true, -- Default enable value for modules
|
|
||||||
styles = { -- Style to be applied to different syntax groups
|
|
||||||
comments = "italic", -- Value is any valid attr-list value `:help attr-list`
|
|
||||||
functions = "italic",
|
|
||||||
keywords = "NONE",
|
|
||||||
variables = "NONE",
|
|
||||||
conditionals = "NONE",
|
|
||||||
constants = "NONE",
|
|
||||||
numbers = "NONE",
|
|
||||||
operators = "NONE",
|
|
||||||
strings = "NONE",
|
|
||||||
types = "NONE",
|
|
||||||
},
|
|
||||||
inverse = { -- Inverse highlight for different types
|
|
||||||
match_paren = false,
|
|
||||||
visual = false,
|
|
||||||
search = false,
|
|
||||||
},
|
|
||||||
darken = { -- Darken floating windows and sidebar-like windows
|
|
||||||
floats = false,
|
|
||||||
sidebars = {
|
|
||||||
enabled = true,
|
|
||||||
list = {}, -- Apply dark background to specific windows
|
|
||||||
},
|
|
||||||
},
|
|
||||||
modules = { -- List of various plugins and additional options
|
|
||||||
-- ...
|
|
||||||
},
|
|
||||||
},
|
|
||||||
palettes = {
|
|
||||||
all = {
|
|
||||||
bg0 = "bg1",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
specs = {},
|
|
||||||
groups = {
|
|
||||||
all = {
|
|
||||||
-- As with specs and palettes, a specific style's value will be used over the `all`'s value.
|
|
||||||
illuminatedWord = { bg = "#3b4261" },
|
|
||||||
illuminatedCurWord = { bg = "#3b4261" },
|
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
|
||||||
IlluminatedWordRead = { bg = "#3b4261" },
|
|
||||||
IlluminatedWordWrite = { bg = "#3b4261" },
|
|
||||||
NvimTreeNormal = { fg = "fg1", bg = "bg1" },
|
|
||||||
NvimTreeSpecialFile = { fg = "fg1", style = "italic" },
|
|
||||||
BufferLineFill = { bg = "bg1" },
|
|
||||||
BufferLineUnfocusedFill = { bg = "bg1" },
|
|
||||||
LualineNormal = { bg = "bg1" },
|
|
||||||
StatusLine = { bg = "bg1" },
|
|
||||||
StatusLineTerm = { bg = "bg1" },
|
|
||||||
Pmenu = { bg = "bg1" },
|
|
||||||
PmenuSel = { link = "CursorLine" },
|
|
||||||
WhichKeyFloat = { bg = "bg1" },
|
|
||||||
LazyNormal = { bg = "bg1" },
|
|
||||||
LazyBackground = { bg = "bg1" },
|
|
||||||
["@tag.attribute"] = { fg = palette.field, style = "italic" },
|
|
||||||
["@text.uri"] = { fg = palette.const, style = "italic" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
|
@ -1,69 +1,84 @@
|
||||||
return {
|
return {
|
||||||
-- "projekt0n/github-nvim-theme",
|
"projekt0n/github-nvim-theme",
|
||||||
-- lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||||
-- priority = 1000, -- make sure to load this before all the other start plugins
|
priority = 1000, -- make sure to load this before all the other start plugins
|
||||||
-- config = function()
|
config = function()
|
||||||
-- require("github-theme").setup({
|
local palette = require("github-theme.palette").load("github_dark_dimmed")
|
||||||
-- options = {
|
require("github-theme").setup({
|
||||||
-- -- Compiled file's destination location
|
options = {
|
||||||
-- compile_path = vim.fn.stdpath("cache") .. "/github-theme",
|
-- Compiled file's destination location
|
||||||
-- compile_file_suffix = "_compiled", -- Compiled file suffix
|
compile_path = vim.fn.stdpath("cache") .. "/github-theme",
|
||||||
-- hide_end_of_buffer = true, -- Hide the '~' character at the end of the buffer for a cleaner look
|
compile_file_suffix = "_compiled", -- Compiled file suffix
|
||||||
-- hide_nc_statusline = true, -- Override the underline style for non-active statuslines
|
hide_end_of_buffer = true, -- Hide the '~' character at the end of the buffer for a cleaner look
|
||||||
-- transparent = false, -- Disable setting background
|
hide_nc_statusline = true, -- Override the underline style for non-active statuslines
|
||||||
-- terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
transparent = false, -- Disable setting background
|
||||||
-- dim_inactive = false, -- Non focused panes set to alternative background
|
terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
||||||
-- module_default = true, -- Default enable value for modules
|
dim_inactive = false, -- Non focused panes set to alternative background
|
||||||
-- styles = { -- Style to be applied to different syntax groups
|
module_default = true, -- Default enable value for modules
|
||||||
-- comments = "NONE", -- Value is any valid attr-list value `:help attr-list`
|
styles = { -- Style to be applied to different syntax groups
|
||||||
-- functions = "NONE",
|
comments = "italic", -- Value is any valid attr-list value `:help attr-list`
|
||||||
-- keywords = "NONE",
|
functions = "italic",
|
||||||
-- variables = "NONE",
|
keywords = "NONE",
|
||||||
-- conditionals = "NONE",
|
variables = "NONE",
|
||||||
-- constants = "NONE",
|
conditionals = "NONE",
|
||||||
-- numbers = "NONE",
|
constants = "NONE",
|
||||||
-- operators = "NONE",
|
numbers = "NONE",
|
||||||
-- strings = "NONE",
|
operators = "NONE",
|
||||||
-- types = "NONE",
|
strings = "NONE",
|
||||||
-- },
|
types = "NONE",
|
||||||
-- inverse = { -- Inverse highlight for different types
|
},
|
||||||
-- match_paren = false,
|
inverse = { -- Inverse highlight for different types
|
||||||
-- visual = false,
|
match_paren = false,
|
||||||
-- search = false,
|
visual = false,
|
||||||
-- },
|
search = false,
|
||||||
-- darken = { -- Darken floating windows and sidebar-like windows
|
},
|
||||||
-- floats = false,
|
darken = { -- Darken floating windows and sidebar-like windows
|
||||||
-- sidebars = {
|
floats = false,
|
||||||
-- enabled = true,
|
sidebars = {
|
||||||
-- list = {}, -- Apply dark background to specific windows
|
enabled = true,
|
||||||
-- },
|
list = {}, -- Apply dark background to specific windows
|
||||||
-- },
|
},
|
||||||
-- modules = { -- List of various plugins and additional options
|
},
|
||||||
-- -- ...
|
modules = { -- List of various plugins and additional options
|
||||||
-- },
|
-- ...
|
||||||
-- },
|
},
|
||||||
-- palettes = {},
|
},
|
||||||
-- specs = {},
|
palettes = {
|
||||||
-- groups = {
|
github_dark_dimmed = {
|
||||||
-- -- As with specs and palettes, the values defined under `all` will be applied to every style.
|
bg0 = "bg1",
|
||||||
-- all = {
|
},
|
||||||
-- -- If `link` is defined it will be applied over any other values defined
|
},
|
||||||
-- Whitespace = { link = "Comment" },
|
specs = {},
|
||||||
--
|
groups = {
|
||||||
-- -- Specs are used for the template. Specs have their palette's as a field that can be accessed
|
all = {
|
||||||
-- IncSearch = { bg = "palette.cyan" },
|
illuminatedWord = { bg = "#3b4261" },
|
||||||
-- illuminatedWord = { bg = "#3b4261" },
|
illuminatedCurWord = { bg = "#3b4261" },
|
||||||
-- illuminatedCurWord = { bg = "#3b4261" },
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
-- IlluminatedWordText = { bg = "#3b4261" },
|
IlluminatedWordRead = { bg = "#3b4261" },
|
||||||
-- IlluminatedWordRead = { bg = "#3b4261" },
|
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||||
-- IlluminatedWordWrite = { bg = "#3b4261" },
|
["@tag.attribute"] = { fg = "#faa356", style = "italic" },
|
||||||
-- -- NvimTreeNormal = { fg = "palette.fg1", bg = "palette.bg2" },
|
["@text.uri"] = { fg = palette.const, style = "italic" },
|
||||||
-- },
|
["@tag"] = { fg = "#fa7970" },
|
||||||
-- github_dark = {
|
},
|
||||||
-- -- As with specs and palettes, a specific style's value will be used over the `all`'s value.
|
github_dark_high_contrast = {
|
||||||
-- PmenuSel = { bg = "#73daca", fg = "bg0" },
|
NvimTreeSpecialFile = { fg = "#faa356", style = "italic" },
|
||||||
-- },
|
},
|
||||||
-- },
|
github_dark_dimmed = {
|
||||||
-- })
|
-- As with specs and palettes, a specific style's value will be used over the `all`'s value.
|
||||||
-- end,
|
NvimTreeNormal = { fg = "fg1", bg = "bg1" },
|
||||||
|
NvimTreeSpecialFile = { fg = "#faa356", style = "italic" },
|
||||||
|
BufferLineFill = { bg = "bg1" },
|
||||||
|
BufferLineUnfocusedFill = { bg = "bg1" },
|
||||||
|
LualineNormal = { bg = "bg1" },
|
||||||
|
StatusLine = { bg = "bg1" },
|
||||||
|
StatusLineTerm = { bg = "bg1" },
|
||||||
|
Pmenu = { bg = "bg1" },
|
||||||
|
PmenuSel = { link = "CursorLine" },
|
||||||
|
WhichKeyFloat = { bg = "bg1" },
|
||||||
|
LazyNormal = { bg = "bg1" },
|
||||||
|
LazyBackground = { bg = "bg1" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue