ant-design / ant-design/compatible
Customize Comment Background Color
- Dominant language
- TypeScript
- Stars
- 93
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
How do I customize the colorBgContainer style for the `compatible/Comment` component? I've tried many different guesses in the ConfigProvider theme property, including
```javascript
components: {
Comment: {
colorBgContainer: 'transparent',
},
}
```
as well as
```javascript
components: {
compatible: {
Comment: {
colorBgContainer: 'transparent',
},
},
}
```
and I can't get it to take. Documentation for theming compatible components is completely absent. Any help is appreciated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the compatible/Comment component and the ConfigProvider theme property first, then locate the documentation area for compatible components. Document the supported way to customize Comment's colorBgContainer, including the relevant theme configuration, and verify that the example matches the component's behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100