diff --git a/extend/custom-theme.md b/extend/custom-theme.md index bc3a8c92..6ed0c89c 100644 --- a/extend/custom-theme.md +++ b/extend/custom-theme.md @@ -24,6 +24,13 @@ To apply our theme changes we will first define a new type that that implements We start by defining a new type that will be our theme, a simple empty struct will do: ```go +import ( + "image/color" + + "fyne.io/fyne/v2" + "fyne.io/fyne/v2/theme" +) + type myTheme struct {} ```