Next: (hygguile embed css), Previous: (hygguile components utility), Up: API
Generate S-expression tags to load hygguile’s own web typography: Work Sans for prose, Source Serif 4 for serif text and JuliaMono for code, all three self-hosted and declared from font-base.
Nothing is fetched from a font service, so a page built with this renders the same offline and tells no third party who read it.
The URL the woff2 files are served from, ending in a slash.
(custom-fonts #:font-base "https://example.com/fonts/")
Render the @font-face block for the three families hygguile sets
its pages in, with every file addressed relative to font-base.
The URL the woff2 files are served from, ending in a slash. Point it at your own host to keep the files beside the rest of your assets.
(font-faces #:font-base "/fonts/")
Generate S-expression link tags to pull down standard Phosphor icon asset libraries asynchronously.
Note: If the default value string containing an internal NPM handle is modified, any raw symbol characters must continue to obey parsing constraints.
The source URL string pointing directly to the distributed stylesheet manifest location.
(phosphor-icons #:stylesheet-href "https://example.com/assets/icons.css")