Repository navigation
docs: make in-content links readable as links - #60
Merged
Merged
Conversation
Links rendered in ink with a light-gray hairline underline, so in table key columns (Account and billing > What you manage) they looked like plain text. Use the accent color with an accent underline, as the main site's .prose a does: violet in light mode, lime in dark mode. Code inside a link now takes the link color instead of forced ink.
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.
Reader problem
In-content links used ink text with a light-gray hairline underline, so links in table key columns (e.g. Account and billing > What you manage: Organizations, API Keys, Billing and credits) were hard to tell apart from plain text.
Changes
.vitepress/theme/custom.css: doc links use--sb-accentwith a 45% accent underline (violet in light, lime in dark), matching the main site's.prose a; hover goes to--sb-accent-hover.codeinside a link inherits the link color (it was forced to ink).Verification
npm run validate: pass.