summaryrefslogtreecommitdiff
path: root/config/nvim/colors
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-09-17 19:45:23 +0100
committerIgor Soarez <igor@soarez.org>2026-09-17 19:45:23 +0100
commit13cc065ec014b86369dfe4ad60d1a43fa06fd251 (patch)
tree684690c61b7b59758c2aac132c65b81c86de0608 /config/nvim/colors
dotfiles
Shell, editor and terminal configuration, the tools that go with them, and szecret, an age-based secret manager whose store lives elsewhere. History restarts here. What came before was not written to be read by anyone else, and carried machine names, addresses and an encrypted secret store; it is kept privately instead. What is left is meant to be safe on any machine, including one whose owner is not me: see CLAUDE.md for the rule it is written to.
Diffstat (limited to 'config/nvim/colors')
-rw-r--r--config/nvim/colors/dark.lua12
-rw-r--r--config/nvim/colors/default.lua11
-rw-r--r--config/nvim/colors/light.lua20
-rw-r--r--config/nvim/colors/molokai.lua5
-rw-r--r--config/nvim/colors/onehalfdark.lua3
5 files changed, 51 insertions, 0 deletions
diff --git a/config/nvim/colors/dark.lua b/config/nvim/colors/dark.lua
new file mode 100644
index 0000000..1b59858
--- /dev/null
+++ b/config/nvim/colors/dark.lua
@@ -0,0 +1,12 @@
+vim.g.ayucolor = "dark"
+vim.opt.background = "dark"
+vim.cmd("colorscheme ayu")
+-- vim.cmd("colorscheme github") -- Alternative color scheme (commented out)
+
+-- vim.g.airline_theme = "github"
+-- vim.g.lightline = { colorscheme = "github" }
+
+-- GitHub color theme settings
+-- vim.g.github_colors_soft = 1 -- Slightly darker background like GitHub inline code blocks
+-- vim.g.github_colors_block_diffmark = 0 -- More blocky diff markers in the sign column (e.g., GitGutter)
+
diff --git a/config/nvim/colors/default.lua b/config/nvim/colors/default.lua
new file mode 100644
index 0000000..44f59dd
--- /dev/null
+++ b/config/nvim/colors/default.lua
@@ -0,0 +1,11 @@
+-- This file should only be used by the theme script with variables injected
+-- If variables are not set, use fallback values
+---@diagnostic disable-next-line: undefined-global
+local mode = theme_mode or "dark"
+---@diagnostic disable-next-line: undefined-global
+local colors = theme_colors or "ayu"
+
+vim.g.ayucolor = mode
+vim.opt.background = mode
+vim.cmd("colorscheme " .. colors)
+
diff --git a/config/nvim/colors/light.lua b/config/nvim/colors/light.lua
new file mode 100644
index 0000000..ee2056c
--- /dev/null
+++ b/config/nvim/colors/light.lua
@@ -0,0 +1,20 @@
+vim.g.ayucolor = "light"
+vim.opt.background = "light"
+vim.cmd("colorscheme onehalflight")
+
+-- Alternative color schemes
+-- vim.cmd("colorscheme github")
+-- vim.g.airline_theme = "github"
+-- vim.g.lightline = { colorscheme = "github" }
+
+-- GitHub theme customizations
+-- vim.g.github_colors_soft = 1 -- Use a slightly darker background like GitHub inline code blocks
+-- vim.g.github_colors_block_diffmark = 0 -- Use blocky diff markers in the sign column (e.g., GitGutter)
+
+-- OneDark theme configuration
+-- vim.g.onedark_config = { style = "light" }
+-- vim.cmd("colorscheme onedark")
+
+-- Another alternative colorscheme
+-- vim.cmd("colorscheme PaperColor")
+
diff --git a/config/nvim/colors/molokai.lua b/config/nvim/colors/molokai.lua
new file mode 100644
index 0000000..9c63e5d
--- /dev/null
+++ b/config/nvim/colors/molokai.lua
@@ -0,0 +1,5 @@
+vim.g.ayucolor = "dark"
+vim.opt.background = "dark"
+-- vim.cmd("colorscheme monokai")
+-- vim.cmd("colorscheme deep-space")
+vim.cmd("colorscheme happy_hacking")
diff --git a/config/nvim/colors/onehalfdark.lua b/config/nvim/colors/onehalfdark.lua
new file mode 100644
index 0000000..3656341
--- /dev/null
+++ b/config/nvim/colors/onehalfdark.lua
@@ -0,0 +1,3 @@
+vim.g.ayucolor = "dark"
+vim.opt.background = "dark"
+vim.cmd("colorscheme onehalfdark")