Next: , Previous: , Up: API  


1.29 (hygguile css)

1.29.1 Procedures

Procedure: custom-fonts KEY: #:font-base

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.

font-base

The URL the woff2 files are served from, ending in a slash.

(custom-fonts #:font-base "https://example.com/fonts/")
Procedure: font-faces KEY: #:font-base

Render the @font-face block for the three families hygguile sets its pages in, with every file addressed relative to font-base.

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/")
Procedure: phosphor-icons KEY: #:stylesheet-href

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.

stylesheet-href

The source URL string pointing directly to the distributed stylesheet manifest location.

(phosphor-icons #:stylesheet-href "https://example.com/assets/icons.css")