More rpine

This commit is contained in:
ThatOneCalculator 2022-07-25 18:15:01 -07:00
parent 9c07d0f4cf
commit 928f1d68f0

View file

@ -19,7 +19,7 @@
rx="1" ry="1"
fill="none"
stroke-width="0.1"
stroke="#f73520"/>
stroke="#eb6f92"/>
</svg>
</template>
@ -52,6 +52,7 @@ props.activity.slice().forEach((d, i) => {
d.v = peak === 0 ? 0 : d.total / (peak / 2);
if (d.v > 1) d.v = 1;
// TODO: Make Rose Pine
const ch = d.date.weekday === 0 || d.date.weekday === 6 ? 275 : 170;
const cs = d.v * 100;
const cl = 15 + ((1 - d.v) * 80);