Reaction Custom Image
About 182 wordsLess than 1 minute
Replace the default image in the reaction feature with a custom image that matches your repository's style.
Use Cases
- Replace the default reaction icon with a project mascot or logo
- Make repository interactions more distinctive and recognizable
- Match the visual style of your project theme
Configuration
Add the reaction configuration to .cnb/settings.yml:
.cnb/settings.yml
# Reaction custom image
reaction:
# Define the replacement image for the "bug" position of the reaction feature
# Only use images from the repository's default branch,
# provide a relative path from the repository root, e.g., .cnb/bug.gif
bug:
image: .cnb/bug.gifParameter Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
reaction.bug.image | string | - | Replacement image for the "bug" position in the reaction feature. Only supports images from the repository's default branch, using a relative path from the repository root |
Tips
Custom images only support files from the repository's default branch. Simply provide the relative path from the repository root.