Set text-shadow by formula

Hello everyone,

A quick help over here. How do I set text shadows via formula? What is the correct syntax?

image

I think it’s this one box-shadow - CSS: Cascading Style Sheets | MDN

So simple as that, thanks anyway

image

image