diff --git a/internal/theme/theme.go b/internal/theme/theme.go index 214c7d8..2357c09 100644 --- a/internal/theme/theme.go +++ b/internal/theme/theme.go @@ -161,7 +161,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie { } -func (this *Theme) Color (c theme.Color) (r, g, b, a uint32) { +func (this *Theme) RGBA (c theme.Color) (r, g, b, a uint32) { if this.Colors == nil { return 0xFFFF, 0, 0xFFFF, 0xFFFF } color, ok := this.Colors[c] if !ok { return 0xFFFF, 0, 0xFFFF, 0xFFFF }