Refactor theme colors and UI settings for improved visibility and consistency across components. Update README.

This commit is contained in:
Webhooked
2025-05-07 11:27:21 +02:00
parent 47074d196d
commit e5ae0533c5
5 changed files with 616 additions and 603 deletions
+17 -17
View File
@@ -3,41 +3,41 @@ local theme = require("kanso.colors").setup().theme
local kanso = {}
kanso.normal = {
a = { bg = theme.syn.fun, fg = theme.ui.bg },
b = { bg = theme.diff.change, fg = theme.syn.fun },
c = { bg = theme.ui.bg, fg = theme.ui.fg },
a = { bg = theme.syn.fun, fg = theme.ui.bg },
b = { bg = theme.ui.none, fg = theme.syn.fun },
c = { bg = theme.ui.none, fg = theme.ui.fg },
}
kanso.insert = {
a = { bg = theme.diag.ok, fg = theme.ui.bg },
b = { bg = theme.ui.bg, fg = theme.diag.ok },
a = { bg = theme.diag.ok, fg = theme.ui.bg },
b = { bg = theme.ui.none, fg = theme.diag.ok },
}
kanso.command = {
a = { bg = theme.syn.operator, fg = theme.ui.bg },
b = { bg = theme.ui.bg, fg = theme.syn.operator },
a = { bg = theme.syn.operator, fg = theme.ui.bg },
b = { bg = theme.ui.none, fg = theme.syn.operator },
}
kanso.visual = {
a = { bg = theme.syn.keyword, fg = theme.ui.bg },
b = { bg = theme.ui.bg, fg = theme.syn.keyword },
a = { bg = theme.syn.keyword, fg = theme.ui.bg },
b = { bg = theme.ui.none, fg = theme.syn.keyword },
}
kanso.replace = {
a = { bg = theme.syn.constant, fg = theme.ui.bg },
b = { bg = theme.ui.bg, fg = theme.syn.constant },
a = { bg = theme.syn.constant, fg = theme.ui.bg },
b = { bg = theme.ui.none, fg = theme.syn.constant },
}
kanso.inactive = {
a = { bg = theme.ui.bg, fg = theme.ui.fg_dim },
b = { bg = theme.ui.bg, fg = theme.ui.fg_dim },
c = { bg = theme.ui.bg, fg = theme.ui.fg_dim },
a = { bg = theme.ui.none, fg = theme.ui.fg_dim },
b = { bg = theme.ui.none, fg = theme.ui.fg_dim },
c = { bg = theme.ui.none, fg = theme.ui.fg_dim },
}
if vim.g.kanso_lualine_bold then
for _, mode in pairs(kanso) do
mode.a.gui = "bold"
end
for _, mode in pairs(kanso) do
mode.a.gui = "bold"
end
end
return kanso