Skip to content

docs(rfd): Color-code RFD links by status#623

Merged
JeanMertz merged 1 commit intomainfrom
prr191
May 8, 2026
Merged

docs(rfd): Color-code RFD links by status#623
JeanMertz merged 1 commit intomainfrom
prr191

Conversation

@JeanMertz
Copy link
Copy Markdown
Collaborator

RFD links within the documentation site now render in a status-coded color so readers can tell at a glance whether a referenced RFD is implemented, accepted, in discussion, superseded, or abandoned — without having to follow the link.

Two surfaces are covered:

  • Inline body links inside RFD pages are tagged by the new RfdLinkColors Vue component, which walks the rendered DOM after each navigation and adds rfd-link--{status} classes to any internal /rfd/NNN- hrefs it finds.

  • Reference-pill badges in RfdReferences now receive the same status class directly in the template, so they are styled on first render without a DOM pass.

custom.css is extended with color rules for all five statuses (light and dark mode), and the reference pills additionally get a matching tinted background that intensifies slightly on hover.

RFD links within the documentation site now render in a status-coded
color so readers can tell at a glance whether a referenced RFD is
implemented, accepted, in discussion, superseded, or abandoned — without
having to follow the link.

Two surfaces are covered:

- Inline body links inside RFD pages are tagged by the new
  `RfdLinkColors` Vue component, which walks the rendered DOM after each
  navigation and adds `rfd-link--{status}` classes to any internal
  `/rfd/NNN-` hrefs it finds.

- Reference-pill badges in `RfdReferences` now receive the same status
  class directly in the template, so they are styled on first render
  without a DOM pass.

`custom.css` is extended with color rules for all five statuses (light
and dark mode), and the reference pills additionally get a matching
tinted background that intensifies slightly on hover.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit 40ee71f into main May 8, 2026
13 checks passed
@JeanMertz JeanMertz deleted the prr191 branch May 8, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant