ant-design / ant-design/pro-components
🧐[问题] ProLayout 的左侧菜单栏怎么设置Token 颜色,
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
components: {
Menu: {
itemSelectedBg:xx
...
},
},
设置并不生效,settings好像也只有"navTheme": "realDark",选中背景才会变色。如果想在theme弄,应该怎么设置呢

Contributor guide
Research direction
Start from the ProLayout menu configuration and the Menu token settings shown in the issue, then trace how settings and theme values reach the left navigation. Reproduce the configuration with itemSelectedBg and determine what change is needed for the selected background color to apply; done when the documented theme or settings configuration visibly changes it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100