summaryrefslogtreecommitdiff
path: root/lua/config/plugins/colorscheme.lua
diff options
context:
space:
mode:
authorMarcelo <setanta@gmail.com>2025-03-30 04:26:45 -0300
committerMarcelo <setanta@gmail.com>2025-03-30 04:26:45 -0300
commit70fa6519abe34d9251b4cef6122257fc0edbd4aa (patch)
tree3e1098542afe7c5705297a86623402de8f2160f5 /lua/config/plugins/colorscheme.lua
parentc78361a6155dd53cd1098f7fdf33acfea20dc903 (diff)
Moved plugin files into ux.lua and skin.lua.
For usability and appearance related, respectively.
Diffstat (limited to 'lua/config/plugins/colorscheme.lua')
-rw-r--r--lua/config/plugins/colorscheme.lua64
1 files changed, 0 insertions, 64 deletions
diff --git a/lua/config/plugins/colorscheme.lua b/lua/config/plugins/colorscheme.lua
deleted file mode 100644
index 056e4b6..0000000
--- a/lua/config/plugins/colorscheme.lua
+++ /dev/null
@@ -1,64 +0,0 @@
-return {
- -- NeoVim dark colorscheme inspired by the colors of the famous painting by Katsushika Hokusai.
- {
- "rebelot/kanagawa.nvim",
- dependencies = { "nvim-treesitter/nvim-treesitter" },
- config = function()
- require("kanagawa").setup({
- compile = false,
- undercurl = true,
- commentStyle = { italic = true },
- functionStyle = {},
- keywordStyle = { italic = true },
- statementStyle = { bold = true },
- typeStyle = {},
- transparent = false,
- dimInactive = true,
- terminalColors = true,
- colors = {
- palette = {},
- theme = { wave = {}, lotus = {}, dragon = {}, all = {} },
- },
- theme = "dragon",
- background = {
- dark = "wave",
- light = "lotus"
- },
- overrides = function(colors)
- local theme = colors.theme
- local makeDiagnosticColor = function(color)
- local c = require("kanagawa.lib.color")
- return { fg = color, bg = c(color):blend(theme.ui.bg, 0.95):to_hex() }
- end
- return {
- DiagnosticVirtualTextHint = makeDiagnosticColor(theme.diag.hint),
- DiagnosticVirtualTextInfo = makeDiagnosticColor(theme.diag.info),
- DiagnosticVirtualTextWarn = makeDiagnosticColor(theme.diag.warning),
- DiagnosticVirtualTextError = makeDiagnosticColor(theme.diag.error),
-
- NormalFloat = { bg = "none" },
- FloatBorder = { bg = "none" },
- FloatTitle = { bg = "none" },
-
- NormalDark = { fg = theme.ui.fg_dim, bg = theme.ui.bg_m3 },
- LazyNormal = { bg = theme.ui.bg_m3, fg = theme.ui.fg_dim },
-
- Pmenu = { fg = theme.ui.shade0, bg = theme.ui.bg_p1 }, -- add `blend = vim.o.pumblend` to enable transparency
- PmenuSel = { fg = "NONE", bg = theme.ui.bg_p2 },
- PmenuSbar = { bg = theme.ui.bg_m1 },
- PmenuThumb = { bg = theme.ui.bg_p2 },
-
- TelescopeTitle = { fg = theme.ui.special, bold = true },
- TelescopePromptNormal = { bg = theme.ui.bg_p1 },
- TelescopePromptBorder = { fg = theme.ui.bg_p1, bg = theme.ui.bg_p1 },
- TelescopeResultsNormal = { fg = theme.ui.fg_dim, bg = theme.ui.bg_m1 },
- TelescopeResultsBorder = { fg = theme.ui.bg_m1, bg = theme.ui.bg_m1 },
- TelescopePreviewNormal = { bg = theme.ui.bg_dim },
- TelescopePreviewBorder = { bg = theme.ui.bg_dim, fg = theme.ui.bg_dim },
- }
- end,
- })
- vim.cmd.colorscheme("kanagawa")
- end,
- },
-}