-- Generated from the canonical Santi020k palette. Edit scripts/build.mjs.
-- Neovim 0.10+. Select light/dark with 'background' before :colorscheme santi020k.
local appearance = vim.o.background
vim.cmd("highlight clear")
if vim.fn.exists("syntax_on") == 1 then
  vim.cmd("syntax reset")
end
vim.g.colors_name = "santi020k"
local palettes = {
  dark = {
    ["Normal"] = { fg = "#dfdde3", bg = "#0d0a15" },
    ["NormalNC"] = { link = "Normal" },
    ["NormalFloat"] = { fg = "#dfdde3", bg = "#151221" },
    ["FloatBorder"] = { fg = "#b48df7", bg = "#151221" },
    ["FloatTitle"] = { fg = "#b48df7", bg = "#151221", bold = true },
    ["Comment"] = { fg = "#a388d2", italic = true },
    ["Constant"] = { fg = "#a8d0e0" },
    ["String"] = { fg = "#f0c870" },
    ["Character"] = { link = "String" },
    ["Number"] = { link = "Constant" },
    ["Boolean"] = { fg = "#a980f2" },
    ["Float"] = { link = "Number" },
    ["Identifier"] = { fg = "#dfdde3" },
    ["Function"] = { fg = "#89b8c8" },
    ["Statement"] = { fg = "#a980f2" },
    ["Keyword"] = { link = "Statement" },
    ["Conditional"] = { link = "Statement" },
    ["Repeat"] = { link = "Statement" },
    ["Label"] = { link = "Statement" },
    ["Exception"] = { link = "Statement" },
    ["Operator"] = { fg = "#a189d5" },
    ["PreProc"] = { fg = "#a980f2" },
    ["Include"] = { link = "PreProc" },
    ["Define"] = { link = "PreProc" },
    ["Macro"] = { link = "PreProc" },
    ["PreCondit"] = { link = "PreProc" },
    ["Type"] = { fg = "#aa7ff3" },
    ["StorageClass"] = { link = "Type" },
    ["Structure"] = { link = "Type" },
    ["Typedef"] = { link = "Type" },
    ["Special"] = { fg = "#aa7ff3" },
    ["SpecialChar"] = { link = "Special" },
    ["Tag"] = { link = "Type" },
    ["Delimiter"] = { fg = "#b6b2bd" },
    ["SpecialComment"] = { link = "Comment" },
    ["Debug"] = { link = "Special" },
    ["Underlined"] = { fg = "#b48df7", underline = true },
    ["Ignore"] = { fg = "#b6b2bd" },
    ["Error"] = { fg = "#e9716b", bold = true },
    ["Todo"] = { fg = "#b48df7", bg = "#322b40", bold = true },
    ["Visual"] = { bg = "#322b40" },
    ["VisualNOS"] = { link = "Visual" },
    ["Search"] = { fg = "#dfdde3", bg = "#322b40", underline = true },
    ["IncSearch"] = { fg = "#0d0a15", bg = "#b48df7" },
    ["CurSearch"] = { link = "IncSearch" },
    ["Substitute"] = { link = "IncSearch" },
    ["Cursor"] = { fg = "#0d0a15", bg = "#b48df7" },
    ["lCursor"] = { link = "Cursor" },
    ["CursorIM"] = { link = "Cursor" },
    ["TermCursor"] = { link = "Cursor" },
    ["CursorLine"] = { bg = "#151221" },
    ["CursorColumn"] = { link = "CursorLine" },
    ["ColorColumn"] = { bg = "#151221" },
    ["LineNr"] = { fg = "#b6b2bd" },
    ["CursorLineNr"] = { fg = "#b48df7", bold = true },
    ["SignColumn"] = { bg = "#0d0a15" },
    ["FoldColumn"] = { fg = "#b6b2bd", bg = "#0d0a15" },
    ["Folded"] = { fg = "#b6b2bd", bg = "#151221" },
    ["EndOfBuffer"] = { fg = "#494158" },
    ["NonText"] = { fg = "#b6b2bd" },
    ["Whitespace"] = { fg = "#494158" },
    ["SpecialKey"] = { fg = "#b6b2bd" },
    ["MatchParen"] = { fg = "#b48df7", bg = "#322b40", bold = true },
    ["StatusLine"] = { fg = "#dfdde3", bg = "#322b40" },
    ["StatusLineNC"] = { fg = "#b6b2bd", bg = "#151221" },
    ["WinSeparator"] = { fg = "#494158" },
    ["VertSplit"] = { link = "WinSeparator" },
    ["TabLine"] = { fg = "#b6b2bd", bg = "#151221" },
    ["TabLineFill"] = { bg = "#151221" },
    ["TabLineSel"] = { fg = "#b48df7", bg = "#0d0a15", bold = true },
    ["Pmenu"] = { fg = "#dfdde3", bg = "#151221" },
    ["PmenuSel"] = { fg = "#dfdde3", bg = "#322b40", bold = true },
    ["PmenuSbar"] = { bg = "#151221" },
    ["PmenuThumb"] = { bg = "#b6b2bd" },
    ["WildMenu"] = { link = "PmenuSel" },
    ["Directory"] = { fg = "#b48df7" },
    ["Title"] = { fg = "#b48df7", bold = true },
    ["Question"] = { fg = "#7daea3" },
    ["MoreMsg"] = { fg = "#7daea3" },
    ["ModeMsg"] = { fg = "#b48df7" },
    ["ErrorMsg"] = { fg = "#e9716b" },
    ["WarningMsg"] = { fg = "#e8b44a" },
    ["MsgArea"] = { link = "Normal" },
    ["DiffAdd"] = { fg = "#7daea3", bg = "#151221" },
    ["DiffDelete"] = { fg = "#e9716b", bg = "#151221" },
    ["DiffChange"] = { bg = "#322b40" },
    ["DiffText"] = { fg = "#dfdde3", bg = "#322b40", bold = true, underline = true },
    ["Added"] = { fg = "#7daea3" },
    ["Removed"] = { fg = "#e9716b" },
    ["Changed"] = { fg = "#e8b44a" },
    ["SpellBad"] = { sp = "#e9716b", undercurl = true },
    ["SpellCap"] = { sp = "#e8b44a", undercurl = true },
    ["SpellLocal"] = { sp = "#89b8c8", undercurl = true },
    ["SpellRare"] = { sp = "#b48df7", undercurl = true },
    ["LspReferenceText"] = { bg = "#322b40" },
    ["LspReferenceRead"] = { link = "LspReferenceText" },
    ["LspReferenceWrite"] = { bg = "#322b40", underline = true },
    ["LspSignatureActiveParameter"] = { fg = "#b48df7", bg = "#322b40", bold = true },
    ["LspCodeLens"] = { fg = "#b6b2bd" },
    ["LspInlayHint"] = { fg = "#b6b2bd", bg = "#151221" },
    ["@variable"] = { link = "Identifier" },
    ["@variable.builtin"] = { link = "Special" },
    ["@variable.parameter"] = { link = "Identifier" },
    ["@variable.member"] = { link = "Special" },
    ["@constant"] = { link = "Constant" },
    ["@constant.builtin"] = { link = "Constant" },
    ["@constant.macro"] = { link = "Macro" },
    ["@module"] = { link = "Type" },
    ["@label"] = { link = "Label" },
    ["@string"] = { link = "String" },
    ["@string.escape"] = { link = "SpecialChar" },
    ["@string.regexp"] = { link = "String" },
    ["@string.special.url"] = { link = "Underlined" },
    ["@character"] = { link = "Character" },
    ["@boolean"] = { link = "Boolean" },
    ["@number"] = { link = "Number" },
    ["@number.float"] = { link = "Float" },
    ["@type"] = { link = "Type" },
    ["@type.builtin"] = { link = "Type" },
    ["@attribute"] = { link = "Special" },
    ["@property"] = { link = "Special" },
    ["@function"] = { link = "Function" },
    ["@function.builtin"] = { link = "Function" },
    ["@function.call"] = { link = "Function" },
    ["@function.macro"] = { link = "Macro" },
    ["@function.method"] = { link = "Function" },
    ["@constructor"] = { link = "Type" },
    ["@operator"] = { link = "Operator" },
    ["@keyword"] = { link = "Keyword" },
    ["@keyword.function"] = { link = "Keyword" },
    ["@keyword.return"] = { link = "Keyword" },
    ["@keyword.import"] = { link = "Include" },
    ["@punctuation.delimiter"] = { link = "Delimiter" },
    ["@punctuation.bracket"] = { link = "Delimiter" },
    ["@punctuation.special"] = { link = "Special" },
    ["@comment"] = { link = "Comment" },
    ["@comment.todo"] = { link = "Todo" },
    ["@comment.error"] = { link = "Error" },
    ["@comment.warning"] = { link = "WarningMsg" },
    ["@markup.heading"] = { link = "Title" },
    ["@markup.raw"] = { link = "String" },
    ["@markup.link"] = { link = "Underlined" },
    ["@markup.link.url"] = { link = "Underlined" },
    ["@markup.list"] = { link = "Special" },
    ["@tag"] = { link = "Tag" },
    ["@tag.attribute"] = { link = "Special" },
    ["@tag.delimiter"] = { link = "Delimiter" },
    ["@lsp.type.class"] = { link = "Type" },
    ["@lsp.type.comment"] = { link = "Comment" },
    ["@lsp.type.decorator"] = { link = "Special" },
    ["@lsp.type.enum"] = { link = "Type" },
    ["@lsp.type.enumMember"] = { link = "Constant" },
    ["@lsp.type.event"] = { link = "Special" },
    ["@lsp.type.function"] = { link = "Function" },
    ["@lsp.type.interface"] = { link = "Type" },
    ["@lsp.type.keyword"] = { link = "Keyword" },
    ["@lsp.type.macro"] = { link = "Macro" },
    ["@lsp.type.method"] = { link = "Function" },
    ["@lsp.type.namespace"] = { link = "Type" },
    ["@lsp.type.number"] = { link = "Number" },
    ["@lsp.type.operator"] = { link = "Operator" },
    ["@lsp.type.parameter"] = { link = "Identifier" },
    ["@lsp.type.property"] = { link = "Special" },
    ["@lsp.type.regexp"] = { link = "String" },
    ["@lsp.type.string"] = { link = "String" },
    ["@lsp.type.struct"] = { link = "Type" },
    ["@lsp.type.type"] = { link = "Type" },
    ["@lsp.type.typeParameter"] = { link = "Type" },
    ["@lsp.type.variable"] = { link = "Identifier" },
    ["DiagnosticError"] = { fg = "#e9716b" },
    ["DiagnosticUnderlineError"] = { sp = "#e9716b", undercurl = true },
    ["DiagnosticSignError"] = { link = "DiagnosticError" },
    ["DiagnosticFloatingError"] = { link = "DiagnosticError" },
    ["DiagnosticVirtualTextError"] = { link = "DiagnosticError" },
    ["DiagnosticWarn"] = { fg = "#e8b44a" },
    ["DiagnosticUnderlineWarn"] = { sp = "#e8b44a", undercurl = true },
    ["DiagnosticSignWarn"] = { link = "DiagnosticWarn" },
    ["DiagnosticFloatingWarn"] = { link = "DiagnosticWarn" },
    ["DiagnosticVirtualTextWarn"] = { link = "DiagnosticWarn" },
    ["DiagnosticInfo"] = { fg = "#89b8c8" },
    ["DiagnosticUnderlineInfo"] = { sp = "#89b8c8", undercurl = true },
    ["DiagnosticSignInfo"] = { link = "DiagnosticInfo" },
    ["DiagnosticFloatingInfo"] = { link = "DiagnosticInfo" },
    ["DiagnosticVirtualTextInfo"] = { link = "DiagnosticInfo" },
    ["DiagnosticHint"] = { fg = "#b48df7" },
    ["DiagnosticUnderlineHint"] = { sp = "#b48df7", undercurl = true },
    ["DiagnosticSignHint"] = { link = "DiagnosticHint" },
    ["DiagnosticFloatingHint"] = { link = "DiagnosticHint" },
    ["DiagnosticVirtualTextHint"] = { link = "DiagnosticHint" },
    ["DiagnosticOk"] = { fg = "#7daea3" },
    ["DiagnosticUnderlineOk"] = { sp = "#7daea3", undercurl = true },
    ["DiagnosticSignOk"] = { link = "DiagnosticOk" },
    ["DiagnosticFloatingOk"] = { link = "DiagnosticOk" },
    ["DiagnosticVirtualTextOk"] = { link = "DiagnosticOk" },
    ["@lsp.mod.deprecated"] = { strikethrough = true },
    ["@markup.strong"] = { bold = true },
    ["@markup.italic"] = { italic = true },
    ["@markup.strikethrough"] = { strikethrough = true },
  },
  light = {
    ["Normal"] = { fg = "#302e36", bg = "#f8f6fd" },
    ["NormalNC"] = { link = "Normal" },
    ["NormalFloat"] = { fg = "#302e36", bg = "#f0edf9" },
    ["FloatBorder"] = { fg = "#7730b8", bg = "#f0edf9" },
    ["FloatTitle"] = { fg = "#7730b8", bg = "#f0edf9", bold = true },
    ["Comment"] = { fg = "#6b5d85", italic = true },
    ["Constant"] = { fg = "#006090" },
    ["String"] = { fg = "#8e5809" },
    ["Character"] = { link = "String" },
    ["Number"] = { link = "Constant" },
    ["Boolean"] = { fg = "#5a1ab0" },
    ["Float"] = { link = "Number" },
    ["Identifier"] = { fg = "#302e36" },
    ["Function"] = { fg = "#006080" },
    ["Statement"] = { fg = "#5a1ab0" },
    ["Keyword"] = { link = "Statement" },
    ["Conditional"] = { link = "Statement" },
    ["Repeat"] = { link = "Statement" },
    ["Label"] = { link = "Statement" },
    ["Exception"] = { link = "Statement" },
    ["Operator"] = { fg = "#7a4bb8" },
    ["PreProc"] = { fg = "#5a1ab0" },
    ["Include"] = { link = "PreProc" },
    ["Define"] = { link = "PreProc" },
    ["Macro"] = { link = "PreProc" },
    ["PreCondit"] = { link = "PreProc" },
    ["Type"] = { fg = "#6020b8" },
    ["StorageClass"] = { link = "Type" },
    ["Structure"] = { link = "Type" },
    ["Typedef"] = { link = "Type" },
    ["Special"] = { fg = "#6020b8" },
    ["SpecialChar"] = { link = "Special" },
    ["Tag"] = { link = "Type" },
    ["Delimiter"] = { fg = "#5f526f" },
    ["SpecialComment"] = { link = "Comment" },
    ["Debug"] = { link = "Special" },
    ["Underlined"] = { fg = "#7730b8", underline = true },
    ["Ignore"] = { fg = "#5f526f" },
    ["Error"] = { fg = "#b4382c", bold = true },
    ["Todo"] = { fg = "#7730b8", bg = "#e3dff0", bold = true },
    ["Visual"] = { bg = "#e3dff0" },
    ["VisualNOS"] = { link = "Visual" },
    ["Search"] = { fg = "#302e36", bg = "#e3dff0", underline = true },
    ["IncSearch"] = { fg = "#f8f6fd", bg = "#7730b8" },
    ["CurSearch"] = { link = "IncSearch" },
    ["Substitute"] = { link = "IncSearch" },
    ["Cursor"] = { fg = "#f8f6fd", bg = "#7730b8" },
    ["lCursor"] = { link = "Cursor" },
    ["CursorIM"] = { link = "Cursor" },
    ["TermCursor"] = { link = "Cursor" },
    ["CursorLine"] = { bg = "#f0edf9" },
    ["CursorColumn"] = { link = "CursorLine" },
    ["ColorColumn"] = { bg = "#f0edf9" },
    ["LineNr"] = { fg = "#5f526f" },
    ["CursorLineNr"] = { fg = "#7730b8", bold = true },
    ["SignColumn"] = { bg = "#f8f6fd" },
    ["FoldColumn"] = { fg = "#5f526f", bg = "#f8f6fd" },
    ["Folded"] = { fg = "#5f526f", bg = "#f0edf9" },
    ["EndOfBuffer"] = { fg = "#d3cde6" },
    ["NonText"] = { fg = "#5f526f" },
    ["Whitespace"] = { fg = "#d3cde6" },
    ["SpecialKey"] = { fg = "#5f526f" },
    ["MatchParen"] = { fg = "#7730b8", bg = "#e3dff0", bold = true },
    ["StatusLine"] = { fg = "#302e36", bg = "#e3dff0" },
    ["StatusLineNC"] = { fg = "#5f526f", bg = "#f0edf9" },
    ["WinSeparator"] = { fg = "#d3cde6" },
    ["VertSplit"] = { link = "WinSeparator" },
    ["TabLine"] = { fg = "#5f526f", bg = "#f0edf9" },
    ["TabLineFill"] = { bg = "#f0edf9" },
    ["TabLineSel"] = { fg = "#7730b8", bg = "#f8f6fd", bold = true },
    ["Pmenu"] = { fg = "#302e36", bg = "#f0edf9" },
    ["PmenuSel"] = { fg = "#302e36", bg = "#e3dff0", bold = true },
    ["PmenuSbar"] = { bg = "#f0edf9" },
    ["PmenuThumb"] = { bg = "#5f526f" },
    ["WildMenu"] = { link = "PmenuSel" },
    ["Directory"] = { fg = "#7730b8" },
    ["Title"] = { fg = "#7730b8", bold = true },
    ["Question"] = { fg = "#237239" },
    ["MoreMsg"] = { fg = "#237239" },
    ["ModeMsg"] = { fg = "#7730b8" },
    ["ErrorMsg"] = { fg = "#b4382c" },
    ["WarningMsg"] = { fg = "#865c1f" },
    ["MsgArea"] = { link = "Normal" },
    ["DiffAdd"] = { fg = "#237239", bg = "#f0edf9" },
    ["DiffDelete"] = { fg = "#b4382c", bg = "#f0edf9" },
    ["DiffChange"] = { bg = "#e3dff0" },
    ["DiffText"] = { fg = "#302e36", bg = "#e3dff0", bold = true, underline = true },
    ["Added"] = { fg = "#237239" },
    ["Removed"] = { fg = "#b4382c" },
    ["Changed"] = { fg = "#865c1f" },
    ["SpellBad"] = { sp = "#b4382c", undercurl = true },
    ["SpellCap"] = { sp = "#865c1f", undercurl = true },
    ["SpellLocal"] = { sp = "#186c87", undercurl = true },
    ["SpellRare"] = { sp = "#7730b8", undercurl = true },
    ["LspReferenceText"] = { bg = "#e3dff0" },
    ["LspReferenceRead"] = { link = "LspReferenceText" },
    ["LspReferenceWrite"] = { bg = "#e3dff0", underline = true },
    ["LspSignatureActiveParameter"] = { fg = "#7730b8", bg = "#e3dff0", bold = true },
    ["LspCodeLens"] = { fg = "#5f526f" },
    ["LspInlayHint"] = { fg = "#5f526f", bg = "#f0edf9" },
    ["@variable"] = { link = "Identifier" },
    ["@variable.builtin"] = { link = "Special" },
    ["@variable.parameter"] = { link = "Identifier" },
    ["@variable.member"] = { link = "Special" },
    ["@constant"] = { link = "Constant" },
    ["@constant.builtin"] = { link = "Constant" },
    ["@constant.macro"] = { link = "Macro" },
    ["@module"] = { link = "Type" },
    ["@label"] = { link = "Label" },
    ["@string"] = { link = "String" },
    ["@string.escape"] = { link = "SpecialChar" },
    ["@string.regexp"] = { link = "String" },
    ["@string.special.url"] = { link = "Underlined" },
    ["@character"] = { link = "Character" },
    ["@boolean"] = { link = "Boolean" },
    ["@number"] = { link = "Number" },
    ["@number.float"] = { link = "Float" },
    ["@type"] = { link = "Type" },
    ["@type.builtin"] = { link = "Type" },
    ["@attribute"] = { link = "Special" },
    ["@property"] = { link = "Special" },
    ["@function"] = { link = "Function" },
    ["@function.builtin"] = { link = "Function" },
    ["@function.call"] = { link = "Function" },
    ["@function.macro"] = { link = "Macro" },
    ["@function.method"] = { link = "Function" },
    ["@constructor"] = { link = "Type" },
    ["@operator"] = { link = "Operator" },
    ["@keyword"] = { link = "Keyword" },
    ["@keyword.function"] = { link = "Keyword" },
    ["@keyword.return"] = { link = "Keyword" },
    ["@keyword.import"] = { link = "Include" },
    ["@punctuation.delimiter"] = { link = "Delimiter" },
    ["@punctuation.bracket"] = { link = "Delimiter" },
    ["@punctuation.special"] = { link = "Special" },
    ["@comment"] = { link = "Comment" },
    ["@comment.todo"] = { link = "Todo" },
    ["@comment.error"] = { link = "Error" },
    ["@comment.warning"] = { link = "WarningMsg" },
    ["@markup.heading"] = { link = "Title" },
    ["@markup.raw"] = { link = "String" },
    ["@markup.link"] = { link = "Underlined" },
    ["@markup.link.url"] = { link = "Underlined" },
    ["@markup.list"] = { link = "Special" },
    ["@tag"] = { link = "Tag" },
    ["@tag.attribute"] = { link = "Special" },
    ["@tag.delimiter"] = { link = "Delimiter" },
    ["@lsp.type.class"] = { link = "Type" },
    ["@lsp.type.comment"] = { link = "Comment" },
    ["@lsp.type.decorator"] = { link = "Special" },
    ["@lsp.type.enum"] = { link = "Type" },
    ["@lsp.type.enumMember"] = { link = "Constant" },
    ["@lsp.type.event"] = { link = "Special" },
    ["@lsp.type.function"] = { link = "Function" },
    ["@lsp.type.interface"] = { link = "Type" },
    ["@lsp.type.keyword"] = { link = "Keyword" },
    ["@lsp.type.macro"] = { link = "Macro" },
    ["@lsp.type.method"] = { link = "Function" },
    ["@lsp.type.namespace"] = { link = "Type" },
    ["@lsp.type.number"] = { link = "Number" },
    ["@lsp.type.operator"] = { link = "Operator" },
    ["@lsp.type.parameter"] = { link = "Identifier" },
    ["@lsp.type.property"] = { link = "Special" },
    ["@lsp.type.regexp"] = { link = "String" },
    ["@lsp.type.string"] = { link = "String" },
    ["@lsp.type.struct"] = { link = "Type" },
    ["@lsp.type.type"] = { link = "Type" },
    ["@lsp.type.typeParameter"] = { link = "Type" },
    ["@lsp.type.variable"] = { link = "Identifier" },
    ["DiagnosticError"] = { fg = "#b4382c" },
    ["DiagnosticUnderlineError"] = { sp = "#b4382c", undercurl = true },
    ["DiagnosticSignError"] = { link = "DiagnosticError" },
    ["DiagnosticFloatingError"] = { link = "DiagnosticError" },
    ["DiagnosticVirtualTextError"] = { link = "DiagnosticError" },
    ["DiagnosticWarn"] = { fg = "#865c1f" },
    ["DiagnosticUnderlineWarn"] = { sp = "#865c1f", undercurl = true },
    ["DiagnosticSignWarn"] = { link = "DiagnosticWarn" },
    ["DiagnosticFloatingWarn"] = { link = "DiagnosticWarn" },
    ["DiagnosticVirtualTextWarn"] = { link = "DiagnosticWarn" },
    ["DiagnosticInfo"] = { fg = "#186c87" },
    ["DiagnosticUnderlineInfo"] = { sp = "#186c87", undercurl = true },
    ["DiagnosticSignInfo"] = { link = "DiagnosticInfo" },
    ["DiagnosticFloatingInfo"] = { link = "DiagnosticInfo" },
    ["DiagnosticVirtualTextInfo"] = { link = "DiagnosticInfo" },
    ["DiagnosticHint"] = { fg = "#7730b8" },
    ["DiagnosticUnderlineHint"] = { sp = "#7730b8", undercurl = true },
    ["DiagnosticSignHint"] = { link = "DiagnosticHint" },
    ["DiagnosticFloatingHint"] = { link = "DiagnosticHint" },
    ["DiagnosticVirtualTextHint"] = { link = "DiagnosticHint" },
    ["DiagnosticOk"] = { fg = "#237239" },
    ["DiagnosticUnderlineOk"] = { sp = "#237239", undercurl = true },
    ["DiagnosticSignOk"] = { link = "DiagnosticOk" },
    ["DiagnosticFloatingOk"] = { link = "DiagnosticOk" },
    ["DiagnosticVirtualTextOk"] = { link = "DiagnosticOk" },
    ["@lsp.mod.deprecated"] = { strikethrough = true },
    ["@markup.strong"] = { bold = true },
    ["@markup.italic"] = { italic = true },
    ["@markup.strikethrough"] = { strikethrough = true },
  },
}
local terminal = {
  dark = { "#8d8896", "#ea6962", "#7daea3", "#e8b44a", "#6b82c8", "#945df4", "#89b8c8", "#b6b2bd", "#827d8c", "#f28080", "#a0c8a0", "#f0c870", "#8898d8", "#b48df7", "#a8d0e0", "#dfdde3" },
  light = { "#302e36", "#c0392b", "#20823a", "#c07a10", "#2060c8", "#6319be", "#1080a0", "#403850", "#8c82a5", "#e05050", "#3cb858", "#e09030", "#3878d8", "#7730b8", "#2098c0", "#302e36" },
}
for name, style in pairs(palettes[appearance]) do
  vim.api.nvim_set_hl(0, name, style)
end
for index, color in ipairs(terminal[appearance]) do
  vim.g["terminal_color_" .. (index - 1)] = color
end
