Topic on Skin talk:Metrolook

Using Google Fonts with Metrolook

1
Skalchemist (talkcontribs)

From the Google Fonts pages, I believe this statement would allow Metrolook to use the Ubuntu and Kreon fonts:

@import url(GOOGLE URL FOR KREON AND UBUNTU&display=swap');

I would then like to make Ubuntu the primary sans-serif font, and Kreon the primary serif font.

My problem is, I can't tell which of the many files within the skin is the right place to do this. I think I need to add the font names themselves in variables.less, within these statements:

@font-family-serif: 'Linux Libertine', 'Georgia', 'Times', serif;

@font-family-sans-serif: sans-serif;

But when I added the import statement above into variables.less it seemed to break the skin, it was just pure text with no formatting.

Any help would be appreciated.

NOTE: I was getting linkspam warning for the import statement above, but the Google Fonts seems clear as to how the URL should be formatted.

Reply to "Using Google Fonts with Metrolook"