In the older shaders like TextMeshPro/distance you can create inner shadows using: Underlay type: inner.
That option is not available in the new shaders from the Scriptable Pipelines in TextMeshPro/SRP/TMP_SDF-URP. Is there another way to make inner shadows now?