fix: use text color for list markers instead of accent color#17739
Open
sentry-junior[bot] wants to merge 1 commit into
Open
fix: use text color for list markers instead of accent color#17739sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
The ordered list markers (numbers) were styled with var(--accent), the same purple used for links, making them appear clickable when they are not. Switch to var(--gray-12) to match the surrounding body text.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
coolguyzone
added a commit
that referenced
this pull request
May 12, 2026
## Problem Ordered list numbers in doc pages are styled with `var(--accent)` — the same purple used for links — making them appear clickable when they aren't. Reported in [docs] User Feedback: Numbers appear clickable but are not. ## Fix Two changes to the `marker:` utilities on the doc page prose container in `src/components/docPage/index.tsx`: 1. **Color:** `marker:text-[var(--accent)]` → `marker:text-[var(--darkPurple)]` — matches h1/heading color 2. **Weight:** adds `marker:font-normal` — sets `font-weight: 400` to match the mockup design - **Light mode:** markers render in `#1F1633` (dark purple, same as headings) at weight 400 - **Dark mode:** `--darkPurple` is overridden to `var(--foreground)` via the `.dark` rule in `globals.css`, staying consistent with headings ## Alternative See also #17739 which uses `--gray-12` (body text color) instead. PR opened on behalf of @m1ch1. --------- Co-authored-by: getsentry-bot <bot@getsentry.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Alex Krawiec <coolguyzone@users.noreply.github.com> Co-authored-by: Alex Krawiec <alex.krawiec@sentry.io>
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.
Problem
Ordered list numbers in doc pages are styled with
var(--accent)— the same purple used for links — making them appear clickable when they aren't.Reported in [docs] User Feedback: Numbers appear clickable but are not.
Fix
Change
marker:text-[var(--accent)]→marker:text-[var(--gray-12)]in the doc page prose container so list markers use the regular body text color instead of the link/accent color.Before / After
--gray-12(matches body text)One-line change in
src/components/docPage/index.tsx.PR opened on behalf of @m1ch1.