aboutsummaryrefslogtreecommitdiff
path: root/theme.toml
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-25 07:42:14 +0000
committerBlaž Hrastnik2021-03-25 07:42:14 +0000
commita65395d94beb614bc17301601109042077e55e83 (patch)
tree67e2a14ecb68c1ab8f8a5719dd869b7818342af9 /theme.toml
parente3c4edae32f6d70bf20655c7c25b3cdf39f3f281 (diff)
Load theme from toml file.
Diffstat (limited to 'theme.toml')
-rw-r--r--theme.toml44
1 files changed, 44 insertions, 0 deletions
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"