aboutsummaryrefslogtreecommitdiff
path: root/runtime/themes
diff options
context:
space:
mode:
authorAlexander Brevig2022-07-30 17:35:39 +0000
committerGitHub2022-07-30 17:35:39 +0000
commite405e88c86ecf98ff432e7b95a0147ca3de97e3a (patch)
tree1c27c4afd9c9be48820705de7a15a3b0c1b1e0f4 /runtime/themes
parent919edfb323609e31aa6e1f296d621782858a8533 (diff)
Flatwhite Theme (#3236)
Diffstat (limited to 'runtime/themes')
-rw-r--r--runtime/themes/flatwhite.toml112
1 files changed, 112 insertions, 0 deletions
diff --git a/runtime/themes/flatwhite.toml b/runtime/themes/flatwhite.toml
new file mode 100644
index 00000000..a5c29878
--- /dev/null
+++ b/runtime/themes/flatwhite.toml
@@ -0,0 +1,112 @@
+# Author: Alexander Brevig <alexanderbrevig@gmail.com>
+# Adopted from https://github.com/biletskyy/flatwhite-syntax
+
+"attribute" = { fg = "blue_text", bg = "blue_bg" }
+"comment" = { fg = "base3", bg = "base7", modifiers = ["italic"] }
+"comment.line" = {}
+"comment.block" = {}
+"comment.block.documentation" = { fg = "base2" }
+"constant" = { fg = "blue_text", bg = "blue_bg" }
+"constructor" = { fg = "base1", bg = "base7" }
+"function" = { fg = "base1", bg = "base7", modifiers = ["bold"] }
+"keyword" = { fg = "purple_text", bg = "purple_bg" }
+"label" = { modifiers = ["bold"] }
+"namespace" = { fg = "teal_text", bg = "teal_bg" }
+"operator" = { fg = "base1", bg = "base7" }
+"property" = { fg = "blue_text", bg = "blue_bg" }
+"punctuation.bracket" = { modifiers = ["bold"] }
+"special" = { fg = "blue_text", bg = "blue_bg" }
+"string" = { fg = "green_text", bg = "green_bg" }
+"type" = { fg = "base1", bg = "base7" }
+"variable" = { fg = "base1", bg = "base7" }
+"variable.parameter" = { fg = "blue_text", bg = "blue_bg" }
+
+"diagnostic" = { modifiers = ["underlined"] }
+"info" = { fg = "orange_text", bg = "orange_bg" }
+"hint" = { modifiers = ["bold"] }
+"warning" = { fg = "orange_text", bg = "orange_bg" }
+"error" = { fg = "diff_delete", bg = "base7" }
+
+"markup.heading" = { fg = "purple_text", bg = "purple_bg", modifiers = [
+ "bold",
+] }
+"markup.raw" = { fg = "orange_text", bg = "orange_bg" }
+"markup.raw.inline" = { fg = "orange_text", bg = "orange_bg" }
+"markup.raw.block" = { fg = "orange_text", bg = "orange_bg" }
+"markup.italic" = { modifiers = ["italic"] }
+"markup.link.url" = { fg = "blue_text", bg = "blue_bg", modifiers = [
+ "underlined",
+] }
+"markup.link.label" = { fg = "blue_text", bg = "blue_bg" }
+"markup.link.text" = { fg = "blue_text", bg = "blue_bg" }
+"markup.quote" = { fg = "teal_text", bg = "teal_bg" }
+"markup.bold" = { modifiers = ["bold"] }
+"markup.list" = { fg = "purple_text", bg = "purple_bg" }
+
+"ui.background" = { fg = "base1", bg = "base7" }
+"ui.cursorline" = { bg = "base6" }
+"ui.cursor" = { fg = "base1", bg = "base7", modifiers = ["reversed"] }
+"ui.cursor.primary" = { fg = "base1", bg = "base7", modifiers = ["reversed"] }
+"ui.cursor.match" = { fg = "base5", bg = "base3", modifiers = ["reversed"] }
+"ui.selection" = { bg = "base3" }
+"ui.selection.primary" = { fg = "base5", bg = "base3" }
+
+"ui.virtual" = { bg = "base6" }
+"ui.virtual.whitespace" = { bg = "base7" }
+
+"ui.linenr" = { bg = "base6" }
+"ui.linenr.selected" = { bg = "base6", modifiers = ["reversed"] }
+
+"ui.statusline" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
+"ui.statusline.normal" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
+"ui.statusline.insert" = { fg = "purple_text", bg = "purple_bg", modifiers = [
+ "bold",
+] }
+"ui.statusline.select" = { fg = "teal_text", bg = "teal_bg", modifiers = [
+ "bold",
+] }
+
+"ui.text" = { fg = "base1", bg = "base7" }
+"ui.text.focus" = { fg = "base1", bg = "base6", modifiers = ["bold"] }
+
+"ui.menu" = { fg = "base1", bg = "base6" }
+"ui.menu.selected" = { fg = "base1", bg = "base6", modifiers = ["reversed"] }
+"ui.menu.scroll" = { fg = "base1", bg = "base6" }
+"ui.help" = { fg = "base1", bg = "base7" }
+"ui.popup" = { fg = "base1", bg = "base7" }
+"ui.window" = { fg = "base1", bg = "base7" }
+
+"diff.plus" = { bg = "diff_add" }
+"diff.delta" = { bg = "diff_change" }
+"diff.minus" = { bg = "diff_delete" }
+
+[palette]
+base1 = "#605a52"
+base2 = "#93836c"
+base3 = "#b9a992"
+base4 = "#dcd3c6"
+base5 = "#e4ddd2"
+base6 = "#f1ece4"
+base7 = "#f7f3ee"
+accent = "#6a4cff"
+orange_text = "#5b5143"
+orange_text_sec = "#957f5f"
+orange_bg = "#f7e0c3"
+green_text = "#525643"
+green_text_sec = "#81895d"
+green_bg = "#e2e9c1"
+teal_text = "#465953"
+teal_text_sec = "#5f8c7d"
+teal_bg = "#d2ebe3"
+blue_text = "#4c5361"
+blue_text_sec = "#7382a0"
+blue_bg = "#dde4f2"
+purple_text = "#614c61"
+purple_text_sec = "#9c739c"
+purple_bg = "#f1ddf1"
+diff_add = "#2db448"
+diff_change = "#f2a60d"
+diff_change_dark = "#795306"
+diff_delete = "#ff1414"
+diff_renamed = "#52aeff"
+white = "#ffffff"