ant-design / ant-design/pro-components

🐛[BUG] [DOCS] 文档中的代码块不支持深色模式

Open
#9,684 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述

文档代码块不支持深色模式。

### 📷 复现步骤

打开procomponet官网,点击页面上方导航栏的文档即可。

### 🏞 期望结果

代码块应该清晰可见,背景色应该一致

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境 firefox和
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Image

Contributor guide

Open the contributing guide

Research direction

Start at the ProComponents website's Docs entry from the top navigation and reproduce the code-block appearance in dark mode; README-zh_CN.md is linked only as the issue's question guide. Done means the documentation code blocks are clearly visible and their background is consistent in dark mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.