The setting of a farewell to arms is war; the characters are able to overcome their fears, redefine gender roles, all while falling in love with each other. So i guess you can say the theme is war and love, masculinity/femininity, and fear and courage.
Hope this helps chu.