on master help sign in
Flatwhite Theme (#3236)
commite405e88c86ecf98ff432e7b95a0147ca3de97e3a authorAlexander Brevig <alexanderbrevig@gmail.com> dateSat 30 Jul 2022, 19:35 (4 years ago) parent919edfb
1 file changed+112
runtime/themes/flatwhite.toml+112
runtime/themes/flatwhite.tomlnew file+112
@@ -0,0 +1,112 @@
1+# Author: Alexander Brevig <alexanderbrevig@gmail.com>
2+# Adopted from https://github.com/biletskyy/flatwhite-syntax
3+
4+"attribute" = { fg = "blue_text", bg = "blue_bg" }
5+"comment" = { fg = "base3", bg = "base7", modifiers = ["italic"] }
6+"comment.line" = {}
7+"comment.block" = {}
8+"comment.block.documentation" = { fg = "base2" }
9+"constant" = { fg = "blue_text", bg = "blue_bg" }
10+"constructor" = { fg = "base1", bg = "base7" }
11+"function" = { fg = "base1", bg = "base7", modifiers = ["bold"] }
12+"keyword" = { fg = "purple_text", bg = "purple_bg" }
13+"label" = { modifiers = ["bold"] }
14+"namespace" = { fg = "teal_text", bg = "teal_bg" }
15+"operator" = { fg = "base1", bg = "base7" }
16+"property" = { fg = "blue_text", bg = "blue_bg" }
17+"punctuation.bracket" = { modifiers = ["bold"] }
18+"special" = { fg = "blue_text", bg = "blue_bg" }
19+"string" = { fg = "green_text", bg = "green_bg" }
20+"type" = { fg = "base1", bg = "base7" }
21+"variable" = { fg = "base1", bg = "base7" }
22+"variable.parameter" = { fg = "blue_text", bg = "blue_bg" }
23+
24+"diagnostic" = { modifiers = ["underlined"] }
25+"info" = { fg = "orange_text", bg = "orange_bg" }
26+"hint" = { modifiers = ["bold"] }
27+"warning" = { fg = "orange_text", bg = "orange_bg" }
28+"error" = { fg = "diff_delete", bg = "base7" }
29+
30+"markup.heading" = { fg = "purple_text", bg = "purple_bg", modifiers = [
31+ "bold",
32+] }
33+"markup.raw" = { fg = "orange_text", bg = "orange_bg" }
34+"markup.raw.inline" = { fg = "orange_text", bg = "orange_bg" }
35+"markup.raw.block" = { fg = "orange_text", bg = "orange_bg" }
36+"markup.italic" = { modifiers = ["italic"] }
37+"markup.link.url" = { fg = "blue_text", bg = "blue_bg", modifiers = [
38+ "underlined",
39+] }
40+"markup.link.label" = { fg = "blue_text", bg = "blue_bg" }
41+"markup.link.text" = { fg = "blue_text", bg = "blue_bg" }
42+"markup.quote" = { fg = "teal_text", bg = "teal_bg" }
43+"markup.bold" = { modifiers = ["bold"] }
44+"markup.list" = { fg = "purple_text", bg = "purple_bg" }
45+
46+"ui.background" = { fg = "base1", bg = "base7" }
47+"ui.cursorline" = { bg = "base6" }
48+"ui.cursor" = { fg = "base1", bg = "base7", modifiers = ["reversed"] }
49+"ui.cursor.primary" = { fg = "base1", bg = "base7", modifiers = ["reversed"] }
50+"ui.cursor.match" = { fg = "base5", bg = "base3", modifiers = ["reversed"] }
51+"ui.selection" = { bg = "base3" }
52+"ui.selection.primary" = { fg = "base5", bg = "base3" }
53+
54+"ui.virtual" = { bg = "base6" }
55+"ui.virtual.whitespace" = { bg = "base7" }
56+
57+"ui.linenr" = { bg = "base6" }
58+"ui.linenr.selected" = { bg = "base6", modifiers = ["reversed"] }
59+
60+"ui.statusline" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
61+"ui.statusline.normal" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
62+"ui.statusline.insert" = { fg = "purple_text", bg = "purple_bg", modifiers = [
63+ "bold",
64+] }
65+"ui.statusline.select" = { fg = "teal_text", bg = "teal_bg", modifiers = [
66+ "bold",
67+] }
68+
69+"ui.text" = { fg = "base1", bg = "base7" }
70+"ui.text.focus" = { fg = "base1", bg = "base6", modifiers = ["bold"] }
71+
72+"ui.menu" = { fg = "base1", bg = "base6" }
73+"ui.menu.selected" = { fg = "base1", bg = "base6", modifiers = ["reversed"] }
74+"ui.menu.scroll" = { fg = "base1", bg = "base6" }
75+"ui.help" = { fg = "base1", bg = "base7" }
76+"ui.popup" = { fg = "base1", bg = "base7" }
77+"ui.window" = { fg = "base1", bg = "base7" }
78+
79+"diff.plus" = { bg = "diff_add" }
80+"diff.delta" = { bg = "diff_change" }
81+"diff.minus" = { bg = "diff_delete" }
82+
83+[palette]
84+base1 = "#605a52"
85+base2 = "#93836c"
86+base3 = "#b9a992"
87+base4 = "#dcd3c6"
88+base5 = "#e4ddd2"
89+base6 = "#f1ece4"
90+base7 = "#f7f3ee"
91+accent = "#6a4cff"
92+orange_text = "#5b5143"
93+orange_text_sec = "#957f5f"
94+orange_bg = "#f7e0c3"
95+green_text = "#525643"
96+green_text_sec = "#81895d"
97+green_bg = "#e2e9c1"
98+teal_text = "#465953"
99+teal_text_sec = "#5f8c7d"
100+teal_bg = "#d2ebe3"
101+blue_text = "#4c5361"
102+blue_text_sec = "#7382a0"
103+blue_bg = "#dde4f2"
104+purple_text = "#614c61"
105+purple_text_sec = "#9c739c"
106+purple_bg = "#f1ddf1"
107+diff_add = "#2db448"
108+diff_change = "#f2a60d"
109+diff_change_dark = "#795306"
110+diff_delete = "#ff1414"
111+diff_renamed = "#52aeff"
112+white = "#ffffff"