made with CSS
You can add inner-shadow to text in Figma but there is no CSS code for that. I emulated the same effect with Text Shadow.