File: site-assets.nu 0 exported commands 4 internal commands

favicon-text

Internal

Derive 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

inputoutput
anyany

favicon-svg

Internal

Build 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

inputoutput
anyany

site-css

Internal

Usage

site-css

Input/output types

inputoutput
anyany

site-js

Internal

Usage

site-js

Input/output types

inputoutput
anyany