File:
site-assets.nu
0 exported commands
4 internal commandsfavicon-text
InternalDerive favicon glyphs from a module name, or pass through an explicit override. With no override the first letter of each '-', '_', or space separated segment is taken (uppercased, capped at three glyphs); "nu-doc-gen" becomes "NDG".
Usage
favicon-text <name> <override>
Parameters
name <string>override <string>
Input/output types
| input | output |
|---|---|
| any | any |
favicon-svg
InternalBuild an initials favicon as an SVG document that swaps colors with the preferred color scheme so it tracks the site's light/dark themes. Written to assets/favicon.svg.
Usage
favicon-svg <text> <light_bg> <light_fg> <dark_bg> <dark_fg>
Parameters
text <string>light_bg <string>light_fg <string>dark_bg <string>dark_fg <string>
Input/output types
| input | output |
|---|---|
| any | any |
site-css
InternalUsage
site-css
Input/output types
| input | output |
|---|---|
| any | any |
site-js
InternalUsage
site-js
Input/output types
| input | output |
|---|---|
| any | any |