docs: fix background color detection example in doc comment

This commit is contained in:
Christian Rocha 2026-08-04 09:30:02 -04:00
parent fc707bb7ea
commit d40db141fa

View file

@ -54,8 +54,8 @@ func (e ForegroundColorMsg) IsDark() bool {
// [BackgroundColorMsg.IsDark] to determine if the color is dark or light. For
// example:
//
// func (m Model) Init() (Model, Cmd) {
// return m, RequestBackgroundColor()
// func (m Model) Init() Cmd {
// return RequestBackgroundColor()
// }
//
// func (m Model) Update(msg Msg) (Model, Cmd) {