Skip to content

"Google Fonts": Harlowe (v2.0)#


"Google Fonts" uses a Google Font loaded via the CSS @import at-rule. The loaded font is then applied to selected text using the (font:) macro.

Other Google Fonts could be imported and applied using the same method, creating new class or ID style rules to be applied for and across different HTML elements in the same way.



Twee Code#

:: StoryTitle
Harlowe: Google Fonts

:: StoryStylesheet[stylesheet]
@import url('');

:: Start
(font:"Roboto")[This text is styled by a Google Font]

Twee Download