ant-design / ant-design/compatible

Customize Comment Background Color

Open
#159 1 comment 1 reaction 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.