Change font on lines

How do I change the font size when I add text to a line in dorico?

Welcome to the Dorico forum.

You can do that in Library > Font Styles… > Horizontal Line Font.