heck

I've been really liking Jinji so far. It was pretty easy to make a function that recieves the template filename and the variable dict which spits out the rendered text. It works wonderfully with html, but I'm gonna try it with css now and see if I can create lighten/darken functions similar to scss :3

#PythonDev

Follow

Oh hell yeah! I've got a working darken function. Now I just need to figure out the math for the lighten function :3

#PythonDev

I also plan on implementing other color functions, but doing lighten and darken first will make it easier to figure out the others. Btw the Colour module simplifies it all and I'm so glad it exists UvU

pypi.org/project/colour/

#PythonDev

@izaliamae that module is so good gh I had forgotten I used it, but it's great

@efi I've only been tinkering with it for like 30 min and I love it so much already. I was initially looking up how to convert hex to hsl and it looked like a fucking mess, so this module is a blessing

Sign in to participate in the conversation
BarkShark

Izalia being cute and resting her head on top of a heart