Skip to content

Commit 934d8c8

Browse files
committed
update docs
1 parent b942293 commit 934d8c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/content/docs/learn/badges.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import "image/color"
4141
// Create a badge service with custom options
4242
options := badge.Options{
4343
TextColour: color.RGBA{255, 255, 255, 255}, // White text
44-
BackgroundColour: color.RGBA{0, 0, 255, 255}, // Green background
44+
BackgroundColour: color.RGBA{0, 0, 255, 255}, // Blue background
4545
FontName: "consolab.ttf", // Bold Consolas font
4646
FontSize: 20, // Font size for single character
4747
SmallFontSize: 14, // Font size for multiple characters
@@ -173,7 +173,7 @@ badgeService.RemoveBadge()
173173
| Method | Description |
174174
|--------------------------------------------|-------------------------------------------------------|
175175
| `New()` | Creates a new badge service with default options |
176-
| `NewWithOptions(options Options)` | Creates a new badge service with custom option (Windows only, options are ignored on macOS) |
176+
| `NewWithOptions(options Options)` | Creates a new badge service with custom options (Windows only, options are ignored on macOS) |
177177

178178
### Badge Operations
179179
| Method | Description |

0 commit comments

Comments
 (0)