Themes define all remaining characteristics of a plot

How to set the thickness of lines?

You use the size argument:

theme(axis.line=element_line(size=1))