Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
RfdLinkColorsVue component, which walks the rendered DOM after each navigation and addsrfd-link--{status}classes to any internal/rfd/NNN-hrefs it finds.Reference-pill badges in
RfdReferencesnow receive the same status class directly in the template, so they are styled on first render without a DOM pass.custom.cssis 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.