Skip to content

Commit 765555b

Browse files
authored
fix Tokyonight Moon theme color (#1125)
Previously, this doesn't follow the Moon pallette
1 parent b2d512f commit 765555b

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed

themes/nu-themes/tokyo-moon.nu

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
11
# Retrieve the theme settings
22
export def main [] {
33
return {
4-
separator: "#a9b1d6"
4+
separator: "#828bb8"
55
leading_trailing_space_bg: { attr: "n" }
6-
header: { fg: "#9ece6a" attr: "b" }
7-
empty: "#7aa2f7"
8-
bool: {|| if $in { "#7dcfff" } else { "light_gray" } }
9-
int: "#a9b1d6"
6+
header: { fg: "#c3e88d" attr: "b" }
7+
empty: "#82aaff"
8+
bool: {|| if $in { "#86e1fc" } else { "light_gray" } }
9+
int: "#828bb8"
1010
filesize: {|e|
1111
if $e == 0b {
12-
"#a9b1d6"
12+
"#828bb8"
1313
} else if $e < 1mb {
14-
"#7dcfff"
15-
} else {{ fg: "#7aa2f7" }}
14+
"#86e1fc"
15+
} else {{ fg: "#82aaff" }}
1616
}
17-
duration: "#a9b1d6"
17+
duration: "#828bb8"
1818
datetime: {|| (date now) - $in |
1919
if $in < 1hr {
20-
{ fg: "#f7768e" attr: "b" }
20+
{ fg: "#ff757f" attr: "b" }
2121
} else if $in < 6hr {
22-
"#f7768e"
22+
"#ff757f"
2323
} else if $in < 1day {
24-
"#e0af68"
24+
"#ffc777"
2525
} else if $in < 3day {
26-
"#9ece6a"
26+
"#c3e88d"
2727
} else if $in < 1wk {
28-
{ fg: "#9ece6a" attr: "b" }
28+
{ fg: "#c3e88d" attr: "b" }
2929
} else if $in < 6wk {
30-
"#7dcfff"
30+
"#86e1fc"
3131
} else if $in < 52wk {
32-
"#7aa2f7"
32+
"#82aaff"
3333
} else { "dark_gray" }
3434
}
35-
range: "#a9b1d6"
36-
float: "#a9b1d6"
37-
string: "#a9b1d6"
38-
nothing: "#a9b1d6"
39-
binary: "#a9b1d6"
40-
cell-path: "#a9b1d6"
41-
row_index: { fg: "#9ece6a" attr: "b" }
42-
record: "#a9b1d6"
43-
list: "#a9b1d6"
44-
block: "#a9b1d6"
35+
range: "#828bb8"
36+
float: "#828bb8"
37+
string: "#828bb8"
38+
nothing: "#828bb8"
39+
binary: "#828bb8"
40+
cell-path: "#828bb8"
41+
row_index: { fg: "#c3e88d" attr: "b" }
42+
record: "#828bb8"
43+
list: "#828bb8"
44+
block: "#828bb8"
4545
hints: "dark_gray"
46-
search_result: { fg: "#f7768e" bg: "#a9b1d6" }
46+
search_result: { fg: "#f7768e" bg: "#828bb8" }
4747

48-
shape_and: { fg: "#bb9af7" attr: "b" }
49-
shape_binary: { fg: "#bb9af7" attr: "b" }
50-
shape_block: { fg: "#7aa2f7" attr: "b" }
51-
shape_bool: "#7dcfff"
52-
shape_custom: "#9ece6a"
53-
shape_datetime: { fg: "#7dcfff" attr: "b" }
54-
shape_directory: "#7dcfff"
55-
shape_external: "#7dcfff"
56-
shape_externalarg: { fg: "#9ece6a" attr: "b" }
57-
shape_filepath: "#7dcfff"
58-
shape_flag: { fg: "#7aa2f7" attr: "b" }
59-
shape_float: { fg: "#bb9af7" attr: "b" }
48+
shape_and: { fg: "#c099ff" attr: "b" }
49+
shape_binary: { fg: "#c099ff" attr: "b" }
50+
shape_block: { fg: "#82aaff" attr: "b" }
51+
shape_bool: "#86e1fc"
52+
shape_custom: "#c3e88d"
53+
shape_datetime: { fg: "#86e1fc" attr: "b" }
54+
shape_directory: "#86e1fc"
55+
shape_external: "#86e1fc"
56+
shape_externalarg: { fg: "#c3e88d" attr: "b" }
57+
shape_filepath: "#86e1fc"
58+
shape_flag: { fg: "#82aaff" attr: "b" }
59+
shape_float: { fg: "#c099ff" attr: "b" }
6060
shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" }
61-
shape_globpattern: { fg: "#7dcfff" attr: "b" }
62-
shape_int: { fg: "#bb9af7" attr: "b" }
63-
shape_internalcall: { fg: "#7dcfff" attr: "b" }
64-
shape_list: { fg: "#7dcfff" attr: "b" }
65-
shape_literal: "#7aa2f7"
66-
shape_match_pattern: "#9ece6a"
61+
shape_globpattern: { fg: "#86e1fc" attr: "b" }
62+
shape_int: { fg: "#c099ff" attr: "b" }
63+
shape_internalcall: { fg: "#86e1fc" attr: "b" }
64+
shape_list: { fg: "#86e1fc" attr: "b" }
65+
shape_literal: "#82aaff"
66+
shape_match_pattern: "#c3e88d"
6767
shape_matching_brackets: { attr: "u" }
68-
shape_nothing: "#7dcfff"
69-
shape_operator: "#e0af68"
70-
shape_or: { fg: "#bb9af7" attr: "b" }
71-
shape_pipe: { fg: "#bb9af7" attr: "b" }
72-
shape_range: { fg: "#e0af68" attr: "b" }
73-
shape_record: { fg: "#7dcfff" attr: "b" }
74-
shape_redirection: { fg: "#bb9af7" attr: "b" }
75-
shape_signature: { fg: "#9ece6a" attr: "b" }
76-
shape_string: "#9ece6a"
77-
shape_string_interpolation: { fg: "#7dcfff" attr: "b" }
78-
shape_table: { fg: "#7aa2f7" attr: "b" }
79-
shape_variable: "#bb9af7"
68+
shape_nothing: "#86e1fc"
69+
shape_operator: "#ffc777"
70+
shape_or: { fg: "#c099ff" attr: "b" }
71+
shape_pipe: { fg: "#c099ff" attr: "b" }
72+
shape_range: { fg: "#ffc777" attr: "b" }
73+
shape_record: { fg: "#86e1fc" attr: "b" }
74+
shape_redirection: { fg: "#c099ff" attr: "b" }
75+
shape_signature: { fg: "#c3e88d" attr: "b" }
76+
shape_string: "#c3e88d"
77+
shape_string_interpolation: { fg: "#86e1fc" attr: "b" }
78+
shape_table: { fg: "#82aaff" attr: "b" }
79+
shape_variable: "#c099ff"
8080

81-
background: "#1a1b26"
82-
foreground: "#c0caf5"
83-
cursor: "#c0caf5"
81+
background: "#222436"
82+
foreground: "#c8d3f5"
83+
cursor: "#c8d3f5"
8484
}
8585
}
8686

@@ -118,4 +118,4 @@ export module activate {
118118
}
119119

120120
# Activate the theme when sourced
121-
use activate
121+
use activate

0 commit comments

Comments
 (0)