|
A tenth scheme, sampled from a desktop shot built on the Candy icon set
(https://github.com/EliverLara/candy-icons) over a near-black purple ground.
Its hue ramp is deliberately that icon set's folder gradients, so the palette
names the same colours the icons are drawn in.
The colours are measured from solid regions of the source image rather than
taken from a published scheme, which is why the palette names are this file's
own. The window body in that image is translucent over the wallpaper and so
contributes no value; that is opacity, not a colour.
One split is load-bearing: [ui] accent is the true magenta #cc0dbf from the
image, while [terminal] magenta is #f00fe0, the same hue lifted to lightness
0.50. Against the scheme's background the original scores 3.79 contrast, under
the 4.5 wanted for body text. The accent only ever fills large areas, where it
reads fine; terminal magenta is glyphs on a dark ground, where it does not.
Every other terminal colour already clears 4.5 (lowest: red at 5.42); ANSI
black stays low as it does in every other scheme, since it is never body text.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
The selector was tracked at palette/roles.conf, which made switching scheme a
committable change: the previous commit carried `scheme = tokyo-night` in its
diff purely because that was the theme running at the time.
Which theme a machine runs is local state, not a property of the project, so
the live file is now ~/.config/udt/roles.conf. install.sh seeds it from
palette/roles.conf.default on a first run and never overwrites it, so a
switch leaves the working tree clean and two machines sharing this repo can
run different schemes. udt-palette falls back to the seed when no live file
exists, so a bare checkout still generates.
This is the one exception to the repo holding the canonical copy of
everything, and AGENTS.md says so.
Verified: seeding on a missing file, the seed not overwriting an existing
choice, generation from the seed alone, and both selftests.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
|