This commit is contained in:
ThatOneCalculator 2023-04-25 18:40:10 -07:00
parent 17af43301a
commit c02217c6ae

View file

@ -73,7 +73,6 @@ props.activity.slice().forEach((d, i) => {
d.v = peak === 0 ? 0 : d.total / (peak / 2); d.v = peak === 0 ? 0 : d.total / (peak / 2);
if (d.v > 1) d.v = 1; if (d.v > 1) d.v = 1;
// TODO: Make Rose Pine
const ch = d.date.weekday === 0 || d.date.weekday === 6 ? 275 : 170; const ch = d.date.weekday === 0 || d.date.weekday === 6 ? 275 : 170;
const cs = d.v * 100; const cs = d.v * 100;
const cl = 15 + (1 - d.v) * 80; const cl = 15 + (1 - d.v) * 80;