157 lines
4.3 KiB
TOML
157 lines
4.3 KiB
TOML
# Syntax highlighting
|
|
# -------------------
|
|
"type" = "yellow"
|
|
|
|
"constructor" = "sapphire"
|
|
|
|
"constant" = "peach"
|
|
"constant.builtin" = "peach"
|
|
"constant.character" = "teal"
|
|
"constant.character.escape" = "pink"
|
|
|
|
"string" = "green"
|
|
"string.regexp" = "peach"
|
|
"string.special" = "blue"
|
|
|
|
"comment" = { fg = "overlay1" }
|
|
|
|
"variable" = "text"
|
|
"variable.parameter" = { fg = "maroon" }
|
|
"variable.builtin" = "red"
|
|
"variable.other.member" = "teal"
|
|
|
|
"label" = "sapphire" # used for lifetimes
|
|
|
|
"punctuation" = "overlay2"
|
|
"punctuation.special" = "sky"
|
|
|
|
"keyword" = "mauve"
|
|
"keyword.control.conditional" = { fg = "mauve" }
|
|
|
|
"operator" = "sky"
|
|
|
|
"function" = "blue"
|
|
"function.macro" = "mauve"
|
|
|
|
"tag" = "mauve"
|
|
"attribute" = "blue"
|
|
|
|
"namespace" = { fg = "blue" }
|
|
|
|
"special" = "blue" # fuzzy highlight
|
|
|
|
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
"markup.heading.1" = "lavender"
|
|
"markup.heading.2" = "mauve"
|
|
"markup.heading.3" = "green"
|
|
"markup.heading.4" = "yellow"
|
|
"markup.heading.5" = "pink"
|
|
"markup.heading.6" = "teal"
|
|
"markup.list" = "mauve"
|
|
"markup.bold" = { modifiers = ["bold"] }
|
|
"markup.italic" = { modifiers = ["italic"] }
|
|
"markup.link.url" = { fg = "rosewater", modifiers = ["underlined"] }
|
|
"markup.link.text" = "blue"
|
|
"markup.raw" = "flamingo"
|
|
|
|
"diff.plus" = "green"
|
|
"diff.minus" = "red"
|
|
"diff.delta" = "blue"
|
|
|
|
# User Interface
|
|
# --------------
|
|
"ui.background" = { fg = "text", bg = "base" }
|
|
|
|
"ui.linenr" = { fg = "surface1" }
|
|
"ui.linenr.selected" = { fg = "lavender" }
|
|
|
|
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
|
|
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
"ui.window" = { fg = "crust" }
|
|
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
|
|
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
"ui.bufferline.background" = { bg = "crust" }
|
|
|
|
"ui.text" = "text"
|
|
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
"ui.text.inactive" = { fg = "overlay1" }
|
|
|
|
"ui.virtual" = "overlay0"
|
|
"ui.virtual.ruler" = { bg = "surface0" }
|
|
"ui.virtual.indent-guide" = "surface0"
|
|
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
|
|
"ui.selection" = { bg = "surface1" }
|
|
|
|
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
|
|
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
|
|
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
|
|
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
|
|
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
|
|
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
|
|
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
|
|
error = "red"
|
|
warning = "yellow"
|
|
info = "sky"
|
|
hint = "teal"
|
|
|
|
[palette]
|
|
# catppuccin palette colors
|
|
rosewater = "#dc8a78"
|
|
flamingo = "#dd7878"
|
|
pink = "#ea76cb"
|
|
mauve = "#8839ef"
|
|
red = "#d20f39"
|
|
maroon = "#e64553"
|
|
peach = "#fe640b"
|
|
yellow = "#df8e1d"
|
|
green = "#40a02b"
|
|
teal = "#179299"
|
|
sky = "#04a5e5"
|
|
sapphire = "#209fb5"
|
|
blue = "#1e66f5"
|
|
lavender = "#7287fd"
|
|
|
|
text = "#4c4f69"
|
|
subtext1 = "#5c5f77"
|
|
subtext0 = "#6c6f85"
|
|
overlay2 = "#7c7f93"
|
|
overlay1 = "#8c8fa1"
|
|
overlay0 = "#9ca0b0"
|
|
surface2 = "#acb0be"
|
|
surface1 = "#bcc0cc"
|
|
surface0 = "#ccd0da"
|
|
|
|
base = "#eff1f5"
|
|
mantle = "#e6e9ef"
|
|
crust = "#dce0e8"
|
|
|
|
# derived colors by blending existing palette colors
|
|
cursorline = "#e9ebf1"
|
|
secondary_cursor = "#e2a99e"
|
|
secondary_cursor_normal = "#98a7fb"
|
|
secondary_cursor_insert = "#75b868"
|