Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated. Read this first before publishing or installing.
Four CSS variables are referenced but never defined (declarations silently dropped)
var(--does-not-exist) with no fallback is not a CSS error. The declaration is silently dropped and the property falls back to its initial value, so a rule that reads like a styling decision is actually doing nothing.
Four token names are referenced in static/style.css that :root never defines:
| token | bare uses | effect |
|---|---|---|
--bg |
several | background dropped, element renders transparent |
--surface |
2 | same |
--text |
1 | color dropped, inherits from the parent |
--border-muted |
1 | border-top dropped, no rule drawn |
Most uses of --bg and --text elsewhere in the file carry a fallback (var(--bg, #0d1117)) and are fine. These are the bare ones.
How this surfaced
A confirmation dialog shipped fully transparent, because every token it referenced was invented: --bg-elevated, --bg-alt, --text, --text-dim. Nothing failed, no console warning, tests passed, and the panel simply had no background. Fixed, and test/pages/css-tokens.test.mjs now fails on any new bare var() that does not resolve.
The four above are allow-listed in that test so it can pass today, which is why this issue exists rather than a silent TODO.
Ask
Decide what each of the four should be, and either point it at a real token or delete the declaration.
I did not fix them because they are pre-existing and the right value depends on design intent I do not have. background: var(--bg) on a panel that has looked fine transparent for months might genuinely want --bg-primary, or might want nothing, and guessing changes the appearance of pages nobody complained about. Each is a one-line change once someone says which.
When they are fixed, remove them from KNOWN_BROKEN in the test so the guard covers the whole file.