ant-design / ant-design/pro-components

👑 [需求]ProLayout的配置设置sider为false后能不能关闭theme.components.Menu的配置而使用antd自带的配置

Open
#8,360 0 comments 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

### 🥰 需求描述

关闭这个配置后使用antd自带的效果,这样SettingDrawer设置主题色后左侧菜单才会跟着变化
自己配置这些token太麻烦了

Contributor guide

Open the contributing guide

Research direction

Start by tracing ProLayout's sider=false handling and the theme.components.Menu configuration, then follow how SettingDrawer applies the theme color. The change is complete when disabling the sider also stops overriding Menu tokens and the left menu follows Ant Design's default theme behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.