diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 07:25:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 5526c68beec454cfe607a579723b97b4848e7d3a (patch) | |
| tree | ffc111103c9b086346a2dae4148a61fe3d368780 /src/themes/dark.zig | |
| parent | 99c088e277e7d79d7b4341d3f546c02e7254e107 (diff) | |
| download | pardes-5526c68beec454cfe607a579723b97b4848e7d3a.tar.gz pardes-5526c68beec454cfe607a579723b97b4848e7d3a.zip | |
G10: the theme's chrome fades through OKLab, easing in and out
ChromeTheme.interpolate mixes each colour in OKLab (colors.mixOklab), so a
fade between hues keeps its lightness instead of going dark and muddy mid
way; animation.Fade eases it in and out (smooth), and one retargeted mid
fade eases out from where it shows, so it never stalls. Still 10 frames
(160 ms). The page, text and syntax colours change at once as before.
Tests: OKLab round-trips its ends exactly and keeps a red-to-green mid-way
brighter than the sRGB mix. Gates as G9 (no golden moved). Feel review:
.scratch/render/crossfade/.
Diffstat (limited to 'src/themes/dark.zig')
0 files changed, 0 insertions, 0 deletions
