Skip to content

Commit 9da5b1d

Browse files
usagi-flowSoraTenshi
authored and
Shekhinah Memmel
committed
feat(themes): add mode-specific styles to the tokyonight themes (helix-editor#4415)
Co-authored-by: SoraTenshi <[email protected]>
1 parent 3a7ac80 commit 9da5b1d

File tree

2 files changed

+4
-81
lines changed

2 files changed

+4
-81
lines changed

runtime/themes/tokyonight.toml

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"ui.selection.primary" = { bg = "background_highlight" }
4242
"ui.statusline" = { fg = "foreground", bg = "background_menu" }
4343
"ui.statusline.inactive" = { fg = "foreground_gutter", bg = "background_menu" }
44+
"ui.statusline.normal" = { fg = "black", bg = "blue" }
45+
"ui.statusline.insert" = { fg = "black", bg = "green" }
46+
"ui.statusline.select" = { fg = "black", bg = "magenta" }
4447
"ui.text" = { fg = "foreground" }
4548
"ui.text.focus" = { fg = "cyan" }
4649
"ui.virtual.ruler" = { bg = "foreground_gutter" }

runtime/themes/tokyonight_storm.toml

+1-81
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,6 @@
11
# Author: Paul Graydon <[email protected]>
22

3-
"comment" = { fg = "comment", modifiers = ["italic"] }
4-
"constant" = { fg = "orange" }
5-
"constant.character.escape" = { fg = "magenta" }
6-
"function" = { fg = "blue", modifiers = ["italic"] }
7-
"function.macro" = { fg = "cyan" }
8-
"keyword" = { fg = "cyan", modifiers = ["italic"] }
9-
"keyword.control" = { fg = "magenta" }
10-
"keyword.control.import" = { fg = "cyan" }
11-
"keyword.operator" = { fg = "turquoise" }
12-
"keyword.function" = { fg = "magenta", modifiers = ["italic"] }
13-
"operator" = { fg = "turquoise" }
14-
"punctuation" = { fg = "turquoise" }
15-
"string" = { fg = "light-green" }
16-
"string.regexp" = { fg = "light-blue" }
17-
"tag" = { fg = "red" }
18-
"type" = { fg = "teal" }
19-
"namespace" = { fg = "blue" }
20-
"variable" = { fg = "white" }
21-
"variable.builtin" = { fg = "red" }
22-
"variable.other.member" = { fg = "green" }
23-
"variable.parameter" = { fg = "yellow", modifiers = ["italic"] }
24-
25-
"diff.plus" = { fg = "green" }
26-
"diff.delta" = { fg = "orange" }
27-
"diff.minus" = { fg = "red" }
28-
29-
"ui.background" = { fg = "foreground", bg = "background" }
30-
"ui.cursor" = { modifiers = ["reversed"] }
31-
"ui.cursor.match" = { fg = "orange", modifiers = ["bold"] }
32-
"ui.cursor.primary" = { modifiers = ["reversed"] }
33-
"ui.cursorline.primary" = { bg = "background_menu" }
34-
"ui.help" = { fg = "foreground", bg = "background_menu" }
35-
"ui.linenr" = { fg = "foreground_gutter" }
36-
"ui.linenr.selected" = { fg = "foreground" }
37-
"ui.menu" = { fg = "foreground", bg = "background_menu" }
38-
"ui.menu.selected" = { bg = "background_highlight" }
39-
"ui.popup" = { fg = "foreground", bg = "background_menu" }
40-
"ui.selection" = { bg = "background_highlight" }
41-
"ui.selection.primary" = { bg = "background_highlight" }
42-
"ui.statusline" = { fg = "foreground", bg = "background_menu" }
43-
"ui.statusline.inactive" = { fg = "foreground_gutter", bg = "background_menu" }
44-
"ui.text" = { fg = "foreground" }
45-
"ui.text.focus" = { fg = "cyan" }
46-
"ui.virtual.ruler" = { bg = "foreground_gutter" }
47-
"ui.virtual.whitespace" = { fg = "foreground_gutter" }
48-
"ui.window" = { fg = "black" }
49-
50-
"error" = { fg = "red" }
51-
"warning" = { fg = "yellow" }
52-
"info" = { fg = "blue" }
53-
"hint" = { fg = "teal" }
54-
"diagnostic" = { modifiers = ["underlined"] }
55-
"special" = { fg = "orange" }
56-
57-
"markup.heading" = { fg = "cyan", modifiers = ["bold"] }
58-
"markup.list" = { fg = "cyan" }
59-
"markup.bold" = { fg = "orange", modifiers = ["bold"] }
60-
"markup.italic" = { fg = "yellow", modifiers = ["italic"] }
61-
"markup.link.url" = { fg = "green" }
62-
"markup.link.text" = { fg = "light-gray" }
63-
"markup.quote" = { fg = "yellow", modifiers = ["italic"] }
64-
"markup.raw" = { fg = "cyan" }
3+
inherits = "tokyonight"
654

665
"ui.explorer.file" = { fg = "foreground" }
676
"ui.explorer.dir" = { fg = "blue" }
@@ -70,25 +9,6 @@
709
"ui.explorer.unfocus" = { bg = "background_highlight" }
7110

7211
[palette]
73-
red = "#f7768e"
74-
orange = "#ff9e64"
75-
yellow = "#e0af68"
76-
light-green = "#9ece6a"
77-
green = "#73daca"
78-
turquoise = "#89ddff"
79-
light-cyan = "#b4f9f8"
80-
teal = "#2ac3de"
81-
cyan = "#7dcfff"
82-
blue = "#7aa2f7"
83-
magenta = "#bb9af7"
84-
white = "#c0caf5"
85-
light-gray = "#9aa5ce"
86-
parameters = "#cfc9c2"
87-
comment = "#565f89"
88-
black = "#414868"
89-
foreground = "#a9b1d6"
90-
foreground_highlight = "#c0caf5"
91-
foreground_gutter = "#3b4261"
9212
background = "#24283b"
9313
background_highlight = "#373d5a"
9414
background_menu = "#1f2335"

0 commit comments

Comments
 (0)