(1) Mood is the atmosphere or emotional quality of a text, while (2) tone is the author's attitude towards the text, conveyed through literary devices and other means.
So the completed sentences would be:
Mood is the atmosphere or emotional quality of a text, while tone is the author's attitude towards the text, conveyed through literary devices and other means.