38 lines
1.2 KiB
Lua
38 lines
1.2 KiB
Lua
local M = {}
|
|
|
|
function M.setup()
|
|
require('base16-colorscheme').setup {
|
|
-- Background tones
|
|
base00 = '#121316', -- Default Background
|
|
base01 = '#1e2022', -- Lighter Background (status bars)
|
|
base02 = '#282a2d', -- Selection Background
|
|
base03 = '#8d9199', -- Comments, Invisibles
|
|
-- Foreground tones
|
|
base04 = '#c3c6cf', -- Dark Foreground (status bars)
|
|
base05 = '#e2e2e6', -- Default Foreground
|
|
base06 = '#e2e2e6', -- Light Foreground
|
|
base07 = '#e2e2e6', -- Lightest Foreground
|
|
-- Accent colors
|
|
base08 = '#ffb4ab', -- Variables, XML Tags, Errors
|
|
base09 = '#d7bee4', -- Integers, Constants
|
|
base0A = '#bbc7db', -- Classes, Search Background
|
|
base0B = '#9fcaff', -- Strings, Diff Inserted
|
|
base0C = '#d7bee4', -- Regex, Escape Chars
|
|
base0D = '#9fcaff', -- Functions, Methods
|
|
base0E = '#bbc7db', -- Keywords, Storage
|
|
base0F = '#93000a', -- Deprecated, Embedded Tags
|
|
}
|
|
end
|
|
|
|
-- Register a signal handler for SIGUSR1 (matugen updates)
|
|
local signal = vim.uv.new_signal()
|
|
signal:start(
|
|
'sigusr1',
|
|
vim.schedule_wrap(function()
|
|
package.loaded['matugen'] = nil
|
|
require('matugen').setup()
|
|
end)
|
|
)
|
|
|
|
return M
|