changed themes

This commit is contained in:
2025-04-14 13:17:42 +08:00
parent 728a7d8fce
commit 6620f83802
7 changed files with 44 additions and 39 deletions

View File

@@ -2,37 +2,35 @@ return {
--
-- Theme
--
--{
-- 'navarasu/onedark.nvim',
-- lazy = false,
-- opts = {
-- style = 'darker',
-- toggle_style_key = '<leader>c',
-- toggle_style_list = {'warmer', 'light'},
-- },
-- config = function()
-- local ct = require('conftool')
-- -- ct.set({'background', 'dark'})
-- vim.cmd [[colo onedark]]
-- end,
-- --[[ keys = {
-- {
-- '<Leader>c',
-- function()
-- if vim.o.background == 'light' then
-- vim.o.background = 'dark'
-- else
-- vim.o.background = 'light'
-- -- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
-- vim.cmd('redraw')
-- vim.cmd('redraw')
-- end
-- end,
-- desc = 'toggle color themes'
-- },
-- }, --]]
{
'navarasu/onedark.nvim',
lazy = false,
opts = {
style = 'darker',
toggle_style_key = '<leader>c',
toggle_style_list = {'darker', 'light'},
},
config = function()
require('onedark').load()
end,
--[[ keys = {
{
'<Leader>c',
function()
if vim.o.background == 'light' then
vim.o.background = 'dark'
else
vim.o.background = 'light'
-- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
vim.cmd('redraw')
vim.cmd('redraw')
end
end,
desc = 'toggle color themes'
},
}, --]]
--},
},
--
-- Indentation