Please tell me how to apply text styles.

I want to do the following. How can I achieve this?
- Set different font sizes for A and B
- Apply an outline to the gradient
- Enable updating A's value via text_input