style: soften DocSearch keyboard shortcut styling#8291
Open
arechaithanya wants to merge 6 commits into
Open
Conversation
docs: update npm install syntax to modern usage
docs: improve explanation of why webpack is used
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
The failing E2E check appears unrelated to this styling change. The failure occurs in src/utilities/fetch-supporters.mjs while fetching supporters from the OpenCollective API (node.account is null), which is the same issue I encountered during local development. |
| /* doc search */ | ||
| :root { | ||
| --docsearch-primary-color: #1d78c1 !important; | ||
| --docsearch-key-color: rgb(148 163 184); |
Member
There was a problem hiding this comment.
could you change this to either rgba or hsla?
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.
Summary
This PR reduces the visual prominence of the DocSearch keyboard shortcut keys in the search bar.
The shortcut keys are styled to feel more like passive keyboard hints rather than clickable buttons, allowing the search input to remain the primary focus while preserving readability in both light and dark themes.
What kind of change does this PR introduce?
Did you add tests for your changes?
No. This change only updates the visual styling of the search shortcut.
Does this PR introduce a breaking change?
No.
If relevant, what needs to be documented?
No documentation changes are required.
Use of AI
AI was used to assist with brainstorming and reviewing styling approaches. All code changes were manually implemented, tested, and verified locally.