Improvement: make the Ctrl + K shortcut less visually distracting

オープン 初心者向け
#8,254 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Jenil1105 がすでに取り組んでいます。

2026年5月25日 から。

  • #8255 @Jenil1105 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
64/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
css
領域
design, frontend

調査の方向性

issue にはファイルもテストも指定されていません。まずドキュメントサイトで検索バーとその Ctrl + K ショートカットのスタイルを見つけ、続いてコンポーネントをダークテーマとライトテーマの両方で比較してください。ショートカットが受動的なキーボードヒントとして表示され、視覚的な強調が抑えられ、検索入力の妨げにならずに見つけられる状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Have you used AI?

None

Description

The current styling of the Ctrl + K shortcut inside the search bar feels a bit too visually prominent.

At first glance, the shortcut keys look like clickable buttons rather than keyboard hints, which can be slightly confusing for new users. The contrast also draws more attention to the shortcut than the actual search input, making the search bar feel a bit distracting in both dark and light themes.

Attached screenshots for both dark and light themes below.

Image Image
Current behavior
  • Shortcut keys appear button-like
  • Visual emphasis is stronger than necessary
  • Attention gets pulled away from the search input itself
Possible improvement
  • Reduce the visual emphasis of the shortcut keys
  • Make them feel more like passive keyboard indicators
  • Use slightly lower contrast / flatter styling while keeping them discoverable

.
.
I’d be happy to work on this and open a PR for it.

主要言語
MDX
スター
2.3k
フォーク
3.4k
平均マージ
22時間 59分
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

webpack/webpack.js.org のほかの issue

webpack/webpack.js.org の issue をすべて見る

似ている issue

Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。