summaryrefslogtreecommitdiff
path: root/src/ninep/testing.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 18:24:18 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit5dbd21795f6c68bd3c10d409135970e3033364f3 (patch)
tree7dcea4712daa0dcd46e8b8438ca00b2001a4aed4 /src/ninep/testing.zig
parentf41d0209f65237568c9f7d527d5989ac8921b74c (diff)
downloadpardes-5dbd21795f6c68bd3c10d409135970e3033364f3.tar.gz
pardes-5dbd21795f6c68bd3c10d409135970e3033364f3.zip
Motion flavours, and Lift is shadow, rim or auto: auto on a dark page recedes the other panes (InactiveDim)
Motion off|crisp|smooth|bouncy|playful is one parameter set (animation.Motion) every fx animation reads. One focus spring per pane drives both the lift and the dim, at the flavour's pace; a grid snaps. Lift drops glow and surface. A shadow falls on pane bodies and rails only, capped so text and the selection keep min(contrast, 4.5); rim is a hairline along the focused tag's top. auto is a shadow on a light page; on a dark page the core recedes the unfocused panes' text (InactiveDim, ported from 2e4d97f, default 30 under auto) with the same floor. Tests: focused text contrast is never below unfocused in any style, dim or theme; the focused pane's cells and tag are untouched by a dim. Shared files: src/config.zig, src/builtins.zig, src/ninep/ctl.zig, src/surface.zig, src/detached/wire.zig, docs/config.md, test/snapshots/builtins.snap (one more wheel for the longer help).
Diffstat (limited to 'src/ninep/testing.zig')
0 files changed, 0 insertions, 0 deletions