javascript-tutorial / javascript-tutorial/en.javascript.info
[Bug] `console.log` output styling in interaction blocks
未关闭
还没有人认领这个 Issue。
- 主要语言
- 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.
Related issue: https://github.com/javascript-tutorial/zh.javascript.info/issues/1154
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在报告中链接的 Promise.any 示例中重现该问题,重点关注其交互块中的 console.log 输出。检查交互输出的样式配置,并确认前景色在浅色模式下清晰可读,同时深色模式的外观保持不变。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100