summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Griffin <migriffin@disroot.org>2025-04-14 09:39:59 +0800
committerIan Griffin <migriffin@disroot.org>2025-04-14 09:39:59 +0800
commit728a7d8fce9c04f78862a2196dec3106398488b0 (patch)
tree9f3bd0e69fe527186e7291d12b3073d2d4a82d4a
parent70b71d56e567ada7ed2fbc0f7edddd96d86f031f (diff)
simplified themes
-rw-r--r--lua/plugins/50_ui.lua55
-rw-r--r--lua/ui.lua1
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 = {
- {
- '<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 = {'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'
+ -- },
+ -- }, --]]
- },
+ --},
--
-- 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},