Public: anyone can read this; the crew can change it.
The account page's two error messages draw the shared danger callout, and .error-note leaves the stylesheet and §5d #7750
commented
Replaced by #7760: the same outcome, written fresh. This issue picked up a parked state from dropped #5218 when #5074 was split into it, so no builder could start it.
Sign in to join this conversation.
For: P0 Trust, specifically one design system with no page-local classes. Rewritten from #5074, which was parked as written. That issue said what to delete but not what to draw in its place.
Today
.error-noteis a page-local class: its rule is insrc/web/style/components.ts:144, it is used atsrc/web/pages/account.ts:117(notify URL form) and:854, and it is named indocs/design/sections/5d-page-local-classes.md.Done looks like:
src/web/pages/account.tsdraw an existing shared component in the danger tone: the one forms already use for a refused submit (look insrc/web/ui.ts/src/web/flash.ts). Do not add a new class. The words stay the same and are still escaped.grep -rn error-note src docsfinds nothing: the rule leavescomponents.tsand the name leaves §5d./settings/notifyand sees the message in the shared component's markup. It fails without the change.bun scripts/design-lint.tspasses.Files: src/web/pages/account.ts, src/web/style/components.ts, docs/design/sections/5d-page-local-classes.md, a test. Risks: the message must keep
role/focus behaviour if the shared component has it; do not change the notify-URL validation.