mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
fix Tokyonight Moon theme color (#1125)
Previously, this doesn't follow the Moon pallette
This commit is contained in:
parent
b2d512f6c6
commit
765555bedd
1 changed files with 61 additions and 61 deletions
|
@ -1,86 +1,86 @@
|
||||||
# Retrieve the theme settings
|
# Retrieve the theme settings
|
||||||
export def main [] {
|
export def main [] {
|
||||||
return {
|
return {
|
||||||
separator: "#a9b1d6"
|
separator: "#828bb8"
|
||||||
leading_trailing_space_bg: { attr: "n" }
|
leading_trailing_space_bg: { attr: "n" }
|
||||||
header: { fg: "#9ece6a" attr: "b" }
|
header: { fg: "#c3e88d" attr: "b" }
|
||||||
empty: "#7aa2f7"
|
empty: "#82aaff"
|
||||||
bool: {|| if $in { "#7dcfff" } else { "light_gray" } }
|
bool: {|| if $in { "#86e1fc" } else { "light_gray" } }
|
||||||
int: "#a9b1d6"
|
int: "#828bb8"
|
||||||
filesize: {|e|
|
filesize: {|e|
|
||||||
if $e == 0b {
|
if $e == 0b {
|
||||||
"#a9b1d6"
|
"#828bb8"
|
||||||
} else if $e < 1mb {
|
} else if $e < 1mb {
|
||||||
"#7dcfff"
|
"#86e1fc"
|
||||||
} else {{ fg: "#7aa2f7" }}
|
} else {{ fg: "#82aaff" }}
|
||||||
}
|
}
|
||||||
duration: "#a9b1d6"
|
duration: "#828bb8"
|
||||||
datetime: {|| (date now) - $in |
|
datetime: {|| (date now) - $in |
|
||||||
if $in < 1hr {
|
if $in < 1hr {
|
||||||
{ fg: "#f7768e" attr: "b" }
|
{ fg: "#ff757f" attr: "b" }
|
||||||
} else if $in < 6hr {
|
} else if $in < 6hr {
|
||||||
"#f7768e"
|
"#ff757f"
|
||||||
} else if $in < 1day {
|
} else if $in < 1day {
|
||||||
"#e0af68"
|
"#ffc777"
|
||||||
} else if $in < 3day {
|
} else if $in < 3day {
|
||||||
"#9ece6a"
|
"#c3e88d"
|
||||||
} else if $in < 1wk {
|
} else if $in < 1wk {
|
||||||
{ fg: "#9ece6a" attr: "b" }
|
{ fg: "#c3e88d" attr: "b" }
|
||||||
} else if $in < 6wk {
|
} else if $in < 6wk {
|
||||||
"#7dcfff"
|
"#86e1fc"
|
||||||
} else if $in < 52wk {
|
} else if $in < 52wk {
|
||||||
"#7aa2f7"
|
"#82aaff"
|
||||||
} else { "dark_gray" }
|
} else { "dark_gray" }
|
||||||
}
|
}
|
||||||
range: "#a9b1d6"
|
range: "#828bb8"
|
||||||
float: "#a9b1d6"
|
float: "#828bb8"
|
||||||
string: "#a9b1d6"
|
string: "#828bb8"
|
||||||
nothing: "#a9b1d6"
|
nothing: "#828bb8"
|
||||||
binary: "#a9b1d6"
|
binary: "#828bb8"
|
||||||
cell-path: "#a9b1d6"
|
cell-path: "#828bb8"
|
||||||
row_index: { fg: "#9ece6a" attr: "b" }
|
row_index: { fg: "#c3e88d" attr: "b" }
|
||||||
record: "#a9b1d6"
|
record: "#828bb8"
|
||||||
list: "#a9b1d6"
|
list: "#828bb8"
|
||||||
block: "#a9b1d6"
|
block: "#828bb8"
|
||||||
hints: "dark_gray"
|
hints: "dark_gray"
|
||||||
search_result: { fg: "#f7768e" bg: "#a9b1d6" }
|
search_result: { fg: "#f7768e" bg: "#828bb8" }
|
||||||
|
|
||||||
shape_and: { fg: "#bb9af7" attr: "b" }
|
shape_and: { fg: "#c099ff" attr: "b" }
|
||||||
shape_binary: { fg: "#bb9af7" attr: "b" }
|
shape_binary: { fg: "#c099ff" attr: "b" }
|
||||||
shape_block: { fg: "#7aa2f7" attr: "b" }
|
shape_block: { fg: "#82aaff" attr: "b" }
|
||||||
shape_bool: "#7dcfff"
|
shape_bool: "#86e1fc"
|
||||||
shape_custom: "#9ece6a"
|
shape_custom: "#c3e88d"
|
||||||
shape_datetime: { fg: "#7dcfff" attr: "b" }
|
shape_datetime: { fg: "#86e1fc" attr: "b" }
|
||||||
shape_directory: "#7dcfff"
|
shape_directory: "#86e1fc"
|
||||||
shape_external: "#7dcfff"
|
shape_external: "#86e1fc"
|
||||||
shape_externalarg: { fg: "#9ece6a" attr: "b" }
|
shape_externalarg: { fg: "#c3e88d" attr: "b" }
|
||||||
shape_filepath: "#7dcfff"
|
shape_filepath: "#86e1fc"
|
||||||
shape_flag: { fg: "#7aa2f7" attr: "b" }
|
shape_flag: { fg: "#82aaff" attr: "b" }
|
||||||
shape_float: { fg: "#bb9af7" attr: "b" }
|
shape_float: { fg: "#c099ff" attr: "b" }
|
||||||
shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" }
|
shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" }
|
||||||
shape_globpattern: { fg: "#7dcfff" attr: "b" }
|
shape_globpattern: { fg: "#86e1fc" attr: "b" }
|
||||||
shape_int: { fg: "#bb9af7" attr: "b" }
|
shape_int: { fg: "#c099ff" attr: "b" }
|
||||||
shape_internalcall: { fg: "#7dcfff" attr: "b" }
|
shape_internalcall: { fg: "#86e1fc" attr: "b" }
|
||||||
shape_list: { fg: "#7dcfff" attr: "b" }
|
shape_list: { fg: "#86e1fc" attr: "b" }
|
||||||
shape_literal: "#7aa2f7"
|
shape_literal: "#82aaff"
|
||||||
shape_match_pattern: "#9ece6a"
|
shape_match_pattern: "#c3e88d"
|
||||||
shape_matching_brackets: { attr: "u" }
|
shape_matching_brackets: { attr: "u" }
|
||||||
shape_nothing: "#7dcfff"
|
shape_nothing: "#86e1fc"
|
||||||
shape_operator: "#e0af68"
|
shape_operator: "#ffc777"
|
||||||
shape_or: { fg: "#bb9af7" attr: "b" }
|
shape_or: { fg: "#c099ff" attr: "b" }
|
||||||
shape_pipe: { fg: "#bb9af7" attr: "b" }
|
shape_pipe: { fg: "#c099ff" attr: "b" }
|
||||||
shape_range: { fg: "#e0af68" attr: "b" }
|
shape_range: { fg: "#ffc777" attr: "b" }
|
||||||
shape_record: { fg: "#7dcfff" attr: "b" }
|
shape_record: { fg: "#86e1fc" attr: "b" }
|
||||||
shape_redirection: { fg: "#bb9af7" attr: "b" }
|
shape_redirection: { fg: "#c099ff" attr: "b" }
|
||||||
shape_signature: { fg: "#9ece6a" attr: "b" }
|
shape_signature: { fg: "#c3e88d" attr: "b" }
|
||||||
shape_string: "#9ece6a"
|
shape_string: "#c3e88d"
|
||||||
shape_string_interpolation: { fg: "#7dcfff" attr: "b" }
|
shape_string_interpolation: { fg: "#86e1fc" attr: "b" }
|
||||||
shape_table: { fg: "#7aa2f7" attr: "b" }
|
shape_table: { fg: "#82aaff" attr: "b" }
|
||||||
shape_variable: "#bb9af7"
|
shape_variable: "#c099ff"
|
||||||
|
|
||||||
background: "#1a1b26"
|
background: "#222436"
|
||||||
foreground: "#c0caf5"
|
foreground: "#c8d3f5"
|
||||||
cursor: "#c0caf5"
|
cursor: "#c8d3f5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue