mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
example/{kitchen,tabs,gophers}: update to use material.Palette
Update gioui.org/cmd while here. Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -224,7 +224,7 @@ func (b iconAndTextButton) Layout(gtx layout.Context) layout.Dimensions {
|
||||
layLabel := layout.Rigid(func(gtx C) D {
|
||||
return layout.Inset{Left: textIconSpacer}.Layout(gtx, func(gtx C) D {
|
||||
l := material.Body1(b.theme, b.word)
|
||||
l.Color = b.theme.Color.InvText
|
||||
l.Color = b.theme.Palette.ContrastFg
|
||||
return l.Layout(gtx)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user