Darken dementor circles for better contrast

This commit is contained in:
chris 2025-11-20 08:42:28 -05:00
parent e1bb4c336e
commit 701ea2cb42
2 changed files with 3 additions and 3 deletions

4
app.js
View File

@ -671,7 +671,7 @@
const p = dementor.progress > 1 ? 1 : dementor.progress;
const opacity = 0.08 + (p * 0.35);
const size = 14 + (p * 22); // start at edges, creep inward
const darkness = 0.2 + (p * 0.35);
const darkness = 0.28 + (p * 0.4);
const vignette = 0.18 + (p * 0.22);
const blur = 0 + (p * 1.2);
const glow = 0.15 + (p * 0.75);
@ -689,7 +689,7 @@
const overlay = document.getElementById('dementor-overlay');
overlay.style.opacity = 0;
overlay.style.setProperty('--circle-size', '12%');
overlay.style.setProperty('--circle-strength', '0.25');
overlay.style.setProperty('--circle-strength', '0.35');
overlay.style.setProperty('--circle-blur', '0px');
overlay.style.setProperty('--vignette-strength', '0.18');
overlay.style.background = 'transparent';

View File

@ -123,7 +123,7 @@
pointer-events: none;
z-index: 0;
--circle-size: 12%;
--circle-strength: 0.25;
--circle-strength: 0.35;
--circle-blur: 0px;
--vignette-strength: 0.18;
background: transparent;