javascript-tutorial / javascript-tutorial/en.javascript.info

[Bug] `console.log` output styling in interaction blocks

オープン
#3,451 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
HTML
スター
25.5k
フォーク
4k
PR マージ指標
30日以内にマージされた PR はありません

説明

There's an issue with the styling configuration of the `console.log` output within the interaction blocks.

In light mode, the color of `var(--foregroundInverted)` is too similar to the background color, causing poor readability. This issue can be reproduced in the [Promise.any](https://javascript.info/promise-api#promise-any) example. Notably, this problem does not occur in dark mode.

image

Related issue: https://github.com/javascript-tutorial/zh.javascript.info/issues/1154

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

レポートにリンクされている Promise.any の例で問題を再現し、そのインタラクションブロック内の console.log 出力に注目してください。インタラクション出力のスタイル設定を確認し、ライトモードで前景色が読みやすく、ダークモードの外観は変わらないことを検証してください。

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

評価

技術スタック
javascript
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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