Skip to content

docs: make in-content links readable as links - #60

Merged
liyangbing merged 1 commit into
mainfrom
codex/docs-link-contrast
Nov 13, 2026
Merged

liyangbing merged 1 commit into
mainfrom
codex/docs-link-contrast

Conversation

@liyangbing

Copy link
Copy Markdown
Contributor

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-accent with a 45% accent underline (violet in light, lime in dark), matching the main site's .prose a; hover goes to --sb-accent-hover.
  • Inline code inside a link inherits the link color (it was forced to ink).
  • Onboarding buttons, resource cards and the API reference keep their own styles.

Verification

  • npm run validate: pass.
  • Local screenshots, light and dark: admin/ table links, agents/ inline link and linked code.

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.
@liyangbing
liyangbing merged commit d2a09c8 into main Nov 13, 2026
1 check passed
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