From a65395d94beb614bc17301601109042077e55e83 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 25 Mar 2021 16:42:14 +0900 Subject: Load theme from toml file. --- theme.toml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 theme.toml (limited to 'theme.toml') diff --git a/theme.toml b/theme.toml new file mode 100644 index 00000000..32ceb94b --- /dev/null +++ b/theme.toml @@ -0,0 +1,44 @@ +"attribute" = "#dbbfef" # lilac +"keyword" = "#eccdba" # almond +"punctuation" = "#a4a0e8" # lavender +"punctuation.delimiter" = "#a4a0e8" # lavender +"operator" = "#dbbfef" # lilac +"property" = "#a4a0e8" # lavender +"variable.parameter" = "#a4a0e8" # lavender +# TODO distinguish type from type.builtin? +"type" = "#ffffff" # white +"type.builtin" = "#ffffff" # white +"constructor" = "#dbbfef" # lilac +"function" = "#ffffff" # white +"function.macro" = "#dbbfef" # lilac +"comment" = "#697C81" # sirocco +"variable.builtin" = "#9ff28f" # mint +"constant" = "#ffffff" # white +"constant.builtin" = "#ffffff" # white +"string" = "#cccccc" # silver +"escape" = "#efba5d" # honey +# used for lifetimes +"label" = "#efba5d" # honey + +# TODO: diferentiate number builtin +# TODO: diferentiate doc comment +# TODO: variable as lilac +# TODO: mod/use statements as white +# TODO: mod stuff as chamoise +# TODO: add "(scoped_identifier) @path" for std::mem:: +# +# concat (ERROR) @syntax-error and "MISSING ;" selectors for errors + +"module" = "#ff0000" +"variable" = "#ff0000" +"function.builtin" = "#ff0000" + +"ui.background" = { bg = "#3b224c" } # midnight +"ui.linenr" = { fg = "#5a5977" } # comet +"ui.statusline" = { bg = "#281733" } # revolver +"ui.popup" = { bg = "#281733" } # revolver + +"warning" = "#ffcd1c" +"error" = "#f47868" +"info" = "#6F44F0" +"hint" = "#cccccc" -- cgit v1.2.3-70-g09d2