aboutsummaryrefslogtreecommitdiff
path: root/runtime/themes/flatwhite.toml
blob: 1743012b980baacd355040f2416186a8c1b676b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Author: Alexander Brevig <alexanderbrevig@gmail.com>, krfl <kr.fl@outlook.com>
# Adopted from https://github.com/biletskyy/flatwhite-syntax

"attribute" = { fg = "blue_text", bg = "blue_bg" }
"comment" = { fg = "base3", modifiers = ["italic"] }
"comment.line" = {}
"comment.block" = {}
"comment.block.documentation" = { fg = "base2" }
"constant" = { fg = "blue_text", bg = "blue_bg" }
"constructor" = { fg = "base1" }
"function" = { fg = "base1", modifiers = ["bold"] }
"keyword" = { fg = "purple_text", bg = "purple_bg" }
"label" = { modifiers = ["bold"] }
"namespace" = { fg = "teal_text", bg = "teal_bg" }
"operator" = { fg = "base1" }
"punctuation.bracket" = { modifiers = ["bold"] }
"special" = { fg = "blue_text", bg = "blue_bg" }
"string" = { fg = "green_text", bg = "green_bg" }
"type" = { fg = "base1" }
"variable" = { fg = "base1" }
"variable.parameter" = { fg = "blue_text", bg = "blue_bg" }

"diagnostic" = { modifiers = ["underlined"] }

"diagnostic.info" = { underline = { color = "orange_text", style = "curl" } }
"diagnostic.warning" = { underline = { color = "orange_text", style = "curl" } }
"diagnostic.error" = { underline = { color = "diff_delete", style = "curl" } }

"info" = { fg = "orange_text", bg = "orange_bg" }
"hint" = { modifiers = ["bold"] }
"warning" = { fg = "orange_text", bg = "orange_bg" }
"error" = { fg = "diff_delete" }

"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 = "base4" }
"ui.selection.primary" = { fg = "base6", bg = "base2" }

"ui.virtual" = { fg = "base5", bg = "base6" }
"ui.virtual.whitespace" = { fg = "base5" }
"ui.virtual.ruler" = { bg = "base6" }

"ui.linenr" = { bg = "base6" }
"ui.linenr.selected" = { bg = "base6", modifiers = ["reversed"] }

"ui.statusline" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
"ui.statusline.inactive" = { fg = "base7", bg = "base3" }
"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" }
"ui.text.focus" = { fg = "base1", 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 = "base6" }
"ui.popup" = { fg = "base1", bg = "base6" }
"ui.window" = { fg = "base1", bg = "base6" }

"diff.plus" = { fg = "diff_add" }
"diff.delta" = { fg = "diff_change" }
"diff.minus" = { fg = "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"