First stab at converting to farout palette

Also renamed all/most instances of tokyonight to farout
This commit is contained in:
2023-12-01 15:30:50 -05:00
parent f247ee700b
commit 1752319cc5
130 changed files with 18963 additions and 301 deletions

View File

@@ -0,0 +1,47 @@
local util = require("farout.util")
local M = {}
--- @param colors ColorScheme
function M.generate(colors)
local fishColors = {}
for k, v in pairs(colors) do
if type(v) == "string" then
fishColors[k] = v:gsub("^#", "")
end
end
local fish = util.template(
[[
# TokyoNight
# Syntax Highlighting Colors
fish_color_normal ${fg}
fish_color_command ${cyan}
fish_color_keyword ${magenta}
fish_color_quote ${yellow}
fish_color_redirection ${fg}
fish_color_end ${orange}
fish_color_error ${red}
fish_color_param ${purple}
fish_color_comment ${comment}
fish_color_selection --background=${bg_visual}
fish_color_search_match --background=${bg_visual}
fish_color_operator ${green}
fish_color_escape ${magenta}
fish_color_autosuggestion ${comment}
# Completion Pager Colors
fish_pager_color_progress ${comment}
fish_pager_color_prefix ${cyan}
fish_pager_color_completion ${fg}
fish_pager_color_description ${comment}
fish_pager_color_selected_background --background=${bg_visual}
]],
fishColors
)
return fish
end
return M