From adba14c06222816c459ddcb2ef5f98f1c07847b6 Mon Sep 17 00:00:00 2001 From: James Stanley Date: Tue, 16 Jan 2024 13:06:01 +0000 Subject: [PATCH] material: fix documentation of changing theme colours Signed-off-by: James Stanley --- widget/material/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/material/doc.go b/widget/material/doc.go index 4d2413d3..c44ec899 100644 --- a/widget/material/doc.go +++ b/widget/material/doc.go @@ -36,7 +36,7 @@ // Theme-global parameters: For changing the look of all widgets drawn with a // particular theme, adjust the `Theme` fields: // -// theme.Color.Primary = color.NRGBA{...} +// theme.Palette.Fg = color.NRGBA{...} // // Widget-local parameters: For changing the look of a particular widget, // adjust the widget specific theme object: