on master help sign in
Make `fleet-dark` accurate to the official theme (#5605)
commitfb149133db1269f14bc37ef8583fc762e7f19781 authorKirawi <67773714+kirawi@users.noreply.github.com> dateMon 6 Feb 2023, 18:47 (4 years ago) parent7f6a91f
1 file changed+142−109
runtime/themes/fleet_dark.toml+142−109
runtime/themes/fleet_dark.toml+142−109
@@ -4,128 +4,161 @@
44# Original author: @krfl
55# Contributors:
66# @matoous
7+# @kirawi
78
8−"attribute" = "green"
9−"type" = "light_blue"
10−"type.enum.variant" = "purple"
11−"constructor" = "yellow"
12−"constant" = "cyan"
9+"attribute" = "Lime"
10+
11+"type" = "Blue"
12+"type.return" = "Blue Light"
13+"type.parameter" = "Blue Light"
14+"constructor" = "Yellow"
15+
16+"constant" = "Violet"
1317# "constant.builtin" = {} # .boolean
14−"constant.builtin.boolean" = "yellow"
15−"constant.character" = "yellow"
16−"constant.characted.escape" = "light"
17−"constant.numeric" = "yellow"
18−"string" = "pink"
19−"string.regexp" = "light"
20−"string.special" = { fg = "yellow", modifiers = ["underlined"] } #.path / .url / .symbol
21−"comment" = "light_gray" # .line
18+"constant.builtin.boolean" = "Cyan"
19+"constant.character" = "Yellow"
20+"constant.character.escape" = "Cyan"
21+"constant.numeric" = "Yellow"
22+"string" = "Pink"
23+"string.regexp" = "Cyan"
24+"string.special" = { fg = "Yellow", modifiers = ["underlined"] } #.path / .url / .symbol
25+
26+"comment" = "Gray 90" # .line
2227# "comment.block" = {} # .documentation
23−"variable" = "light" # .builtin
24−"variable.builtin" = { fg = "red", modifiers = ["underlined"] }
25−"variable.parameter" = "light"
28+"variable" = "Gray 120" # .builtin
29+"variable.builtin" = { fg = "Coral" }
2630# "variable.other" = {} # .member
27−"variable.other.member" = "purple"
28−"label" = "yellow"
29−"punctuation" = "light" # .delimiter / .bracket
30−"keyword" = "cyan" # .operator / .directive / .function
31−# "keyword.control" = "cyan" # .conditional / .repeat / .import / .return / .exception
32−"keyword.control.exception" = "purple"
33−"operator" = "light"
34−"function" = "yellow"
35−"function.macro" = "green"
36−"function.builtin" = "green"
37−"function.special" = "green"
38−"function.method" = "light"
31+"variable.other.member" = "Violet"
32+"label" = "Yellow"
33+"keyword" = "Cyan" # .operator / .directive / .function
34+"function" = "Yellow"
35+"function.declaration" = "#EFEFEF"
36+"function.macro" = "Lime"
37+"function.builtin" = "Lime"
38+"function.special" = "Lime"
3939#"function.declaration.method" = { fg = "lightest", modifiers = ["bold"] } #depends on #4892
40−"tag" = "light_blue"
41−"special" = "green"
42−"namespace" = "light"
40+"tag" = "Blue"
41+"special" = "Lime"
42+"namespace" = "Blue"
4343
4444# used in theming
4545# "markup" = {} # .normal / .quote / .raw
4646# "markup.normal" = {} # .completion / .hover
47−"markup.bold" = { fg = "lightest", modifiers = ["bold"] }
47+"markup.bold" = { modifiers = ["bold"] }
4848"markup.italic" = { modifiers = ["italic"] }
4949"markup.strikethrough" = { modifiers = ["crossed_out"] }
50−"markup.heading" = { fg = "cyan", modifiers = ["bold"] } # .marker / .1 / .2 / .3 / .4 / .5 / .6
51−"markup.list" = "pink" # .unnumbered / .numbered
52−"markup.list.numbered" = "cyan"
53−"markup.list.unnumbered" = "cyan"
50+"markup.heading" = { fg = "Cyan", modifiers = ["bold"] } # .marker / .1 / .2 / .3 / .4 / .5 / .6
51+"markup.list" = "Pink" # .unnumbered / .numbered
52+"markup.list.numbered" = "Cyan"
53+"markup.list.unnumbered" = "Cyan"
5454# "markup.link" = "green"
55−"markup.link.url" = { fg = "pink", modifiers = ['italic', 'underlined'] }
56−"markup.link.text" = "cyan"
57−"markup.link.label" = "purple"
58−"markup.quote" = "pink"
59−"markup.raw" = "pink"
60−"markup.raw.inline" = "cyan" # .completion / .hover
61−"markup.raw.block" = "pink"
62−
63−"diff.plus" = "diff_plus"
64−"diff.minus" = "red_accent"
65−"diff.delta" = "blue_accent"
55+"markup.link.url" = { fg = "Pink", modifiers = ['italic', 'underlined'] }
56+"markup.link.text" = "Cyan"
57+"markup.link.label" = "Purple 20"
58+"markup.quote" = "Pink"
59+"markup.raw" = "Pink"
60+"markup.raw.inline" = "Cyan" # .completion / .hover
61+"markup.raw.block" = "#EB83E2"
62+
63+"diff.plus" = "Green 50"
64+"diff.minus" = "Red 50"
65+"diff.delta" = "Blue 80"
6666
6767# ui specific
68−"ui.background" = { bg = "background" } # .separator
69−"ui.cursor" = { bg = "dark_gray", modifiers = ["reversed"] } # .insert / .select / .match / .primary
70−"ui.cursor.match" = { fg = "light", bg = "selection" } # .insert / .select / .match / .primary
71−"ui.cursorline" = { bg = "darker" }
72−"ui.linenr" = "dark_gray"
73−"ui.linenr.selected" = { fg = "light", bg = "darker" }
74−"ui.statusline" = { fg = "light", bg = "darker" } # .inactive / .normal / .insert / .select
75−"ui.statusline.inactive" = { fg = "dark", bg = "darker" }
76−"ui.statusline.normal" = { fg = "lightest", bg = "darker"}
77−"ui.statusline.insert" = { fg = "lightest", bg = "blue_accent" }
78−"ui.statusline.select" = { fg = "lightest", bg = "orange_accent" }
79−"ui.popup" = { fg = "light", bg = "darkest" } # .info
80−"ui.window" = { fg = "dark", bg = "darkest" }
81−"ui.help" = { fg = "light", bg = "darkest" }
82−"ui.text" = "light" # .focus / .info
83−"ui.text.focus" = { fg = "lightest", bg = "focus" }
84−"ui.virtual" = "dark" # .whitespace
85−"ui.virtual.ruler" = { bg = "darker"}
86−"ui.menu" = { fg = "light", bg = "darkest" } # .selected
87−"ui.menu.selected" = { fg = "lightest", bg = "focus" } # .selected
88−"ui.selection" = { bg = "darker" } # .primary
89−"ui.selection.primary" = { bg = "selection" }
90−"hint" = "blue"
91−"info" = "yellow_accent"
92−"warning" = "orange_accent"
93−"error" = "red_error"
94−"diagnostic" = { modifiers = [] }
95−"diagnostic.hint" = { underline = { color = "light", style = "curl" } }
96−"diagnostic.info" = { underline = { color = "blue_accent", style = "curl" } }
97−"diagnostic.warning" = { underline = { color = "yellow_accent", style = "curl" } }
98−"diagnostic.error" = { underline = { color = "red_error", style = "curl" } }
68+"ui.background" = { bg = "Gray 10" } # .separator
69+"ui.statusline" = { fg = "Gray 120", bg = "Gray 10" } # .inactive / .normal / .insert / .select
70+# "ui.statusline.normal" = { fg = "lightest", bg = "darker"}
71+# "ui.statusline.insert" = { fg = "lightest", bg = "blue_accent" }
72+# "ui.statusline.select" = { fg = "lightest", bg = "orange_accent" }
73+
74+"ui.cursor" = { modifiers = ["reversed"] } # .insert / .select / .match / .primary
75+"ui.cursor.match" = { bg = "Blue 30" } # .insert / .select / .match / .primary
76+"ui.selection" = { bg = "Gray 50" } # .primary
77+"ui.selection.primary" = { bg = "Blue 40" }
78+
79+"ui.cursorline" = { bg = "Gray 20" }
80+"ui.linenr" = "Gray 70"
81+"ui.linenr.selected" = "Gray 110"
82+
83+"ui.popup" = { fg = "Gray 120", bg = "Gray 20" } # .info
84+"ui.window" = { fg = "Gray 50" }
85+"ui.help" = { fg = "Gray 120", bg = "Gray 20" }
86+"ui.menu" = { fg = "Gray 120", bg = "Gray 20" } # .selected
87+"ui.menu.selected" = { fg = "White", bg = "Blue 40" } # .selected
88+# Calculated as #ffffff with 30% opacity
89+"ui.menu.scroll" = { fg = "#dfdfdf" }
90+
91+"ui.text" = "Gray 120" # .focus / .info
92+"ui.text.focus" = { fg = "White", bg = "Blue 40" }
93+
94+"ui.virtual" = "Gray 80" # .whitespace
95+# "ui.virtual.ruler" = { bg = "darker"}
96+
97+"hint" = "Gray 80"
98+"info" = "#A366C4"
99+"warning" = "#FACb66"
100+"error" = "#FF5269"
101+
102+"diagnostic.hint" = { underline = { color = "Gray 80", style = "line" } }
103+"diagnostic.info" = { underline = { color = "#A366C4", style = "line" } }
104+"diagnostic.warning" = { underline = { color = "#FACB66", style = "line" } }
105+"diagnostic.error" = { underline = { color = "#FF5269", style = "line" } }
99106
100107[palette]
101−background = "#181818"
102−darkest = "#1e1e1e"
103−darker = "#292929"
104−dark = "#898989"
105−
106−light = "#d6d6dd"
107−lightest = "#ffffff"
108−
109−dark_gray = "#535353"
110−light_gray = "#6d6d6d"
111−purple = "#a390f0"
112−light_blue = "#7dbeff"
113−blue = "#52a7f6"
114−pink = "#d898d8"
115−green = "#afcb85"
116−cyan = "#78d0bd"
117−orange = "#efb080"
118−yellow = "#e5c995"
119−red = "#CC7C8A"
120−
121−blue_accent = "#2197F3"
122−pink_accent = "#E44C7A"
123−green_accent = "#00AF99"
124−orange_accent = "#EE7F25"
125−yellow_accent = "#DEA407"
126−red_accent = "#F44747"
127−
128−red_error = "#EB5F6A"
129−selection = "#1F3661"
130−diff_plus = "#5A9F81"
131−focus = "#204474"
108+"White" = "#ffffff"
109+"Gray 120" = "#d1d1d1"
110+"Gray 110" = "#c2c2c2"
111+"Gray 100" = "#a0a0a0"
112+"Gray 90" = "#898989"
113+"Gray 80" = "#767676"
114+"Gray 70" = "#5d5d5d"
115+"Gray 60" = "#484848"
116+"Gray 50" = "#383838"
117+"Gray 40" = "#333333"
118+"Gray 30" = "#2d2d2d"
119+"Gray 20" = "#292929"
120+"Gray 10" = "#181818"
121+"Black" = "#000000"
122+"Blue 110" = "#6daaf7"
123+"Blue 100" = "#4d9bf8"
124+"Blue 90" = "#3691f9"
125+"Blue 80" = "#1a85f6"
126+"Blue 70" = "#0273eb"
127+"Blue 60" = "#0c6ddd"
128+"Blue 50" = "#195eb5"
129+"Blue 40" = "#194176"
130+"Blue 30" = "#163764"
131+"Blue 20" = "#132c4f"
132+"Blue 10" = "#0b1b32"
133+"Red 80" = "#ec7388"
134+"Red 70" = "#ea4b67"
135+"Red 60" = "#d93953"
136+"Red 50" = "#ce364d"
137+"Red 40" = "#c03248"
138+"Red 30" = "#a72a3f"
139+"Red 20" = "#761b2d"
140+"Red 10" = "#390813"
141+"Green 50" = "#4ca988"
142+"Green 40" = "#3ea17f"
143+"Green 30" = "#028764"
144+"Green 20" = "#134939"
145+"Green 10" = "#081f19"
146+"Yellow 60" = "#f8ab17"
147+"Yellow 50" = "#e1971b"
148+"Yellow 40" = "#b5791f"
149+"Yellow 30" = "#7c511a"
150+"Yellow 20" = "#5a3a14"
151+"Yellow 10" = "#281806"
152+"Purple 20" = "#c07bf3"
153+"Purple 10" = "#b35def"
154+
155+"Blue" = "#87C3FF"
156+"Blue Light" = "#ADD1DE"
157+"Coral" = "#CC7C8A"
158+"Cyan" = "#82D2CE"
159+"Cyan Dark" = "#779E9E"
160+"Lime" = "#A8CC7C"
161+"Orange" = "#E09B70"
162+"Pink" = "#E394DC"
163+"Violet" = "#AF9CFF"
164+"Yellow" = "#EBC88D"