Most people fumble compliments two ways: deflecting them or over-thanking like they won an award. Both kill the moment. A compliment over text is a flirtation invitation, accept it and play.
The formula: own it, add a wink of confidence or humor, and optionally volley one back. Never argue with someone who just said something nice about you.
A simple thank you with warmth beats any deflection. Owning a compliment signals self-respect, which is attractive on its own.
A light I know or I do my best with a wink of humor turns acceptance into banter and keeps the energy flirty.
If you volley back, make it specific to them. Generic you too lands flat. A detail shows you actually pay attention.
Thank them warmly and add a touch of playfulness. Avoid deflecting or arguing with it, which makes the moment awkward for both of you.
Only if it is genuine and specific. An instant generic you too feels reflexive. A real observation, even a few texts later, lands much better.
It is fine but it can end the thread. Adding a little humor or a question keeps the conversation moving and the vibe warm.