summaryrefslogtreecommitdiff
path: root/core/File.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 10:34:34 -0300
committerGabriel Schneider <[email protected]>2026-11-23 11:54:56 -0300
commitd4445d6d818e829a944a6ee37c43b7c5f1178237 (patch)
treec47a49527f9d1086ef75c0223e2f748ac9840606 /core/File.zig
parent4faf94b72b60ecb0656e7e90ca693b63b1fde71c (diff)
downloadpardes-d4445d6d818e829a944a6ee37c43b7c5f1178237.tar.gz
pardes-d4445d6d818e829a944a6ee37c43b7c5f1178237.zip
changes layer: a lane's colour says the kind of the row it stands beside, and a change's lane ends in an arrow at its description (the user's rulings of 2026-11-23): a lane had one colour a change (the theme's accents in hue order, `laneColours`); now beside a row a change wrote (a line added whole, a changed line's new text) it is the theme's cool accent and beside a row it took away (a line taken away, a changed line's old text) its warm one, both from one function, `jj.laneInks` (among the theme's accents, greys and those within 15 degrees of its green and red left out, the one nearest azure and the one nearest orange, each from its own half of the hue circle so the two are never one; a half with none takes the theme's most vivid accent turned to its pole in OKLab, `colors.turnOklab`: the user's neonotte84 has no cool accent and gets its keyword pink turned azure; then each pushed toward the ink to read 3:1 on the page); a description row's lanes keep the kind of the row above it (`takenAbove`), and its change's lane ends there as an arrow pointing at the id: in a terminal `▎─→` across the lane cells (`↳` from the last level), in a window the strip bent at the row's middle into a shaft and a head (`Lane.arrow`, the cells to the text; dev/gui/gui.zig `laneStrip`, each piece cut to the glide as the strips are), the outer lanes passing it unbroken; a description's id is the theme's keyword ink and its title the text's (no one lane colour is left to give it); a lane runs through no unchanged line (`nest` ends a block at a line no pinned change wrote), so none needs a neutral; tests: the lanes test and the ghost-rows test assert each row's lane ink by its kind, the arrow's glyphs in a terminal and `Lane.arrow` in a window, and the id's ink; a new test runs `laneInks` over all 285 themes (never one colour; each reads 3:1 on the page or as nearly as the theme's own ink does; 16 end greyish); not changed: the rows' grounds (green and red, as the patch view's), Churn's cell and strip; core-test 925/1089 (164 skipped), shell-test 1131/1134 (3 skipped)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/File.zig')
0 files changed, 0 insertions, 0 deletions