Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions extend/custom-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
```

Expand Down