ant-design / ant-design/pro-components
๐ [้ๆฑ] How can we add custom theme Icon in SettingDrawer?
- 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
**๐ฉ Module or component**
**In SettingDrawer**
**๐ฅฐ Requirement Description**
I want to add a custom theme icon in the SettingDrawer to change the theme, like this.
n
In the picture above, there are three themes. I am trying to add a third custom theme in addition to the light and dark themes. How can I achieve this? I didn't find any such type of SettingDrawer props.
I'm using these versions
```json
"@ant-design/pro-layout": "7.19.11",
"antd": "^5.14.0",
```
Contributor guide
Research direction
Start with the SettingDrawer component and its props in @ant-design/pro-layout 7.19.11; inspect the existing theme controls and related documentation. Verify whether a third theme and custom icon can be configured, then document the supported approach or limitation with an example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100