Skip to main content

Crate blue_lang_art

Crate blue_lang_art 

Source
Expand description

blue’s mark, wordmark, and theme.

§The mark is a COLOUR shift across Nord’s Frost band

blue’s central ratified metaphor is blueshift — the wave that shifts with the author across tatara-lisp and Rust as a program is written. A blueshift is a shift in colour, so the mark is four solid cells walking Nord’s own Frost band toward blue:

████   nord7 → nord8 → nord9 → nord10
       teal    cyan    light   deep blue

§What this replaced, and why

The first version was ░▒▓█ — a density ramp, every cell painted the same Ink::Blue. It was wrong twice over, and the operator spotted it immediately as “a blue box”:

  • It rendered a shift with nothing shifting. One flat colour across four cells varies only density, which is not what a blueshift is.
  • ░▒▓ read as fuzz. katsuji’s docs say so in as many words — “reach for it deliberately, not for ‘texture’” — and the first draft quoted that warning and then argued past it on the grounds that the gradient was the meaning. Intent does not make an illegible glyph legible. Four dither cells ending in █, all one colour, look like a blue box because that is what they are.

Solid blocks are legible at any size, and the colour does the work the shape was failing to do.

§No truecolor, deliberately

The Frost tones are named by their ANSI slot, never by hex. katsuji has no Ink::Rgb and no from_hex on purpose: a literal \x1b[38;2;…m “pins a colour that stops tracking” the user’s theme. Naming the slot means the mark renders in the reader’s Nord, and follows them if they retheme.

§The theme is irodori’s Nord, never a local copy

Colours come from irodori, the fleet’s Nord palette. blue carries no hex: the fleet rule is that an app’s visual default derives from the shared tokens so one edit propagates, and copying another app’s palette is the named anti-pattern. What blue chooses is which Nord roles to bind — see Theme.

Structs§

Theme
blue’s Nord bindings.

Constants§

CELL
The glyph every cell of the mark uses. Solid — no dither.
SHIFT
The mark: four solid cells, one per Frost tone, walking toward blue.

Functions§

mark
The mark as plain text, for contexts with no colour — a README, a commit message, a browser tab.
mark_line
The mark as a styled line — the real thing.
wordmark
The wordmark: the blueshift ramp, the name, and the running version.