Next: , Previous: , Up: API  


1.11 (hygguile css)

1.11.1 Procedures

Procedure: custom-fonts KEY: #:preconnects #:fonts #:display-swap

Generate S-expression tags to optimize and load external web typography families asynchronously.

preconnects

A list of S-expression initialization link tags specifying network domains to warm up.

fonts

A list of configuration strings selecting families and weights to include from the external repository API.

display-swap

A string directive identifying font rendering behaviors during file downloads.

(custom-fonts #:fonts '("Merriweather" "Open+Sans"))
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")