From 7382e8ff60fef15419c408e48ad084fa80ea4fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 13 Jan 2024 22:17:29 +0100 Subject: [PATCH] Commit missing file --- nvim/lua/color_scheme.lua | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 nvim/lua/color_scheme.lua diff --git a/nvim/lua/color_scheme.lua b/nvim/lua/color_scheme.lua new file mode 100644 index 0000000..e13a17b --- /dev/null +++ b/nvim/lua/color_scheme.lua @@ -0,0 +1,47 @@ +local M = {} + +local hascatppuccin, catppuccin = pcall(require, "catppuccin") + +if not hascatppuccin then + return M +end + +catppuccin.setup({ + flavour = "mocha", + integrations = { + mason = true, + lsp_trouble = true, + vimwiki = true + }, + custom_highlights = function(colors) + return { + TelescopeNormal = { bg = "#191926"}, + TelescopeBorder = { bg = "#191926", fg = "#191926" }, + TelescopePromptBorder = { bg = "#191926", fg = "#191926" }, + TelescopeTitle = { fg = colors.blue }, + WinSeparator = { fg = "#191926" } + } + end, + color_overrides = { + mocha = { + -- this 16 colors are changed to onedark + base = "#11121D", + text = "#abb2bf", + rosewater = "#b6bdca", + lavender = "#ed8897", + red = "#e06c75", + peach = "#d19a66", + yellow = "#e5c07b", + green = "#98c379", + teal = "#56b6c2", + blue = "#61afef", + mauve = "#c678dd", + flamingo = "#be5046", + pink="#ef9f76" + } + } +}) + +vim.cmd("colorscheme catppuccin") + +return M