1# /design/, the style guide: built with the index, from the real tokens2# (every one style.css defines is listed, with its dark value) and the3# real controls from ui.njk.4. "$(dirname "$0")/../lib.sh"5export FORGE_STRICT=16build -7p=$FORGE_WWW/design/index.html8has "$p" '<b>design</b>'9for t in $(sed -n '/== tokens ==/,/== end tokens ==/p' "$T_HOME/site/assets/style.css" | grep -oE '^ --[a-z0-9-]+' | sort -u); do10 has "$p" "<td class=\"mono nowrap\">$t</td>"11done12has "$p" '<td class="mono nowrap">--bg</td><td class="v" title="#e9e9e9">#e9e9e9</td><td class="v dark" title="#08090b">#08090b</td>'13has "$p" 'class="icon-btn" aria-pressed="false" aria-label="only repos with a site"'14has "$p" '<label class="check"><input type="checkbox">wrap lines</label>'15has "$p" '<span class="status merged">merged</span>'16# A full build keeps it: it isn't an owner's directory to prune.17build18exists "$FORGE_WWW/design/index.html"