code wiki / _hdl_build / nx_brand_aesthetic.nx
nx_brand_aesthetic.nx
buildroot/runtime/_hdl_build/nx_brand_aesthetic.nx
about
nx_brand_aesthetic.nx -- a MEASURED objective design-quality score (the measurable subset of NN/g + Fogg
credibility heuristics). NOT a subjective "is it beautiful" claim -- it counts OBJECTIVE, HTML-observable signals
a quality page exhibits. A high score = "meets the objective design-quality bar"; subjective parity with
Nike/Apple stays the HONEST-BEHIND axis measured in R6, never claimed here. 10 signals:
1 token-driven (var(--nx-*)) 2 design tokens declared (:root{) 3 type hierarchy (<h1 + <h2)
4 responsive (viewport + @media) 5 accessible motion (prefers-reduced-motion) 6 keyboard a11y (:focus-visible)
7 zero off-token colour drift 8 semantic landmarks (<header + <footer) 9 interaction polish (:hover)
10 whitespace/rhythm (padding)
REUSE: nx_brand_tokens (bt_find), nx_brand_book (ba_audit). Library. 100% sovereign. license_tier: ORIGINAL
dependencies 3 imports · 1 importers
imports: nx_syscalls.nxnx_brand_tokens.nxnx_brand_book.nx
imported by: nx_brand_aesthetic_gate.nx
structs
| none |
consts
| none |
functions
| 14 | func bq_has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 } |
| 17 | func bq_score(html: *u8, n: i64) -> i64 |