Skip to content

Commit 4e52d4d

Browse files
authored
feat(themes): improve fleetish (#4813)
Small adjustements to the fleetish theme to improve readability in certain cases. Specifically: - use darker background for menues as it (purely subjectively) loooks better - use different color for `constant.buildin.boolean` and `keyword` to make statements such as `return true` read better - use different colors for different markup link parts - destructure the config where appliable
1 parent f2a5533 commit 4e52d4d

File tree

1 file changed

+86
-79
lines changed

1 file changed

+86
-79
lines changed

runtime/themes/fleetish.toml

Lines changed: 86 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,116 @@
11
# Author: Kristoffer Flottorp <[email protected]>
22
# A take on the JetBrains Fleet theme sprinkled with some creative freedom
33

4-
"type" = { fg = "yellow" } # .builtin
5-
"constructor" = { fg = "yellow" }
6-
"constant" = { fg = "cyan" }
4+
"type" = "light_blue"
5+
"type.builtin" = "orange"
6+
"constructor" = "yellow"
7+
"constant" = "cyan"
78
# "constant.builtin" = {} # .boolean
8-
"constant.builtin.boolean" = { fg = "cyan" } # .boolean
9-
# "constant.character" = {} #.escape
10-
"constant.numeric" = { fg = "yellow" } # .integer / .float
11-
"string" = { fg = "pink" } # .regexp
12-
# "string.special" = {} #.path / .url / .symbol
13-
"string.special" = { modifiers = ["underlined"] } #.path / .url / .symbol
14-
"comment" = { fg = "dark_gray" } # .line
9+
"constant.builtin.boolean" = "yellow"
10+
"constant.character" = "yellow"
11+
"constant.characted.escape" = "light"
12+
"constant.numeric" = "yellow"
13+
"string" = "pink"
14+
"string.regexp" = "light"
15+
"string.special" = { fg = "yellow", modifiers = ["underlined"] } #.path / .url / .symbol
16+
"comment" = "light_gray" # .line
1517
# "comment.block" = {} # .documentation
16-
"variable" = { fg = "light" } # .builtin / .parameter
18+
"variable" = "light" # .builtin
19+
"variable.parameter" = "light"
1720
# "variable.other" = {} # .member
18-
"variable.other.member" = { fg = "purple" }
19-
"label" = { fg = "yellow" }
20-
# "punctuation" = {} # .delimiter / .bracket
21-
"keyword" = { fg = "cyan" } # .operator / .directive / .function
22-
# "keyword.control" = { fg = "orange" } # .conditional / .repeat / .import / .return / .exception
23-
"operator" = { fg = "light" }
24-
"function" = { fg = "blue" } # .builtin / .method / .macro / .special
25-
"function.macro" = { fg = "green" }
26-
"function.special" = { fg = "green" }
27-
"tag" = { fg = "green"}
28-
"special" = { fg = "green" }
29-
"namespace" = { fg = "light" }
30-
"markup" = { fg = "purple" } # .bold / .italic / .quote
31-
"markup.heading" = { fg = "light" } # .marker / .1 / .2 / .3 / .4 / .5 / .6
32-
"markup.heading.1" = { fg = "yellow" }
33-
"markup.heading.2" = { fg = "green" }
34-
"markup.heading.3" = { fg = "pink" }
35-
"markup.heading.4" = { fg = "purple" }
36-
"markup.heading.5" = { fg = "cyan" }
37-
"markup.heading.6" = { fg = "blue" }
38-
"markup.list" = { fg = "cyan" } # .unnumbered / .numbered
39-
"markup.link" = { fg = "green" } # .url / .label / .text
40-
"markup.raw" = { fg = "pink" } # .inline / .block
41-
# "diff" = {} # .plus / .minus
42-
"diff.plus" = { fg = "cyan" }
43-
"diff.minus" = { fg = "yellow" }
44-
"diff.delta" = { fg = "purple" } # .moved
21+
"variable.other.member" = "yellow"
22+
"label" = "yellow"
23+
"punctuation" = "light" # .delimiter / .bracket
24+
"keyword" = "cyan" # .operator / .directive / .function
25+
"keyword.control" = "yellow" # .conditional / .repeat / .import / .return / .exception
26+
"operator" = "light"
27+
"function" = "yellow"
28+
"function.macro" = "green"
29+
"function.builtin" = "green"
30+
"function.special" = "green"
31+
"function.method" = "light"
32+
"tag" = "green"
33+
"special" = "green"
34+
"namespace" = "light"
4535

4636
# used in theming
4737
# "markup.normal" = {} # .completion / .hover
48-
# "markup.heading" = {} # .completion / .hover
4938
# "markup.raw.inline" = {} # .completion / .hover
39+
"markup" = "purple" # .quote
40+
"markup.bold" = { fg = "purple", modifiers = ["bold"] }
41+
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
42+
"markup.heading" = "light" # .marker
43+
"markup.heading.1" = "yellow"
44+
"markup.heading.2" = "green"
45+
"markup.heading.3" = "pink"
46+
"markup.heading.4" = "purple"
47+
"markup.heading.5" = "cyan"
48+
"markup.heading.6" = "light_blue"
49+
"markup.list" = "cyan" # .unnumbered / .numbered
50+
"markup.link" = "green"
51+
"markup.link.url" = "pink"
52+
"markup.link.text" = "cyan"
53+
"markup.link.label" = "yellow"
54+
"markup.raw" = "pink" # .inline
55+
"markup.raw.block" = "orange"
56+
57+
"diff.plus" = "cyan"
58+
"diff.minus" = "yellow"
59+
"diff.delta" = "purple"
5060

5161
# ui specific
52-
"ui.background" = { bg = "darkest" } # .separator
62+
"ui.background" = { bg = "#0d0d0d" } # .separator
5363
"ui.cursor" = { bg = "dark_gray", modifiers = ["reversed"] } # .insert / .select / .match / .primary
5464
"ui.cursor.match" = { fg = "light", bg = "blue_accent" } # .insert / .select / .match / .primary
5565
"ui.cursorline" = { bg = "darker" }
56-
"ui.linenr" = { fg = "dark_gray" } # .selected
66+
"ui.linenr" = "dark_gray"
5767
"ui.linenr.selected" = { fg = "light_gray", bg = "darker" }
5868
"ui.statusline" = { fg = "light", bg = "darker" } # .inactive / .normal / .insert / .select
59-
"ui.statusline.inactive" = { fg = "dark", bg = "darker" } # .inactive / .normal / .insert / .select
60-
"ui.statusline.normal" = { fg = "lightest", bg = "darker"} # .inactive / .normal / .insert / .select
61-
"ui.statusline.insert" = { fg = "lightest", bg = "blue_accent" } # .inactive / .normal / .insert / .select
62-
"ui.statusline.select" = { fg = "lightest", bg = "orange_accent" } # .inactive / .normal / .insert / .select
63-
"ui.popup" = { fg = "light", bg = "dark" } # .info
69+
"ui.statusline.inactive" = { fg = "dark", bg = "darker" }
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+
"ui.popup" = { fg = "light", bg = "darkest" } # .info
6474
"ui.window" = { fg = "dark", bg = "darkest" }
65-
"ui.help" = { fg = "light", bg = "dark" }
66-
"ui.text" = { fg = "light" } # .focus / .info
67-
"ui.virtual" = { fg = "dark" } # .ruler / .whitespace
75+
"ui.help" = { fg = "light", bg = "darkest" }
76+
"ui.text" = "light" # .focus / .info
77+
"ui.virtual" = "dark" # .whitespace
6878
"ui.virtual.ruler" = { bg = "darker"}
69-
"ui.menu" = { fg = "light", bg = "dark" } # .selected
79+
"ui.menu" = { fg = "light", bg = "darker" } # .selected
7080
"ui.menu.selected" = { fg = "lightest", bg = "blue_accent" } # .selected
7181
"ui.selection" = { bg = "darker" } # .primary
7282
"ui.selection.primary" = { bg = "select" } # .primary
73-
"hint" = { fg = "blue_accent"}
74-
"info" = { fg = "yellow_accent" }
75-
"warning" = { fg = "orange_accent" }
76-
"error" = { fg = "diff_red_accent" }
77-
"diagnostic". underline = { style = "curl" }
83+
"hint" = "blue"
84+
"info" = "yellow_accent"
85+
"warning" = "orange_accent"
86+
"error" = "red"
87+
"diagnostic" = { modifiers = [] }
88+
"diagnostic.hint" = { underline = { color = "light", style = "curl" } }
89+
"diagnostic.info" = { underline = { color = "blue", style = "curl" } }
90+
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
91+
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
7892

7993
[palette]
80-
darkest = "#0F0F0F"
81-
darker = "#222222"
82-
dark = "#383838"
83-
select = "#102F5B"
94+
darkest = "#1e1e1e"
95+
darker = "#262626"
96+
dark = "#898989"
97+
select = "#102f5b"
8498

85-
light = "#F0F0F0"
86-
lightest = "#FFFFFF"
99+
light = "#d6d6dd"
100+
lightest = "#ffffff"
87101

88-
dark_gray = "#5B5B5B"
89-
light_gray = "#757575"
90-
purple = "#AC9CF9"
91-
blue = "#52A7F6" #"#94C1FA"
92-
pink = "#D898D8"
93-
green = "#AFCB85"
94-
cyan = "#78D0BD"
95-
orange = "#ECA775"
96-
yellow = "#E5C995"
102+
dark_gray = "#535353"
103+
light_gray = "#6d6d6d"
104+
purple = "#a390f0"
105+
light_blue = "#7dbeff"
106+
blue = "#52a7f6"
107+
pink = "#d898d8"
108+
green = "#afcb85"
109+
cyan = "#78d0bd"
110+
orange = "#efb080"
111+
yellow = "#e5c995"
112+
red = "#f44747"
97113

98-
purple_accent = "#6363EE"
99114
blue_accent = "#2197F3"
100115
pink_accent = "#E44C7A"
101116
green_accent = "#00AF99"
@@ -104,11 +119,3 @@ yellow_accent = "#DEA407"
104119

105120
# variables intended for future updates
106121
checkmark = "#44B254"
107-
108-
diff_blue_accent = "#0079FF"
109-
diff_blue_bg = "#072037"
110-
diff_blue_fg = "#0079FF"
111-
112-
diff_red_accent = "#EE113C"
113-
diff_red_bg = "#390B14"
114-
diff_red_fg = "#EC123B"

0 commit comments

Comments
 (0)