3c814b674f49f9a30d4b8d227e0fe7061a18766a braney Tue Sep 1 09:21:28 2026 -0700 registryPages: correlate the trackDb settings docs with the cart, refs #37908 #37838 Two files in the tree say which track types a setting applies to, and they were written from different evidence. trackDbLibrary.shtml carries a hand-written types list per setting, which is what #37908 has been correcting. cartTrackVarCatalog files each cart variable under the config function that reads it and records the trackDb types that function serves, which came from reading hui.c and the per-type Ui functions. Where a trackDb setting and a cart variable are the same knob, the two are answering the same question, so they can be compared. 60 of the 261 documented settings have a runtime override. 46 of those pairs are comparable, 12 agree exactly, and 28 have a type the config code serves that the docs do not list. The output is a candidate list, not a verdict, and the page says so. Two known false-positive shapes are called out on it: a variable read by two config functions collects the types of both, and a pair joined by tdbDefault rather than by name is weaker evidence, so those are reported separately. Also factors the palette and the shared reset out of venn.css and index.css into tokens.css, since a third page now needs them. diff --git src/hg/utils/registryPages/index.css src/hg/utils/registryPages/index.css index bf987926414..84df257b95f 100644 --- src/hg/utils/registryPages/index.css +++ src/hg/utils/registryPages/index.css @@ -1,42 +1,16 @@ -:root{ - color-scheme: light; - --bg:#f4f6f8; --panel:#ffffff; --ink:#131a20; --ink2:#4a5a66; --ink3:#7c8b95; - --rule:#dbe2e8; --rule2:#eaeff3; --chipbg:#eef2f5; --chiphov:#e0e7ec; - --track:#e87ba4; --url:#2a78d6; --file:#008300; --conf:#eda100; - --tipbg:#1b2429; --tipink:#eef3f6; --tipink2:#a9bcc6; --tipline:#33434c; - --display:"Archivo","Helvetica Neue",Arial,sans-serif; - --body:"IBM Plex Serif",Georgia,"Times New Roman",serif; - --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; -} -@media (prefers-color-scheme: dark){ - :root:not([data-theme="light"]){ - color-scheme: dark; - --bg:#171a1d; --panel:#1e2226; --ink:#e9edf1; --ink2:#a8b4bd; --ink3:#7b8891; - --rule:#2d353b; --rule2:#262d33; --chipbg:#242b31; --chiphov:#303941; - --track:#d55181; --url:#3987e5; --file:#008300; --conf:#c98500; - --tipbg:#0d1114; --tipink:#eef3f6; --tipink2:#9fb0ba; --tipline:#2a353c; - } -} -:root[data-theme="dark"]{ - color-scheme: dark; - --bg:#171a1d; --panel:#1e2226; --ink:#e9edf1; --ink2:#a8b4bd; --ink3:#7b8891; - --rule:#2d353b; --rule2:#262d33; --chipbg:#242b31; --chiphov:#303941; - --track:#d55181; --url:#3987e5; --file:#008300; --conf:#c98500; - --tipbg:#0d1114; --tipink:#eef3f6; --tipink2:#9fb0ba; --tipline:#2a353c; -} -*{box-sizing:border-box} +/* index.css - the name index page. Tokens come from tokens.css. */ body{background:var(--bg); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased} .wrap{max-width:1120px; margin:0 auto; padding:44px 24px 120px} .eyebrow{font-family:var(--mono); font-size:11.5px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--ink3); margin:0 0 14px} h1{font-family:var(--display); font-weight:700; font-size:clamp(32px,5vw,50px); line-height:1.05; letter-spacing:-0.02em; margin:0 0 16px; text-wrap:balance} .lede{max-width:64ch; margin:0 0 6px; color:var(--ink2); font-size:17.5px} .lede strong{color:var(--ink); font-weight:600} /* controls */ .controls{position:sticky; top:0; z-index:30; background:var(--bg); padding:16px 0 12px; border-bottom:1px solid var(--rule); margin:30px 0 34px} .searchrow{display:flex; gap:12px; align-items:center; flex-wrap:wrap}