# Apex Aeon — Nushell color config
# v2 spine: red = danger · violet = attention · cyan = info
# Usage: add `use /path/to/apex-aeon.nu` to config.nu

export-env {
    $env.config.color_config = {

        # --- Chrome ---
        separator:                    "#5c6270"
        leading_trailing_space_bg:  { bg: "#c2c8d4" }
        header:                     { fg: "#2148c0" attr: b }
        empty:                        "#5c6270"
        row_index:                  { fg: "#5c6270" attr: b }
        hints:                        "#c8cdd8"

        # --- Primitive types ---
        string:                     { fg: "#00734d" }
        int:                        { fg: "#00875a" }
        float:                      { fg: "#00875a" }
        bool:                       { fg: "#00875a" }
        filesize:                   { fg: "#0080a6" }
        duration:                   { fg: "#0080a6" }
        datetime:                   { fg: "#0080a6" }
        range:                      { fg: "#16181d" }
        record:                     { fg: "#16181d" }
        list:                       { fg: "#16181d" }
        block:                      { fg: "#1633a0" }
        nothing:                    { fg: "#5c6270" }
        binary:                     { fg: "#0080a6" }

        # --- Shapes (REPL syntax highlighting) ---
        # The REPL line is a code buffer: amber/violet/red stay out (keystone).
        shape_string:               { fg: "#00734d" }
        shape_string_interpolation: { fg: "#00734d" attr: b }
        shape_int:                  { fg: "#00875a" }
        shape_float:                { fg: "#00875a" }
        shape_bool:                 { fg: "#00875a" }
        shape_datetime:             { fg: "#0080a6" }
        shape_binary:               { fg: "#0080a6" }
        shape_filepath:             { fg: "#0080a6" }
        shape_directory:            { fg: "#0080a6" }
        shape_globpattern:          { fg: "#0080a6" }
        shape_glob_interpolation:   { fg: "#0080a6" }
        shape_nothing:              { fg: "#5c6270" }
        shape_variable:             { fg: "#16181d" }
        shape_vardecl:              { fg: "#16181d" }
        shape_operator:             { fg: "#5c6270" }
        shape_external:             { fg: "#0e6e92" }
        shape_externalarg:          { fg: "#16181d" }
        shape_internalcall:         { fg: "#0e6e92" attr: b }
        shape_signature:            { fg: "#0e6e92" }
        shape_flag:                 { fg: "#2148c0" }
        shape_pipe:                 { fg: "#1633a0" attr: b }
        shape_redirection:          { fg: "#5c6270" }
        shape_and:                  { fg: "#1633a0" attr: b }
        shape_or:                   { fg: "#1633a0" attr: b }
        shape_keyword:              { fg: "#1633a0" attr: b }
        shape_block:                { fg: "#1633a0" }
        shape_closure:              { fg: "#1633a0" }
        shape_list:                 { fg: "#16181d" }
        shape_record:               { fg: "#16181d" }
        shape_table:                { fg: "#16181d" }
        shape_range:                { fg: "#16181d" }
        shape_literal:              { fg: "#16181d" }
        shape_custom:               { fg: "#16181d" }
        shape_match_pattern:        { fg: "#1633a0" }
        shape_matching_brackets:    { attr: u }
        shape_garbage:              { fg: "#c8003a" attr: b }
    }
}