Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿง[้—ฎ้ข˜ | question] How can we add custom theme Icon in SettingDrawer? #11341

Open
beeena opened this issue Sep 21, 2024 · 1 comment

Comments

@beeena
Copy link

beeena commented Sep 21, 2024

ๆ้—ฎๅ‰ๅ…ˆ็œ‹็œ‹๏ผš

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.
imagen

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

"@ant-design/pro-layout": "7.19.11",
"antd": "^5.14.0",
@lihong1232
Copy link

I suppose that Ant doesn't support this function .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants