Conversation
The --shiki-dark-bg variable (e.g. #24292e from github-dark) was adding a visible background to code blocks in dark mode. haspar.us prod had transparent backgrounds — keep it that way.
Remove ~150 lines of CSS targeting old remark-shiki-twoslash markup (.code-container, .query, .error/.error-behind, .tag-container, .logger, .inline-completions) — none matched in built output. Delete ColorSchemeSelect.tsx — exported but never imported anywhere, replaced by command palette theme switching.
Replaces absolute positioning with CSS Anchor Positioning API so tooltips escape the pre's overflow clipping and center on the hovered token. Includes a fallback to flip above when near the bottom of the viewport.
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.
Uh oh!
There was an error while loading. Please reload this page.