Static ReadonlyBASEThe portal's base path.
Static ReadonlyBRAND_A REALM'S SIGN-IN APPEARANCE IN THE PORTAL (#717, rcbj's D4): the
brand header the runtime draws above the page (WebSurface.brandHeader()
from the shell's <html> facts, web_portal_runtime.ts's put()), and
what the realm's colours do to the tints themed() cannot name. Every
rule but the header's is under html[data-sts-layout], which a shell
carries only for a realm whose appearance differs from the service's, so
nowhere else does any of it apply; the :where() keeps each at the
specificity of the rule it overrides, so a more specific rule of the
portal's (.attr code) still wins.
portal/CLAUDE.md).color-mix()), so a dark card keeps them dark; a browser without
color-mix() keeps the literal, which is the old look.Static ReadonlyICONSThe icons a page draws, by name.
Static ReadonlyNAVThe navigation column: the sections, each with its pages.
Static ReadonlySTYLEThe stylesheet, one string, served as /portal/portal.css: the rules
as written, themed, and the realm's brand rules last (#717).
StaticescEscapes text for HTML.
anything
the escaped text
StaticnavEvery page in the column, in order.
the pages
StaticnavThe catalog slug of a portal page: its path after /portal, with /
as ., and overview for /portal itself.
the page's path
the slug
StaticpageThe Previous / Page n of m / Next control under a paged list.
the page's path
the page's own query parameters
the list's paging from its answer
the query parameter the list moves on
the translator
Optionalalways: boolean
true draws it for one page too
the HTML, '' for one page unless always
StaticqueryA query string from an object, empty values left out.
the parameters
?a=1&b=2, or ''
StaticthemedThe portal's stylesheet with every colour a realm may set read through
the custom property /web/theme.css sets (#717, common/branding.ts),
each falling back to the literal it replaces — so with no theme linked
(every realm that set nothing) the portal is drawn exactly as before.
web_card_css.ts's themed() is the card's; this is the portal's,
because its palette is its own (the portal's blue, #2c5cc5, is its
accent's fallback). The semantic colours — an error's red, a success's
green — and the mid greys stay literal: they mean the same on any card.
The order matters: the accent first, then the text on it.
the stylesheet as written
the same rules, each themable colour a custom property
The portal's rendering kit. A static utility class; it holds no state.