From 7fd777799987d2a315019755a74b0e0704e325d4 Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Tue, 1 Aug 2023 09:13:11 -0400 Subject: [PATCH] add light theme toggle --- .config/nvim/after/plugin/colors.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua index 35043e0..6e65e2a 100644 --- a/.config/nvim/after/plugin/colors.lua +++ b/.config/nvim/after/plugin/colors.lua @@ -1,6 +1,10 @@ function ColorMyPencils(color) - color = color or "catppuccin" + color = color or "catppuccin-frappe" vim.cmd.colorscheme(color) end ColorMyPencils() + +vim.keymap.set('n', 'tl', ':TransparentDisable:colorscheme catppuccin-latte') +vim.keymap.set('n', 'td', ':TransparentEnable:colorscheme catppuccin-frappe') +