From 728a7d8fce9c04f78862a2196dec3106398488b0 Mon Sep 17 00:00:00 2001 From: Ian Griffin Date: Mon, 14 Apr 2025 09:39:59 +0800 Subject: [PATCH] simplified themes --- lua/plugins/50_ui.lua | 55 +++++++++++++++++++++++-------------------- lua/ui.lua | 1 + 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/lua/plugins/50_ui.lua b/lua/plugins/50_ui.lua index fae0856..10bef97 100644 --- a/lua/plugins/50_ui.lua +++ b/lua/plugins/50_ui.lua @@ -2,32 +2,37 @@ return { -- -- Theme -- - { - 'navarasu/onedark.nvim', - lazy = false, - config = function() - local ct = require('conftool') - ct.set({'background', 'dark'}) - vim.cmd [[colo onedark]] - end, - keys = { - { - '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 = 'c', + -- toggle_style_list = {'warmer', 'light'}, + -- }, + -- config = function() + -- local ct = require('conftool') + -- -- ct.set({'background', 'dark'}) + -- vim.cmd [[colo onedark]] + -- end, + -- --[[ keys = { + -- { + -- '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 diff --git a/lua/ui.lua b/lua/ui.lua index 692f6a9..353c4cd 100644 --- a/lua/ui.lua +++ b/lua/ui.lua @@ -19,6 +19,7 @@ vim.opt.list = true ct.set('ruler', 'showcmd', 'cursorline', 'title') -- ct.set('number') ct.set( + {'background', 'light'}, {'termguicolors', true}, {'signcolumn', 'number'}, {'conceallevel', 0},