code wiki / _hdl_build / nx_kit2.nx

nx_kit2.nx

buildroot/runtime/_hdl_build/nx_kit2.nx

35613 B336 linesdepth 0pulls 0 transitivereach 7 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_kit2.nx -- ALTERNATE S-class design systems so archetypes stop looking alike. Two COMPLETE, distinct visual languages (own stylesheet + own layout grammar + own components), NOT the nx_sclass_kit reskinned: ke_* = "The Dispatch" -- an editorial / newspaper design (warm paper, double-rule masthead, serif display, drop-cap two-column lead, ruled article list). Used for BLOG/magazine. kg_* = "Exposure" -- a dark, full-bleed gallery (near-black, thin huge type, edge-to-edge tile grid with per-tile generative gradients + hover captions). Used for GALLERY + PORTFOLIO. Both ship ADA by construction (skip-link, lang, <main id=main>, viewport, AAA contrast, reduced-motion) and zero JS / zero third-party CSS. Pure emit functions (no syscalls -> composable by any emitter). license_tier: ORIGINAL

dependencies 0 imports · 1 importers

nx_kit2.nx nx_site_archetype.nx

imports: none

imported by: nx_site_archetype.nx

structs

none

consts

none

functions

10func k2_puts(buf: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){buf[o]=s[i]; o=o+1; i=i+1} return o }
11func k2_catn(buf: *u8, off: i64, v: i64) -> i64
22func ke_open(buf: *u8, off: i64, title: *u8, brand: *u8) -> i64
called by 1: sa_recipe_editorial calls 1: k2_puts
39func ke_lead(buf: *u8, off: i64, kick: *u8, headline: *u8, deck: *u8, byline: *u8, body: *u8) -> i64
called by 1: sa_recipe_editorial calls 1: k2_puts
48func ke_more_open(buf: *u8, off: i64, label: *u8) -> i64
called by 1: sa_recipe_editorial calls 1: k2_puts
53func ke_item(buf: *u8, off: i64, headline: *u8, dek: *u8, meta: *u8) -> i64
called by 1: sa_recipe_editorial calls 1: k2_puts
59func ke_more_close(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "</div></div></section>" as *u8) }
called by 1: sa_recipe_editorial calls 1: k2_puts
60func ke_sub(buf: *u8, off: i64, h2: *u8, p: *u8, label: *u8, href: *u8) -> i64
called by 1: sa_recipe_editorial calls 1: k2_puts
67func ke_close(buf: *u8, off: i64, brand: *u8, note: *u8) -> i64
called by 1: sa_recipe_editorial calls 1: k2_puts
75func kg_open(buf: *u8, off: i64, title: *u8, brand: *u8) -> i64
called by 1: sa_recipe_gallery calls 1: k2_puts
90func kg_head(buf: *u8, off: i64, kick: *u8, big: *u8, sub: *u8) -> i64
called by 1: sa_recipe_gallery calls 1: k2_puts
96func kg_grid_open(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "<section class=\"gr\">" as *u8) }
called by 1: sa_recipe_gallery calls 1: k2_puts
98func kg_tile(buf: *u8, off: i64, idx: i64, cap: *u8, sub: *u8) -> i64
called by 1: sa_recipe_gallery calls 2: k2_putsk2_catn
108func kg_grid_close(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "</section>" as *u8) }
called by 1: sa_recipe_gallery calls 1: k2_puts
109func kg_cta(buf: *u8, off: i64, h2: *u8, p: *u8, label: *u8, href: *u8) -> i64
called by 1: sa_recipe_gallery calls 1: k2_puts
116func kg_close(buf: *u8, off: i64, brand: *u8, note: *u8) -> i64
called by 1: sa_recipe_gallery calls 1: k2_puts
124func ks_open(buf: *u8, off: i64, title: *u8, brand: *u8) -> i64
called by 1: sa_recipe_shop calls 1: k2_puts
139func ks_promo(buf: *u8, off: i64, h2: *u8, p: *u8) -> i64
called by 1: sa_recipe_shop calls 1: k2_puts
145func ks_grid_open(buf: *u8, off: i64, h2: *u8) -> i64
called by 1: sa_recipe_shop calls 1: k2_puts
150func ks_prod(buf: *u8, off: i64, idx: i64, name: *u8, desc: *u8, price: *u8) -> i64
called by 1: sa_recipe_shop calls 2: k2_putsk2_catn
161func ks_grid_close(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "</section>" as *u8) }
called by 1: sa_recipe_shop calls 1: k2_puts
162func ks_trust(buf: *u8, off: i64, a: *u8, b: *u8, c: *u8) -> i64
called by 1: sa_recipe_shop calls 1: k2_puts
169func ks_close(buf: *u8, off: i64, brand: *u8, note: *u8) -> i64
called by 1: sa_recipe_shop calls 1: k2_puts
177func kf_open(buf: *u8, off: i64, title: *u8, brand: *u8) -> i64
called by 1: sa_recipe_social calls 1: k2_puts
193func kf_av(buf: *u8, off: i64, idx: i64) -> i64
201func kf_composer(buf: *u8, off: i64, placeholder: *u8) -> i64
called by 1: sa_recipe_social calls 2: k2_putskf_av
209func kf_post(buf: *u8, off: i64, idx: i64, author: *u8, meta: *u8, text: *u8) -> i64
called by 1: sa_recipe_social calls 2: k2_putskf_av
218func kf_aside_open(buf: *u8, off: i64, about: *u8) -> i64
called by 1: sa_recipe_social calls 1: k2_puts
224func kf_follow(buf: *u8, off: i64, idx: i64, name: *u8) -> i64
called by 1: sa_recipe_social calls 2: k2_putskf_av
231func kf_close(buf: *u8, off: i64, brand: *u8, note: *u8) -> i64
called by 1: sa_recipe_social calls 1: k2_puts
239func km_open(buf: *u8, off: i64, title: *u8, brand: *u8) -> i64
called by 1: sa_recipe_media calls 1: k2_puts
252func km_billboard(buf: *u8, off: i64, kick: *u8, title: *u8, meta: *u8, sub: *u8, play: *u8) -> i64
called by 1: sa_recipe_media calls 1: k2_puts
261func km_shelf_open(buf: *u8, off: i64, label: *u8) -> i64
called by 1: sa_recipe_media calls 1: k2_puts
266func km_poster(buf: *u8, off: i64, idx: i64, name: *u8, sub: *u8) -> i64
called by 1: sa_recipe_media calls 2: k2_putsk2_catn
276func km_shelf_close(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "</div></section>" as *u8) }
called by 1: sa_recipe_media calls 1: k2_puts
277func km_close(buf: *u8, off: i64, brand: *u8, note: *u8) -> i64
called by 1: sa_recipe_media calls 1: k2_puts
285func kd_open(buf: *u8, off: i64, title: *u8, brand: *u8) -> i64
called by 1: sa_recipe_hub calls 1: k2_puts
299func kd_greet(buf: *u8, off: i64, h1: *u8, sub: *u8) -> i64
called by 1: sa_recipe_hub calls 1: k2_puts
305func kd_deck_open(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "<section class=\"deck\">" as *u8) }
called by 1: sa_recipe_hub calls 1: k2_puts
306func kd_tile(buf: *u8, off: i64, idx: i64, name: *u8, blurb: *u8, href: *u8) -> i64
called by 1: sa_recipe_hub calls 2: k2_putsk2_catn
323func kd_deck_close(buf: *u8, off: i64) -> i64 { return k2_puts(buf, off, "</section>" as *u8) }
called by 1: sa_recipe_hub calls 1: k2_puts
324func kd_strip(buf: *u8, off: i64, a: *u8, b: *u8, c: *u8) -> i64
called by 1: sa_recipe_hub calls 1: k2_puts
331func kd_close(buf: *u8, off: i64, brand: *u8, note: *u8) -> i64
called by 1: sa_recipe_hub calls 1: k2_puts