Reaction Custom Image
About 152 wordsLess than 1 minute
Replace the default reaction icons with custom images to give your repository a distinctive style.
Deprecated
reaction.bug.image has been deprecated in the latest version and is no longer supported. Please use the default reaction icon.
Use Cases
- Replace the default reaction icon with a project mascot or logo, matching the project theme for a more distinctive interaction experience
Configuration
Add the reaction configuration to .cnb/settings.yml:
.cnb/settings.yml
reaction:
bug:
image: .cnb/bug.gifParameter Reference
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.