dotfiles/dot_config/wezterm/theme.lua

34 lines
803 B
Lua
Raw Normal View History

local wezterm = require("wezterm")
local M = {}
M.scheme_for_appearance = function(appearance, theme)
if string.match(wezterm.target_triple, "linux") then
return theme.dark
end
if appearance:find("Dark") then
return theme.dark
else
return theme.light
end
end
M.get_custom_colorschemes = function()
local oledppuccin = wezterm.color.get_builtin_schemes()["Catppuccin Mocha"]
oledppuccin.background = "#000000"
oledppuccin.tab_bar.background = "#040404"
oledppuccin.tab_bar.inactive_tab.bg_color = "#0f0f0f"
oledppuccin.tab_bar.new_tab.bg_color = "#080808"
2023-01-01 15:36:39 +01:00
oledppuccin.ansi[6] = "#c6a0f6"
local latte = wezterm.color.get_builtin_schemes()["Catppuccin Latte"]
latte.ansi[6] = "#8839ef"
return {
["OLEDppuccin"] = oledppuccin,
2023-01-01 15:36:39 +01:00
["Catppuccin Latte"] = latte,
}
end
return M