Files

69 lines
3.9 KiB
Django/Jinja

# {{ scheme }} — Nushell color config
# Usage: add `use /path/to/apex-{{ scheme | lower | replace(' ', '-') | replace('apex-', '') }}.nu` to config.nu
export-env {
$env.config.color_config = {
# --- Chrome ---
separator: "{{ ui.dim }}"
leading_trailing_space_bg: { bg: "{{ ui.border }}" }
header: { fg: "{{ palette.cursor }}" attr: b }
empty: "{{ ui.dim }}"
row_index: { fg: "{{ ui.dim }}" attr: b }
hints: "{{ ui.stealth }}"
# --- Primitive types ---
string: { fg: "{{ syntax.string }}" }
int: { fg: "{{ syntax.constant }}" }
float: { fg: "{{ syntax.constant }}" }
bool: { fg: "{{ palette.warning }}" }
filesize: { fg: "{{ palette.info }}" }
duration: { fg: "{{ palette.info }}" }
datetime: { fg: "{{ palette.info }}" }
range: { fg: "{{ palette.foreground }}" }
record: { fg: "{{ palette.foreground }}" }
list: { fg: "{{ palette.foreground }}" }
block: { fg: "{{ syntax.keyword }}" }
nothing: { fg: "{{ ui.dim }}" }
binary: { fg: "{{ palette.info }}" }
# --- Shapes (REPL syntax highlighting) ---
shape_string: { fg: "{{ syntax.string }}" }
shape_string_interpolation: { fg: "{{ syntax.string }}" attr: b }
shape_int: { fg: "{{ syntax.constant }}" }
shape_float: { fg: "{{ syntax.constant }}" }
shape_bool: { fg: "{{ palette.warning }}" }
shape_datetime: { fg: "{{ palette.info }}" }
shape_binary: { fg: "{{ palette.info }}" }
shape_filepath: { fg: "{{ palette.info }}" }
shape_directory: { fg: "{{ palette.info }}" }
shape_globpattern: { fg: "{{ palette.info }}" }
shape_glob_interpolation: { fg: "{{ palette.info }}" }
shape_nothing: { fg: "{{ ui.dim }}" }
shape_variable: { fg: "{{ syntax.variable }}" }
shape_vardecl: { fg: "{{ syntax.variable }}" }
shape_operator: { fg: "{{ syntax.operator }}" }
shape_external: { fg: "{{ syntax.function }}" }
shape_externalarg: { fg: "{{ palette.foreground }}" }
shape_internalcall: { fg: "{{ syntax.function }}" attr: b }
shape_signature: { fg: "{{ syntax.function }}" }
shape_flag: { fg: "{{ palette.warning }}" }
shape_pipe: { fg: "{{ palette.warning }}" attr: b }
shape_redirection: { fg: "{{ palette.warning }}" }
shape_and: { fg: "{{ syntax.keyword }}" attr: b }
shape_or: { fg: "{{ syntax.keyword }}" attr: b }
shape_keyword: { fg: "{{ syntax.keyword }}" attr: b }
shape_block: { fg: "{{ syntax.keyword }}" }
shape_closure: { fg: "{{ syntax.keyword }}" }
shape_list: { fg: "{{ palette.foreground }}" }
shape_record: { fg: "{{ palette.foreground }}" }
shape_table: { fg: "{{ palette.foreground }}" }
shape_range: { fg: "{{ palette.foreground }}" }
shape_literal: { fg: "{{ palette.foreground }}" }
shape_custom: { fg: "{{ palette.foreground }}" }
shape_match_pattern: { fg: "{{ palette.warning }}" }
shape_matching_brackets: { attr: u }
shape_garbage: { fg: "{{ palette.error }}" attr: b }
}
}