Compare commits

...

2 Commits

View File

@ -25,7 +25,7 @@ type Theme struct {
Rules map[theme.Role] Rule
// Colors maps theme.Color values to color.RGBA values.
Colors map[theme.Color] color.RGBA
Colors map[theme.Color] color.Color
// This type does not handle icons, and as such, a special icon theme
// must be separately specified.
@ -138,6 +138,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
this.execute(object, rule.Pressed...)
}
}
updateStyle()
return event.MultiCookie (
box.OnFocusEnter(updateStyle),