50 lines
922 B
Lua
50 lines
922 B
Lua
local wezterm = require("wezterm")
|
|
|
|
-- This is the M table that we will export
|
|
local M = {}
|
|
|
|
-- define a function in the M table.
|
|
-- Only functions defined in `M` will be exported to
|
|
-- code that imports this M.
|
|
-- The suggested convention for making Ms that update
|
|
-- the config is for them to export an `apply_to_config`
|
|
-- function that accepts the config object, like this:
|
|
function M.apply_to_config(config)
|
|
config.colors = {
|
|
foreground = "#d8d8d8",
|
|
background = "#050505",
|
|
|
|
selection_fg = "#e0def4",
|
|
selection_bg = "#403d52",
|
|
|
|
cursor_bg = "#524f67",
|
|
cursor_fg = "#e0def4",
|
|
|
|
cursor_border = "#524f67",
|
|
|
|
ansi = {
|
|
"#181818",
|
|
"#ac4242",
|
|
"#90a959",
|
|
"#f4bf75",
|
|
"#6a8fb5",
|
|
"#aa759f",
|
|
"#75b5aa",
|
|
"#d8d8d8",
|
|
},
|
|
|
|
brights = {
|
|
"#6b6b6b",
|
|
"#c55555",
|
|
"#aac474",
|
|
"#fcea88",
|
|
"#82b8c8",
|
|
"#c28cb8",
|
|
"#93d3c3",
|
|
"#f8f8f8",
|
|
},
|
|
}
|
|
end
|
|
|
|
-- return our M table
|
|
return M
|