From fe0e4266dac5ff9948ed3d5319c79c1827de9912 Mon Sep 17 00:00:00 2001 From: Arkaprabha Chakraborty Date: Fri, 10 Mar 2023 23:33:51 +0530 Subject: [PATCH] Add Base16 Black Metal color scheme Changes to be committed: modified: lua/colorschemes.lua modified: lua/plugins.lua Changes not staged for commit: modified: lua/completions.lua --- lua/colorschemes.lua | 31 +++++++++++++++++++++++++++++-- lua/plugins.lua | 3 +++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/lua/colorschemes.lua b/lua/colorschemes.lua index 6954b36..32746db 100644 --- a/lua/colorschemes.lua +++ b/lua/colorschemes.lua @@ -1,4 +1,31 @@ -local colorscheme = "nord" +local colorscheme = "base16-black-metal" -- Set colorscheme + +if colorscheme == "base16-black-metal" then + local ok, base16 = pcall(require, "base16-colorscheme") + if not ok then + return + end + base16.setup({ + --base00 = "#000000", + base00 = "#171717", + base01 = "#121212", + base02 = "#222222", + --base03 = "#333333", + base03 = "#494949", + base04 = "#999999", + base05 = "#c1c1c1", + base06 = "#999999", + base07 = "#c1c1c1", + base08 = "#5f8787", + base09 = "#aaaaaa", + base0A = "#a06666", + base0B = "#dd9999", + base0C = "#aaaaaa", + base0D = "#888888", + base0E = "#999999", + base0F = "#444444", + }) +end if colorscheme == "onedark" then -- Onedark Default Configuration @@ -135,6 +162,6 @@ if colorscheme == "nord" then if not ok then return end - + vim.cmd([[colorscheme nord]]) end diff --git a/lua/plugins.lua b/lua/plugins.lua index 2a864e4..3c37a42 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -4,6 +4,9 @@ if not ok then end packer.startup(function(use) + -- Base16 colorscheme + use("RRethy/nvim-base16") + -- Nord colorscheme use("shaunsingh/nord.nvim")