From 4d9874eab8a80cc4d3b1cc1c83895825020b2449 Mon Sep 17 00:00:00 2001 From: Nikolai Papin Date: Fri, 4 Jul 2025 04:00:00 +0300 Subject: [PATCH] feat: own nvchad theme lol --- nvim/lua/chadrc.lua | 2 +- nvim/lua/themes/kolyan.lua | 73 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 nvim/lua/themes/kolyan.lua diff --git a/nvim/lua/chadrc.lua b/nvim/lua/chadrc.lua index eb4dada..fb808a1 100644 --- a/nvim/lua/chadrc.lua +++ b/nvim/lua/chadrc.lua @@ -5,7 +5,7 @@ local M = {} M.base46 = { - theme = "nord", + theme = "kolyan", -- -- -- hl_override = { -- -- Comment = { italic = true }, diff --git a/nvim/lua/themes/kolyan.lua b/nvim/lua/themes/kolyan.lua new file mode 100644 index 0000000..2f84585 --- /dev/null +++ b/nvim/lua/themes/kolyan.lua @@ -0,0 +1,73 @@ +local M = {} + +M.base_30 = { + white = "#D6D8DA", -- color7 + darker_black = "#0a0d11", + black = "#1c1c1c", -- background + black2 = "#191d22", + one_bg = "#444551", -- color0 + one_bg2 = "#292c30", + one_bg3 = "#33363a", + grey = "#3e4145", + grey_fg = "#65686c", + grey_fg2 = "#4a4d51", + light_grey = "#626569", + red = "#bE2238", -- color1 + baby_pink = "#D58399", -- color5 + pink = "#DA97B0", -- color3 + line = "#30303a", -- for lines like vertsplit + green = "#FB6F80", -- color2 + vibrant_green = "#eB9FB0", -- color10 + blue = "#b12741", --b127414 + nord_blue = "#F3A1B7", + yellow = "#FFcc55", -- color11 + sun = "#F4F6F8", -- color14 + purple = "#D14781", -- cursor + dark_purple = "#F3A1B7", -- color13 + teal = "#63b3ad", + orange = "#f0a988", + cyan = "#D6D8DA", -- color6 + statusline_bg = "#15191e", + lightbg = "#24282d", + pmenu_bg = "#3bdda2", + folder_bg = "#FB6F80", +} + +M.base_16 = { + base00 = "#1c1c1c", -- background + base01 = "#1a1d21", + base02 = "#23262a", + base03 = "#2b2e32", + base04 = "#323539", + base05 = "#878b96", -- foreground + base06 = "#cbcbcc", + base07 = "#D6D8DA", -- color7 + base08 = "#c74070", -- color1 + base09 = "#f0a988", -- orange + base0A = "#F8A550", -- color11 + base0B = "#DB6F80", -- color2 + base0C = "#D6D8DA", -- color6 + base0D = "#b12761", -- color4 + base0E = "#D14781", -- cursor + base0F = "#e87979", +} + +M.polish_hl = { + treesitter = { + ["@punctuation.bracket"] = { fg = M.base_16.base07 }, + ["@parenthesis"] = { link = "@punctuation.bracket" }, + ["@tag.delimiter"] = { fg = M.base_30.cyan }, + ["@function"] = { fg = M.base_30.orange }, + ["@variable.parameter"] = { fg = M.base_16.base0F }, + ["@tag.attribute"] = { fg = M.base_30.orange }, + ["@variable"] = { fg = M.base_30.lavender }, + -- ["@property"] = { fg = M.base_30.teal }, + ["@variable.builtin"] = { fg = M.base_30.red }, + }, +} + +M.type = "dark" + +M = require("base46").override_theme(M, "nord") + +return M