From 2938570f959b35768dea3b676448320aab2b5179 Mon Sep 17 00:00:00 2001 From: vprdev Date: Sun, 11 Oct 2026 17:14:19 -0700 Subject: [PATCH] Dim the scene a little less behind text The scene now fades 53/58/63% of the way to the scrim color at subtle/normal/vivid (was 60/65/70), so scenes keep more contrast; tuned with the owner in a live preview. --- src/engine.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine.tsx b/src/engine.tsx index a4521ff..d25c8dc 100644 --- a/src/engine.tsx +++ b/src/engine.tsx @@ -69,9 +69,9 @@ function level(gain: number, wash: number, scrim: number) { return { dark, light, scrim } } const LEVELS: Record> = { - subtle: level(0.6, 0.65, 0.6), - normal: level(1, 0.5, 0.65), - vivid: level(1.6, 0.35, 0.7), + subtle: level(0.6, 0.65, 0.53), + normal: level(1, 0.5, 0.58), + vivid: level(1.6, 0.35, 0.63), } // Night scenes keep their color: it is what separates them from light text. const DESATURATE = { day: 0.22, sunset: 0.22, night: 0.04 }