Skip to content

Commit

Permalink
add comments as reference to test lists of colors and variants
Browse files Browse the repository at this point in the history
  • Loading branch information
toaster committed Jun 9, 2024
1 parent ee7cd39 commit 40aaa22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/color.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fyne.io/fyne/v2"
)

// Keep in mind to add new constants to the tests at test/theme_test.go.
const (
// ColorRed is the red primary color name.
//
Expand Down
1 change: 1 addition & 0 deletions theme/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"fyne.io/fyne/v2/internal/cache"
)

// Keep in mind to add new constants to the tests at test/theme_test.go.
const (
// VariantDark is the version of a theme that satisfies a user preference for a dark look.
//
Expand Down

0 comments on commit 40aaa22

Please sign in to comment.