convert unnamed enum into enum TextStyleType

more work needed to make it an enum class