Clean up the default theme definition

pull/428/head
Blaž Hrastnik 3 years ago
parent a0a5bd555b
commit 906cfd52e0

@ -1,68 +1,81 @@
"attribute" = "#dbbfef" # lilac attribute = "lilac"
"keyword" = "#eccdba" # almond keyword = "almond"
"keyword.directive" = "#dbbfef" # lilac -- preprocessor comments (#if in C) "keyword.directive" = "lilac" # -- preprocessor comments (#if in C)
"namespace" = "#dbbfef" # lilac namespace = "lilac"
"punctuation" = "#a4a0e8" # lavender punctuation = "lavender"
"punctuation.delimiter" = "#a4a0e8" # lavender "punctuation.delimiter" = "lavender"
"operator" = "#dbbfef" # lilac operator = "lilac"
"special" = "#efba5d" # honey special = "honey"
# "property" = "#a4a0e8" # lavender property = "white"
"property" = "#ffffff" # white variable = "lavender"
"variable" = "#a4a0e8" # lavender # variable = "almond" # TODO: metavariables only
# "variable" = "#eccdba" # almond TODO: metavariables only "variable.parameter" = "lavender"
"variable.parameter" = "#a4a0e8" # lavender "variable.builtin" = "mint"
# TODO distinguish type from type.builtin? type = "white"
"type" = "#ffffff" # white "type.builtin" = "white" # TODO: distinguish?
"type.builtin" = "#ffffff" # white constructor = "lilac"
"constructor" = "#dbbfef" # lilac function = "white"
"function" = "#ffffff" # white "function.macro" = "lilac"
"function.macro" = "#dbbfef" # lilac "function.builtin" = "white"
"function.builtin" = "#ffffff" # white comment = "sirocco"
"comment" = "#697C81" # sirocco constant = "white"
"variable.builtin" = "#9ff28f" # mint "constant.builtin" = "white"
"constant" = "#ffffff" # white string = "silver"
"constant.builtin" = "#ffffff" # white number = "chamois"
"string" = "#cccccc" # silver escape = "honey"
"number" = "#e8dca0" # chamois
"escape" = "#efba5d" # honey
# used for lifetimes # used for lifetimes
"label" = "#efba5d" # honey label = "honey"
# TODO: diferentiate number builtin
# TODO: diferentiate doc comment # TODO: diferentiate doc comment
# TODO: variable as lilac
# TODO: mod/use statements as white
# TODO: mod stuff as chamois
#
# concat (ERROR) @syntax-error and "MISSING ;" selectors for errors # concat (ERROR) @syntax-error and "MISSING ;" selectors for errors
"module" = "#ff0000" module = "#ff0000"
"ui.background" = { bg = "#3b224c" } # midnight "ui.background" = { bg = "midnight" }
"ui.linenr" = { fg = "#5a5977" } # comet "ui.linenr" = { fg = "comet" }
"ui.linenr.selected" = { fg = "#dbbfef" } # lilac "ui.linenr.selected" = { fg = "lilac" }
"ui.statusline" = { fg = "#dbbfef", bg = "#281733" } # revolver "ui.statusline" = { fg = "lilac", bg = "revolver" }
"ui.statusline.inactive" = { fg = "#a4a0e8", bg = "#281733" } # revolver "ui.statusline.inactive" = { fg = "lavender", bg = "revolver" }
"ui.popup" = { bg = "#281733" } # revolver "ui.popup" = { bg = "revolver" }
"ui.window" = { fg = "#452859" } # bossa nova "ui.window" = { fg = "bossanova" }
"ui.help" = { bg = "#7958DC", fg = "#171452" } "ui.help" = { bg = "#7958DC", fg = "#171452" }
"ui.text" = { fg = "#a4a0e8" } # lavender "ui.text" = { fg = "lavender" }
"ui.text.focus" = { fg = "#dbbfef" } # lilac "ui.text.focus" = { fg = "lilac" }
"ui.selection" = { bg = "#540099" } "ui.selection" = { bg = "#540099" }
"ui.selection.primary" = { bg = "#540099" } "ui.selection.primary" = { bg = "#540099" }
# TODO: namespace ui.cursor as ui.selection.cursor? # TODO: namespace ui.cursor as ui.selection.cursor?
"ui.cursor.select" = { bg = "#6F44F0" } "ui.cursor.select" = { bg = "delta" }
"ui.cursor.insert" = { bg = "#ffffff" } "ui.cursor.insert" = { bg = "white" }
"ui.cursor.match" = { fg = "#212121", bg = "#6C6999" } "ui.cursor.match" = { fg = "#212121", bg = "#6C6999" }
"ui.cursor" = { modifiers = ["reversed"] } "ui.cursor" = { modifiers = ["reversed"] }
"ui.menu.selected" = { fg = "#281733", bg = "#ffffff" } # revolver "ui.menu.selected" = { fg = "revolver", bg = "white" }
"diagnostic" = { modifiers = ["underlined"] } diagnostic = { modifiers = ["underlined"] }
"warning" = "#ffcd1c" warning = "lightning"
"error" = "#f47868" error = "apricot"
"info" = "#6F44F0" info = "delta"
"hint" = "#cccccc" hint = "silver"
[palette]
white = "#ffffff"
lilac = "#dbbfef"
lavender = "#a4a0e8"
comet = "#5a5977"
bossanova = "#452859"
midnight = "#3b224c"
revolver = "#281733"
silver = "#cccccc"
sirocco = "#697C81"
mint = "#9ff28f"
almond = "#eccdba"
chamois = "#a4a0e8"
honey = "#efba5d"
apricot = "#f47868"
lightning = "#ffcd1c"
delta = "#6F44F0"

Loading…
Cancel
Save