Usage patterns
〈事〉を主題とするto make something the central theme (of a work)
This film has war as its central theme.
主題を扱うto deal with / address a theme
This novel deals with the theme of human loneliness.
主題から外れるto stray from the main topic
The discussion strayed from the main topic.