Since you're using `TEXT_SHADOW.replace` in a few distinct places, perhaps it should be a function like `getTextShadowStyle(shadowColor)`.