This is a simple theme component that allows you to add a font from Google Fonts without writing any CSS.

:hammer_and_wrench: Github repo: https://github.com/discourse/discourse-google-font-component

:eyes: Preview on Theme Creator

:question: https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682

This component allows you to set the main site font, and optionally separate fonts for headlines and monospaced text (code blocks). You can also choose a font weight in each case, and increase the overall font size.

Screen Shot 2020-03-09 at 1.16.56 PM: 690x436, 75%

Behind the scenes this sets up a little bit of CSS along with Google’s font <link>. Note that this is relying on Google to serve the font files from https://fonts.googleapis.com/.