diff --git a/default/theme/assets/wintergreen.png b/default/theme/assets/wintergreen.png index 79989e1..76a14f9 100644 Binary files a/default/theme/assets/wintergreen.png and b/default/theme/assets/wintergreen.png differ diff --git a/default/theme/default.go b/default/theme/default.go index 6e0f123..5b946dd 100644 --- a/default/theme/default.go +++ b/default/theme/default.go @@ -199,12 +199,10 @@ func (Default) Pattern (id tomo.Pattern, state tomo.State, c tomo.Case) artist.P offset := 0; switch { case state.Disabled: offset = 1 case state.Pressed && state.On: offset = 4 - case state.Focused && state.On: offset = 7 - case state.Invalid && state.On: offset = 8 + case state.Focused && state.On: offset = 6 case state.On: offset = 2 case state.Pressed: offset = 3 case state.Focused: offset = 5 - case state.Invalid: offset = 6 } switch id { diff --git a/theme.go b/theme.go index 9b0bf0f..967e722 100644 --- a/theme.go +++ b/theme.go @@ -371,12 +371,6 @@ type State struct { // pattern is locked and cannot be interacted with. Disabled variations // of patterns are typically flattened and greyed-out. Disabled bool - - // Invalid should be set to true if th element that is using this - // pattern wants to warn the user of an invalid interaction or data - // entry. Invalid variations typically have some sort of reddish tint - // or outline. - Invalid bool } // FontStyle specifies stylistic alterations to a font face.