mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-25 10:18:42 +02:00
add: config color scheme one dark
This commit is contained in:
parent
601de90790
commit
5abaf08fa4
4 changed files with 127 additions and 100 deletions
|
@ -43,7 +43,7 @@
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
|
||||||
"nvim-ts-rainbow2": { "branch": "master", "commit": "b3120cd5ae9ca524af9cb602f41e12e301fa985f" },
|
"nvim-ts-rainbow2": { "branch": "master", "commit": "b3120cd5ae9ca524af9cb602f41e12e301fa985f" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "a55b801b7ef5719ca25692c3a0a5447fdfb692ed" },
|
"nvim-web-devicons": { "branch": "master", "commit": "a55b801b7ef5719ca25692c3a0a5447fdfb692ed" },
|
||||||
"onedarkpro.nvim": { "branch": "main", "commit": "ec07364f3cfa9cc6467bf067a490cfd74011efcd" },
|
"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": "7472420f8734c710bd7009081cef9b97f08a3821" },
|
"telescope.nvim": { "branch": "master", "commit": "7472420f8734c710bd7009081cef9b97f08a3821" },
|
||||||
|
|
|
@ -1,99 +1,99 @@
|
||||||
return {
|
return {
|
||||||
{ "navarasu/onedark.nvim", enabled = false },
|
-- { "navarasu/onedark.nvim", enabled = false },
|
||||||
{ "folke/tokyonight.nvim", enabled = false },
|
-- {
|
||||||
{
|
-- "olimorris/onedarkpro.nvim",
|
||||||
"olimorris/onedarkpro.nvim",
|
-- priority = 1000, -- Ensure it loads first
|
||||||
priority = 1000, -- Ensure it loads first
|
-- config = function()
|
||||||
config = function()
|
-- require("onedarkpro").setup({
|
||||||
require("onedarkpro").setup({
|
-- styles = {
|
||||||
styles = {
|
-- types = "NONE",
|
||||||
types = "NONE",
|
-- methods = "NONE",
|
||||||
methods = "NONE",
|
-- numbers = "NONE",
|
||||||
numbers = "NONE",
|
-- strings = "NONE",
|
||||||
strings = "NONE",
|
-- comments = "italic",
|
||||||
comments = "italic",
|
-- keywords = "bold,italic",
|
||||||
keywords = "bold,italic",
|
-- constants = "NONE",
|
||||||
constants = "NONE",
|
-- functions = "italic",
|
||||||
functions = "italic",
|
-- operators = "NONE",
|
||||||
operators = "NONE",
|
-- variables = "NONE",
|
||||||
variables = "NONE",
|
-- parameters = "NONE",
|
||||||
parameters = "NONE",
|
-- conditionals = "italic",
|
||||||
conditionals = "italic",
|
-- virtual_text = "NONE",
|
||||||
virtual_text = "NONE",
|
-- tags = "italic",
|
||||||
},
|
-- },
|
||||||
colors = {
|
-- colors = {
|
||||||
onedark = {
|
-- onedark = {
|
||||||
green = "#99c379",
|
-- green = "#99c379",
|
||||||
gray = "#8094b4",
|
-- gray = "#8094b4",
|
||||||
red = "#e06c75",
|
-- red = "#e06c75",
|
||||||
purple = "#c678dd",
|
-- purple = "#c678dd",
|
||||||
yellow = "#e5c07a",
|
-- yellow = "#e5c07a",
|
||||||
blue = "#61afef",
|
-- blue = "#61afef",
|
||||||
cyan = "#56b6c2",
|
-- cyan = "#56b6c2",
|
||||||
bg_statusline = "#282c34",
|
-- bg_statusline = "#282c34",
|
||||||
indentline = "#3b4261",
|
-- indentline = "#3b4261",
|
||||||
float_bg = "#282c34",
|
-- float_bg = "#282c34",
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
options = {
|
-- options = {
|
||||||
cursorline = true,
|
-- cursorline = true,
|
||||||
transparency = false,
|
-- transparency = false,
|
||||||
terminal_colors = true,
|
-- terminal_colors = true,
|
||||||
},
|
-- },
|
||||||
highlights = {
|
-- highlights = {
|
||||||
-- overide cursor line fill colors
|
-- -- overide cursor line fill colors
|
||||||
LineNr = { fg = "#49505E" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
-- LineNr = { fg = "#49505E" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
||||||
CursorLineNr = { fg = "${blue}" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
-- CursorLineNr = { fg = "${blue}" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
||||||
CursorLine = { bg = "#333842" },
|
-- CursorLine = { bg = "#333842" },
|
||||||
Cursor = { fg = "${bg}", bg = "${fg}" }, -- character under the cursor
|
-- Cursor = { fg = "${bg}", bg = "${fg}" }, -- character under the cursor
|
||||||
lCursor = { fg = "${bg}", bg = "${fg}" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
-- lCursor = { fg = "${bg}", bg = "${fg}" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
||||||
CursorIM = { fg = "${bg}", bg = "${fg}" }, -- like Cursor, but used when in IME mode |CursorIM|
|
-- CursorIM = { fg = "${bg}", bg = "${fg}" }, -- like Cursor, but used when in IME mode |CursorIM|
|
||||||
CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
-- CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
||||||
-- overide nvimtree folder icon fill color
|
-- -- overide nvimtree folder icon fill color
|
||||||
NvimTreeFolderIcon = { fg = "${gray}" },
|
-- NvimTreeFolderIcon = { fg = "${gray}" },
|
||||||
-- overide nvimtree text fill color folder opened
|
-- -- overide nvimtree text fill color folder opened
|
||||||
NvimTreeOpenedFolderName = { fg = "${blue}" },
|
-- NvimTreeOpenedFolderName = { fg = "${blue}" },
|
||||||
-- overide nvimtree text fill color root folder
|
-- -- overide nvimtree text fill color root folder
|
||||||
NvimTreeRootFolder = { fg = "${yellow}" },
|
-- NvimTreeRootFolder = { fg = "${yellow}" },
|
||||||
NvimTreeSpecialFile = { fg = "${yellow}" },
|
-- NvimTreeSpecialFile = { fg = "${yellow}" },
|
||||||
NvimTreeWinSeparator = { fg = "#202329" },
|
-- NvimTreeWinSeparator = { fg = "#202329" },
|
||||||
NvimTreeIndentMarker = { fg = "#3E4450" },
|
-- NvimTreeIndentMarker = { fg = "#3E4450" },
|
||||||
-- overide indenline fill color
|
-- -- overide indenline fill color
|
||||||
IblIndent = { fg = "#3E4450" },
|
-- IblIndent = { fg = "#3E4450" },
|
||||||
-- overide cmp cursorline fill color with #333842
|
-- -- overide cmp cursorline fill color with #333842
|
||||||
PmenuSel = { bg = "#333842" },
|
-- PmenuSel = { bg = "#333842" },
|
||||||
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" },
|
||||||
StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
-- StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
||||||
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
-- StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
||||||
BufferLineFill = { bg = "${bg}" },
|
-- BufferLineFill = { bg = "${bg}" },
|
||||||
["@string.special.url.html"] = { fg = "${green}" },
|
-- ["@string.special.url.html"] = { fg = "${green}" },
|
||||||
["@text.uri.html"] = { fg = "${green}" },
|
-- ["@text.uri.html"] = { fg = "${green}" },
|
||||||
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
-- Pmenu = { fg = "${fg}", bg = "${bg}" },
|
||||||
PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
-- PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
||||||
-- overide lualine fill color with bg color
|
-- -- overide lualine fill color with bg color
|
||||||
LualineNormal = { bg = "${bg}" },
|
-- LualineNormal = { bg = "${bg}" },
|
||||||
-- overide lualine_c fill color with bg color
|
-- -- overide lualine_c fill color with bg color
|
||||||
LualineC = { bg = "${bg}" },
|
-- LualineC = { bg = "${bg}" },
|
||||||
-- overide lualine_x fill color with bg color
|
-- -- overide lualine_x fill color with bg color
|
||||||
LualineX = { bg = "${bg}" },
|
-- LualineX = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKey = { bg = "${bg}" },
|
-- WhichKey = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeySeperator = { bg = "${bg}" },
|
-- WhichKeySeperator = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeyDesc = { bg = "${bg}" },
|
-- WhichKeyDesc = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeyFloat = { bg = "${bg}" },
|
-- WhichKeyFloat = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeyValue = { bg = "${bg}" },
|
-- WhichKeyValue = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeyBorder = { bg = "${bg}" },
|
-- WhichKeyBorder = { bg = "${bg}" },
|
||||||
},
|
-- },
|
||||||
})
|
-- })
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ return {
|
||||||
-- comments = { italic = true },
|
-- comments = { italic = true },
|
||||||
comments = { italic = true },
|
comments = { italic = true },
|
||||||
keywords = { italic = true },
|
keywords = { italic = true },
|
||||||
functions = { italic = true },
|
functions = {},
|
||||||
variables = {},
|
variables = {},
|
||||||
-- Background styles. Can be "dark", "transparent" or "normal"
|
-- Background styles. Can be "dark", "transparent" or "normal"
|
||||||
sidebars = sidebar, -- style for sidebars, see below
|
sidebars = sidebar, -- style for sidebars, see below
|
||||||
|
|
|
@ -240,6 +240,7 @@ return {
|
||||||
["@keyword"] = { fg = colors.pink, italic = true },
|
["@keyword"] = { fg = colors.pink, italic = true },
|
||||||
["@keyword.function"] = { fg = colors.cyan, italic = true },
|
["@keyword.function"] = { fg = colors.cyan, italic = true },
|
||||||
["@function"] = { fg = colors.green, italic = true },
|
["@function"] = { fg = colors.green, italic = true },
|
||||||
|
["@tag.attribute"] = { fg = colors.green, italic = true },
|
||||||
NvimTreeFolderIcon = { fg = "#6776a7" },
|
NvimTreeFolderIcon = { fg = "#6776a7" },
|
||||||
CmpItemAbbr = { fg = "#ABB2BF" },
|
CmpItemAbbr = { fg = "#ABB2BF" },
|
||||||
CmpItemKind = { fg = "#ABB2BF" },
|
CmpItemKind = { fg = "#ABB2BF" },
|
||||||
|
@ -347,10 +348,31 @@ return {
|
||||||
term_colors = true,
|
term_colors = true,
|
||||||
style = onedark_style,
|
style = onedark_style,
|
||||||
colors = {
|
colors = {
|
||||||
|
green = "#99c379",
|
||||||
|
gray = "#8094b4",
|
||||||
|
red = "#e06c75",
|
||||||
|
purple = "#c678dd",
|
||||||
|
yellow = "#e5c07a",
|
||||||
|
blue = "#61afef",
|
||||||
|
cyan = "#56b6c2",
|
||||||
bg_d = "$bg",
|
bg_d = "$bg",
|
||||||
|
bg1 = "#282c34",
|
||||||
|
},
|
||||||
|
code_style = {
|
||||||
|
comments = "italic",
|
||||||
|
keywords = "italic",
|
||||||
|
functions = "none",
|
||||||
|
strings = "none",
|
||||||
|
variables = "none",
|
||||||
},
|
},
|
||||||
highlights = {
|
highlights = {
|
||||||
|
["@markup.link.url"] = { fg = "$cyan", fmt = "italic" },
|
||||||
|
["@text.uri"] = { fg = "$cyan", fmt = "none" },
|
||||||
|
["@tag"] = { fg = "$red" },
|
||||||
|
["@tag.delimiter"] = { fg = "$gray" },
|
||||||
|
["@tag.attribute"] = { fg = "$yellow", fmt = "italic" },
|
||||||
-- NvimTreeFolderIcon = { fg = "#FCC76A" },
|
-- NvimTreeFolderIcon = { fg = "#FCC76A" },
|
||||||
|
NvimTreeSpecialFile = { fg = "$yellow", fmt = "italic" },
|
||||||
BufferLineFill = { bg = "$bg0" },
|
BufferLineFill = { bg = "$bg0" },
|
||||||
BufferLineUnfocusedFill = { bg = "$bg0" },
|
BufferLineUnfocusedFill = { bg = "$bg0" },
|
||||||
StatusLine = { fg = "#f8f8f2", bg = "$bg0" },
|
StatusLine = { fg = "#f8f8f2", bg = "$bg0" },
|
||||||
|
@ -360,7 +382,7 @@ return {
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
IlluminatedWordRead = { bg = "#3b4261" },
|
IlluminatedWordRead = { bg = "#3b4261" },
|
||||||
IlluminatedWordWrite = { bg = "#3b4261" },
|
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||||
PmenuSel = { fg = "$fg", bg = "$bg1" },
|
PmenuSel = { fg = "$fg", bg = "#333842" },
|
||||||
-- overide lualine fill color with bg color
|
-- overide lualine fill color with bg color
|
||||||
LualineNormal = { bg = "$bg0" },
|
LualineNormal = { bg = "$bg0" },
|
||||||
-- overide lualine_c fill color with bg color
|
-- overide lualine_c fill color with bg color
|
||||||
|
@ -404,6 +426,11 @@ return {
|
||||||
-- -- overide Lazy fill color with bg color
|
-- -- overide Lazy fill color with bg color
|
||||||
-- LazyProgress = { bg = "$bg0" },
|
-- LazyProgress = { bg = "$bg0" },
|
||||||
-- Pmenu = { fg = "$fg", bg = "$bg0" },
|
-- Pmenu = { fg = "$fg", bg = "$bg0" },
|
||||||
|
CursorLine = { bg = "#333842" },
|
||||||
|
Cursor = { fg = "$bg0", bg = "$fg" }, -- character under the cursor
|
||||||
|
lCursor = { fg = "$bg0", bg = "$fg" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
||||||
|
CursorIM = { fg = "$bg0", bg = "$fg" }, -- like Cursor, but used when in IME mode |CursorIM|
|
||||||
|
CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
||||||
},
|
},
|
||||||
transparent = transparent,
|
transparent = transparent,
|
||||||
lualine = {
|
lualine = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue