38 lines
1.2 KiB
Lua
38 lines
1.2 KiB
Lua
local M = {}
|
|
|
|
function M.setup()
|
|
require('base16-colorscheme').setup {
|
|
-- Background tones
|
|
base00 = '#191724', -- Default Background
|
|
base01 = '#26233a', -- Lighter Background (status bars)
|
|
base02 = '#2e2b47', -- Selection Background
|
|
base03 = '#656182', -- Comments, Invisibles
|
|
-- Foreground tones
|
|
base04 = '#908caa', -- Dark Foreground (status bars)
|
|
base05 = '#e0def4', -- Default Foreground
|
|
base06 = '#e0def4', -- Light Foreground
|
|
base07 = '#e0def4', -- Lightest Foreground
|
|
-- Accent colors
|
|
base08 = '#eb6f92', -- Variables, XML Tags, Errors
|
|
base09 = '#31748f', -- Integers, Constants
|
|
base0A = '#9ccfd8', -- Classes, Search Background
|
|
base0B = '#ebbcba', -- Strings, Diff Inserted
|
|
base0C = '#96d1e9', -- Regex, Escape Chars
|
|
base0D = '#e99996', -- Functions, Methods
|
|
base0E = '#96dce9', -- Keywords, Storage
|
|
base0F = '#a00833', -- 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
|